Zigbee Protocol Controller 1.6.0
zigpc_discovery.h File Reference
#include <sl_status.h>
#include <zigpc_common_zigbee.h>

Go to the source code of this file.

Typedefs

typedef enum zigpc_discovery_status zigpc_discovery_status_t
 Discovery status types possible for a device being discovered. More...
 
typedef void(* zigpc_discovery_status_callback_t) (zigbee_eui64_uint_t eui64, zigpc_discovery_status_t status)
 Device discovery callback function that can be registered to be notified of discovery success/failure per device. More...
 

Enumerations

enum  zigpc_discovery_status { DISCOVERY_START = 1 , DISCOVERY_SUCCESS , DEVICE_DISCOVERY_FAIL , ENDPOINT_DISCOVERY_FAIL }
 Discovery status types possible for a device being discovered. More...
 

Functions

sl_status_t zigpc_discovery_fixt_setup (void)
 Setup fixture for zigpc discovery component. More...
 
int zigpc_discovery_fixt_shutdown (void)
 Shutdown fixture for zigpc discovery component. More...
 
sl_status_t zigpc_discovery_interview_device (zigbee_eui64_uint_t eui64, const zigpc_discovery_status_callback_t callback)
 Begin the interview process for a Zigbee device on the network. More...
 
sl_status_t zigpc_discovery_add_listener (const zigpc_discovery_status_callback_t callback)
 Register listener to receive discovery status updates for all devices. More...
 
sl_status_t zigpc_discovery_remove_listener (const zigpc_discovery_status_callback_t callback)
 Remove registered discovery listener. More...