| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
OpenThread state change callback structure. More...
#include <openthread.h>
Data Fields | |
| void(* | state_changed_cb )(otChangedFlags flags, struct openthread_context *ot_context, void *user_data) | 
| Callback for notifying configuration or state changes.  More... | |
| void * | user_data | 
| sys_snode_t | node | 
OpenThread state change callback structure.
OpenThread state change callback 
Used to register a callback in the callback list. As many callbacks as needed can be added as long as each of them are unique pointers of struct openthread_state_changed_cb. Beware such structure should not be allocated on stack.
| sys_snode_t openthread_state_changed_cb::node | 
Internally used field for list handling
| void(* openthread_state_changed_cb::state_changed_cb) (otChangedFlags flags, struct openthread_context *ot_context, void *user_data) | 
Callback for notifying configuration or state changes.
| flags | as per OpenThread otStateChangedCallback() aFlags parameter. See https://openthread.io/reference/group/api-instance#otstatechangedcallback | 
| ot_context | the OpenThread context the callback is registered with. | 
| user_data | Data to pass to the callback. | 
| void* openthread_state_changed_cb::user_data | 
User data if required