Use of operatingState for device instance - where/how is it used? #260
Unanswered
MarkVerheyen-eaton
asked this question in
Q&A
Replies: 1 comment
-
@MarkVerheyen-eaton yes, the Device Service has the responsibility to update OperatingState, so SDK provides the internal API to achieve that. However, we don't have a good example from the current reference implementation in the open source community.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The device instance has an operatingState field of "Up", "Down", and "Unknown" which would correlate with the present status of the typically southbound device. The question I have is (for example): If the device fails to respond to X requests then the device should be PATCHED in core-meta-data to indicate that the device is "Down". What service is responsible for updating the operatingState? Is it the device service or the application using the device service? In other words: Does the device service change the device instance state on communication failure or is it the responsibility of something else in the system to change the state?
Are there any good examples of using the operatingState?
Beta Was this translation helpful? Give feedback.
All reactions