Zigbee Protocol Controller 1.6.0
zigpc_gateway_notify.h File Reference

Go to the source code of this file.

Classes

struct  zigpc_gateway_on_network_init
 Event data passed after successful Gateway network initialization. More...
 
struct  zigpc_gateway_on_node_add
 Event data passed after successful node addition to the Gateway network. More...
 
struct  zigpc_gateway_on_node_removed_t
 Event data passed when receiving node removal complete event. More...
 
struct  zigpc_gateway_on_node_discovered_t
 Event data passed when receiving count of endpoint discovery events to wait for a particular node on the network. More...
 
struct  zigpc_gateway_on_node_endpoint_discovered_t
 Event data passed when receiving cluster information for a probed endpoint in a node on the network. More...
 
struct  zigpc_gateway_on_attribute_reported_t
 
struct  zigpc_gateway_on_read_attribute_response_t
 Event data passed when receiving a ZCL global read attributes response from a device on the network. More...
 
struct  zigpc_gateway_on_command_received_t
 Event data passed when receiving a ZCL cluster command payload from a device on the network. More...
 
struct  zigpc_gateway_on_ota_started_t
 Event data passed when receiving an OTA update started message for a device. More...
 
struct  zigpc_gateway_on_ota_completed_t
 Event data passed when receiving an OTA update complete message for a device. More...
 
struct  zigpc_gateway_on_bind_unbind_reponse_t
 

Typedefs

typedef struct zigpc_gateway_on_network_init zigpc_gateway_on_network_init_t
 Event data passed after successful Gateway network initialization. More...
 
typedef struct zigpc_gateway_on_node_add zigpc_gateway_on_node_add_t
 Event data passed after successful node addition to the Gateway network. More...
 

Enumerations

enum  zigpc_gateway_notify_event {
  ZIGPC_GATEWAY_NOTIFY_NETWORK_INIT = 0 , ZIGPC_GATEWAY_NOTIFY_NODE_ADD_START , ZIGPC_GATEWAY_NOTIFY_NODE_ADD_COMPLETE , ZIGPC_GATEWAY_NOTIFY_NODE_REMOVED ,
  ZIGPC_GATEWAY_NOTIFY_NODE_DISCOVERED , ZIGPC_GATEWAY_NOTIFY_NODE_ENDPOINT_DISCOVERED , ZIGPC_GATEWAY_NOTIFY_REPORTED_ATTRIBUTE , ZIGPC_GATEWAY_NOTIFY_READ_ATTRIBUTE_RESPONSE ,
  ZIGPC_GATEWAY_NOTIFY_CONFIGURE_REPORTING_RESPONSE , ZIGPC_GATEWAY_NOTIFY_ZCL_COMMAND_RECEIVED , ZIGPC_GATEWAY_NOTIFY_OTA_UPDATE_STARTED , ZIGPC_GATEWAY_NOTIFY_OTA_UPDATE_COMPLETED ,
  ZIGPC_GATEWAY_NOTIFY_BIND_UNBIND_RESPONSE , ZIGPC_GATEWAY_NOTIFY_MAX
}
 The following are the types of events dispatched to observers of zigpc_gateway. More...
 

Functions

sl_status_t zigpc_gateway_register_observer (enum zigpc_gateway_notify_event event, zigpc_observer_callback_t callback)
 Register an observer to be informed of ZigbeeHost updates. If the observer is already registered, nothing will be done. More...
 
sl_status_t zigpc_gateway_unregister_observer (enum zigpc_gateway_notify_event event, zigpc_observer_callback_t callback)
 Unregister an observer from ZigbeeHost updates. If the observer is not found, nothing will be done. More...