This is responsible for starting and notify discovery of a Zigbee device on the network. The currently supported messages are as follows:
More...
This is responsible for starting and notify discovery of a Zigbee device on the network. The currently supported messages are as follows:
ActiveEndpoint Resquest + Response: For device's endpoint information
SimpleDescriptor Request + Response: For Endpoint's cluster information
The following diagram shows the expected behavior for controllers and listeners:
◆ zigpc_discovery_status_callback_t
Device discovery callback function that can be registered to be notified of discovery success/failure per device.
Parameters
eui64 Device identifier.
status Discovery status.
◆ zigpc_discovery_status_t
Discovery status types possible for a device being discovered.
◆ zigpc_discovery_status
Discovery status types possible for a device being discovered.
Enumerator DISCOVERY_START
DISCOVERY_SUCCESS
DEVICE_DISCOVERY_FAIL
ENDPOINT_DISCOVERY_FAIL
◆ zigpc_discovery_add_listener()
Register listener to receive discovery status updates for all devices.
Parameters
callback Reference to callback to register.
Returns sl_status_t SL_STATUS_OK on add success, error otherwise.
◆ zigpc_discovery_fixt_setup()
Setup fixture for zigpc discovery component.
Returns sl_status_t SL_STATUS_OK on success, error otherwise.
◆ zigpc_discovery_fixt_shutdown()
int zigpc_discovery_fixt_shutdown
(
void
)
Shutdown fixture for zigpc discovery component.
Returns int 0 on success, error otherwise.
◆ zigpc_discovery_interview_device()
Begin the interview process for a Zigbee device on the network.
This function will kick-off the process to find:
Endpoints active on a Zigbee device
Client and server clusters active per Zigbee device endpoint
Parameters
Returns sl_status_t SL_STATUS_OK on accepted request, error otherise.
◆ zigpc_discovery_remove_listener()
Remove registered discovery listener.
Parameters
callback Reference to callback to register.
Returns sl_status_t SL_STATUS_OK on successful removal, error otherwise.