Zigbee Protocol Controller 1.6.0
ZigPC Discovery Internal API

Functions

sl_status_t zigpc_discovery_partial_interview_endpoint (zigbee_eui64_uint_t eui64, zigbee_endpoint_id_t endpoint_id)
 Begin partial interview process for a Zigbee device endpoint on the network. This function is used internally to transition from requesting cluster discovery from endpoint discovery response. More...
 
void zigpc_discovery_on_device_discovered (void *data)
 Callback registered with zigpc_gateway to receive device discover response messages. This function will create a zigpc_discovery::events::DeviceDiscoverResponse event to be processed within zigpc_discovery. More...
 
void zigpc_discovery_on_endpoint_discovered (void *data)
 Callback registered with zigpc_gateway to receive endpoint discover response messages. This function will create a zigpc_discovery::events::EndpointDiscoverResponse event to be processed within zigpc_discovery. More...
 
sl_status_t zigpc_discovery_register_gateway_callbacks (void)
 Setup callbacks to receive messages from zigpc_gateway. More...
 

Detailed Description

Function Documentation

◆ zigpc_discovery_on_device_discovered()

void zigpc_discovery_on_device_discovered ( void *  data)

Callback registered with zigpc_gateway to receive device discover response messages. This function will create a zigpc_discovery::events::DeviceDiscoverResponse event to be processed within zigpc_discovery.

NOTE: This function is only used internally.

Parameters
dataDevice discovery information sent from zigpc_gateway.

◆ zigpc_discovery_on_endpoint_discovered()

void zigpc_discovery_on_endpoint_discovered ( void *  data)

Callback registered with zigpc_gateway to receive endpoint discover response messages. This function will create a zigpc_discovery::events::EndpointDiscoverResponse event to be processed within zigpc_discovery.

NOTE: This function is only used internally.

Parameters
dataEndpoint discovery information sent from zigpc_gateway.

◆ zigpc_discovery_partial_interview_endpoint()

sl_status_t zigpc_discovery_partial_interview_endpoint ( zigbee_eui64_uint_t  eui64,
zigbee_endpoint_id_t  endpoint_id 
)

Begin partial interview process for a Zigbee device endpoint on the network. This function is used internally to transition from requesting cluster discovery from endpoint discovery response.

This function will kick-off the process to find:

  • Client and server clusters active per Zigbee device endpoint

NOTE: This will be called as part of the zigpc_discoveryerview_endpoint behaviour.

NOTE: This function is only used internally.

Parameters
eui64Device identifier.
endpoint_idEndpoint identifier.
Returns
sl_status_t SL_STATUS_OK on accepted request, error otherise.

◆ zigpc_discovery_register_gateway_callbacks()

sl_status_t zigpc_discovery_register_gateway_callbacks ( void  )

Setup callbacks to receive messages from zigpc_gateway.

Returns
sl_status_t SL_STATUS_OK, or error otherwise.