Zigbee Protocol Controller 1.6.0
zigpc_binding_response.h File Reference

Go to the source code of this file.

Functions

void zigpc_binding_bind_unbind_callback (void *data)
 zigpc_binding_bind_unbind_callback A callback used on the reception of a binding or unbinding command. Contains the raw information from the gateway More...
 
sl_status_t zigpc_binding_handle_bind_unbind_reponse (const zigbee_binding_t binding, bool is_bind_response, uint8_t zdo_status)
 zigpc_binding_handle_bind_unbind_reponse Handle a response from a binding/binding command. Handles the parsed response after being processed More...
 
sl_status_t zigpc_binding_remove_binding (const zigbee_binding_t binding)
 
sl_status_t zigpc_binding_add_binding (const zigbee_binding_t binding)
 

Function Documentation

◆ zigpc_binding_add_binding()

sl_status_t zigpc_binding_add_binding ( const zigbee_binding_t  binding)

◆ zigpc_binding_bind_unbind_callback()

void zigpc_binding_bind_unbind_callback ( void *  data)

zigpc_binding_bind_unbind_callback A callback used on the reception of a binding or unbinding command. Contains the raw information from the gateway

Parameters
data- a pointer to the event data containing the binding information Note, this function should free any memory assigned to data

◆ zigpc_binding_handle_bind_unbind_reponse()

sl_status_t zigpc_binding_handle_bind_unbind_reponse ( const zigbee_binding_t  binding,
bool  is_bind_response,
uint8_t  zdo_status 
)

zigpc_binding_handle_bind_unbind_reponse Handle a response from a binding/binding command. Handles the parsed response after being processed

Parameters
binding- the binding information
is_bind_response- a boolean representing if a binding (true) or unbinding (false) response
zdo_status- the ZDO status contained in the response
Returns
SL_STATUS_OK if able to properly handle the response, SL_STATUS_FAIL if something went wrong in parsing the binding or if the binding request itself failed in some way

◆ zigpc_binding_remove_binding()

sl_status_t zigpc_binding_remove_binding ( const zigbee_binding_t  binding)