57 #include <openthread/config.h> 73 #define OT_STACK_EVENT_NWK_NOT_JOINED 0x01 74 #define OT_STACK_EVENT_NWK_JOIN_IN_PROGRESS 0x02 75 #define OT_STACK_EVENT_NWK_JOINED 0x03 76 #define OT_STACK_EVENT_NWK_JOINED_FAILURE 0x04 77 #define OT_STACK_EVENT_NWK_DATA_CHANGED 0x05 78 #define OT_STACK_EVENT_DEV_ROLE_CHANGED 0x06 bool OtStack_setupNetwork(void)
Allows the application to setup the thread network(thread protocol operation) after the device has su...
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:246
uint8_t OtStack_joinState(void)
Returns the current network join event of the OpenThread stack.
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:214
void OtStack_registerCallback(OtStack_EventsCallback_t appCB)
Allows the application to register callback for ot stack events.
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:208
void(* OtStack_EventsCallback_t)(uint8_t event, void *aContext)
Definition: CC1352R1_LAUNCHXL/thread/cli_ftd/otstack.h:64
bool OtStack_setupInterfaceAndNetwork(void)
Allows the application to attempt to bring up the interface and setup the thread network (thread prot...
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:266
void handleNetifStateChanged(uint32_t aFlags, void *aContext)
Callback function registered with the netif.
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:188
void OtStack_joinConfiguredNetwork(void)
Allows the application to start the network join process via the commissioner using the pre-configure...
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:233
void OtStack_joinNetwork(const char *pskd)
Allows the application to start the network join process via the commissioner.
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:220