Open randomdudebunchofnumbers opened 2 weeks ago
Thanks for the suggestion!
As discussed: Another aspect is also how to register a remote device and have the stack verify that the SHIP ID is properly submitted in the SHIP handshake, instead of having the app to do it.
See this post in Discussions
Some of the methods in ServiceInterface return structures or pointer to structures which encapsulate the corresponding data. This is because the implementation just passes the various interfaces of ship-go to the service interface and the corresponding ship-go implementations are designed to be thread-safe. This current implementation violates the idea of having an interface specifically designed to separate the user level from the technical (EEBus) level. Furthermore, the encapsulation prohibits the data from being convertible into JSON or any other format in a generic manner.
I'd like to propose a data struct called
ServiceItem
with the following items:ServiceItem
should be available via an API method and there should also be a corresponding callback inServiceReaderInterface
.