How to get use cases datas from remote device #180
SmartlabEnedis
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi, why are you trying to send a usecase reply request? The stack already handles requesting and replying to usecase requests. There is no need to do this yourself. Check this code to figure out if a remote device claims supports a usecase: https://github.com/enbility/eebus-go/blob/dev/usecases/usecase/usecase.go |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
We implemented a software compliant with OPEV test case using eebus-go.
The software communicates with EVBox Livo wallbox or Mennekes Amtron.
When the software is connected with the EVSE the use cases datas are read from remote device (with nodeManagementUseCaseData function) without any request from our software.
I want to get use cases datas information in an object compliant with NodeManagementUseCaseDataType (defined in spine-go model).
I managed to send the request through remote service using sender interface and Request() method but i don't know how to process the received message. I tried to use ProcessCmd() from local device interface but it doesn't work as expected.
Here is a sample of the method reading use cases informations :
Is it possible to retreive the use cases information ? From a general perspective, what is right way to read a specific function from the eebus model and how can we get the datas associated with the function in the corresponding object ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions