Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
Application Framework API Reference
+ Collaboration diagram for Application Framework API Reference:

Functions

void tr_af_init (void)
 Initialize Trident application framework.
 
tr_conn_state_e tr_get_connection_state (void)
 Function for getting the last known connection state of the device. Optional callback tr_connection_state_cb() is fired when state changes.
 
void tr_network_rejoin (zb_uint32_t channel_mask, zb_bool_t secure)
 Function for initiating network rejoin attempts.
 

Detailed Description



Function Documentation

◆ tr_af_init()

void tr_af_init ( void )

Initialize Trident application framework.

◆ tr_get_connection_state()

tr_conn_state_e tr_get_connection_state ( void )

Function for getting the last known connection state of the device. Optional callback tr_connection_state_cb() is fired when state changes.

Returns
Last known connection state passed into tr_connection_state_cb()

◆ tr_network_rejoin()

void tr_network_rejoin ( zb_uint32_t channel_mask,
zb_bool_t secure )

Function for initiating network rejoin attempts.

Parameters
channel_maskchannel mask used for the rejoin
securetrue for secure rejoin, false for trust center (unsecure) rejoin