You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the public methods arguments require an argument entity spineapi.EntityRemoteInterface to specify which entity of which remote device is meant. This can not be used / represented via JSON.
To make this work, the idea would be to use an SPINE model.EntityAddressType similar data type. The SPINE data definition is:
This can be easily represented in JSON and also used to get the corresponding entity spineapi.EntityRemoteInterface which is needed to invoke the functions. The data structure can also be easily created in the callback functions from an entity spineapi.EntityRemoteInterface data type using a generic helper method.
The text was updated successfully, but these errors were encountered:
This wouldn't be enough, as each exported method needs to have a second pointer variable for the response. Which in turn would change how everything works.
Right now the public methods arguments require an argument
entity spineapi.EntityRemoteInterface
to specify which entity of which remote device is meant. This can not be used / represented via JSON.To make this work, the idea would be to use an SPINE
model.EntityAddressType
similar data type. The SPINE data definition is:A compatible and easier to use data type would be:
This can be easily represented in JSON and also used to get the corresponding
entity spineapi.EntityRemoteInterface
which is needed to invoke the functions. The data structure can also be easily created in the callback functions from anentity spineapi.EntityRemoteInterface
data type using a generic helper method.The text was updated successfully, but these errors were encountered: