-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitoring device connection state changes #109
Comments
Being able to properly detect that a device is offline is something I looked at briefly in the past, but I could not find an appropriate API in the Matter SDK to do so. More specifically: What I'd like to do is: Issue though is that there does not seem to be a way to set a callback for these reports at MaxIntervalCeiling. These reports are sent at MaxIntervalCeiling when there was no state change, and the callbacks I know of are only invoked when attributes data change. If anyone has any idea, please chip in! |
@pierredelisle Besides manually updating the device's online status based on whether we can successfully exchange the
deviceId
/nodeId
for theconnectedDevicePointer
viagetConnectedDevicePointer(nodeId: Long)
,Is there another way to monitor the device connection state that can pass as the device's online status in the App?
For instance, by subscribing to state change messages that can be received when the device has established/re-established a connection with the controller or has lost that connection.
The text was updated successfully, but these errors were encountered: