-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[ICD] Implement client-side Unsolicited Message handler for check-in messages #28232
Comments
you can consider to take ICDClientStorage.hwhen you init your checkin handler, then implement CHIP_ERROR DefaultICDClientStorage::ProcessCheckInPayload(const ByteSpan & payload, ICDClientInfo & clientInfo) in this callback function, it would do nouce validation via CheckinMessage::ParseCheckinMessagePayload, then check against counter, if counter is out of range, just ask service or locally in our case to refresh key, then further notify to restart subscription. |
Description
Controllers need to register an UnsolicitedMessageHandler to be able to receive, process check-in message sent by ICDs, and refresh key as needed.
The text was updated successfully, but these errors were encountered: