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

Functions

zb_uint8_t * tr_zcl_external_attribute_read_cb (zb_uint8_t endpoint, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id, zb_uint16_t manuf_code)
 Callback that the user can declare to handle external attribute storage.
 
void tr_app_init_cb (void)
 Callback that fires when ZBOSS framework (scheduler, buffer pool, etc.) has started, but no join / rejoin / formation / BDB initialization has been done yet.
 
void tr_connection_state_cb (tr_conn_state_e conn_state)
 Callback that fires when network connection state changes.
 
zb_bool_t tr_eui64_user_override_cb (zb_uint8_t *eui64)
 Callback that can be defined in the user application to set the EUI64.
 

Detailed Description



Function Documentation

◆ tr_app_init_cb()

void tr_app_init_cb ( void )

Callback that fires when ZBOSS framework (scheduler, buffer pool, etc.) has started, but no join / rejoin / formation / BDB initialization has been done yet.

◆ tr_connection_state_cb()

void tr_connection_state_cb ( tr_conn_state_e conn_state)

Callback that fires when network connection state changes.

Parameters
conn_stateconnection state defined in typedef enum tr_conn_state_e

◆ tr_eui64_user_override_cb()

zb_bool_t tr_eui64_user_override_cb ( zb_uint8_t * eui64)

Callback that can be defined in the user application to set the EUI64.

Parameters
eui64pointer to 8 byte buffer that contains the user EUI64
Returns
ZB_TRUE to override the eui64, ZB_FALSE to ignore this callback

◆ tr_zcl_external_attribute_read_cb()

zb_uint8_t * tr_zcl_external_attribute_read_cb ( zb_uint8_t endpoint,
zb_uint16_t cluster_id,
zb_uint8_t cluster_role,
zb_uint16_t attr_id,
zb_uint16_t manuf_code )

Callback that the user can declare to handle external attribute storage.

Parameters
endpoint
cluster_id
cluster_role
attr_id
manuf_code
Returns
pointer to data if it is handled by the application, NULL otherwise