-
Hello Everyone, I am developing thread based device (freeRTOS project) which connect to thread network. I have configured Sleepy End Device now I have one question, where is the callback after wakeup or poll period is over ? I have to check is there any network Data update every wakeup/poll period is over so that if any changes then I have to re-register the SRP (border router). I am using nordic SDK Thread and Zigbee and Nrf52840 DK. Thanks in advance Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
OpenThread's SRP Client implementation should automatically track updates to the list of SRP Servers advertised in the Thread Network Data and react accordingly: openthread/src/core/net/srp_client.cpp Line 421 in b66d521 If your application code really requires handling OpenThread state changes, you can register a callback using otSetStateChangedCallback(). |
Beta Was this translation helpful? Give feedback.
OpenThread's SRP Client implementation should automatically track updates to the list of SRP Servers advertised in the Thread Network Data and react accordingly:
openthread/src/core/net/srp_client.cpp
Line 421 in b66d521
If your application code really requires handling OpenThread state changes, you can register a callback using otSetStateChangedCallback().