Zigbee Protocol Controller 1.6.0
zigpc_discovery.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
81#ifndef ZIGPC_DISCOVERY_H
82#define ZIGPC_DISCOVERY_H
83
84// Shared Unify includes
85#include <sl_status.h>
86
87// ZigPC includes
88#include <zigpc_common_zigbee.h>
89
90#ifdef __cplusplus
91extern "C" {
92#endif
93
104
114
121
128
141
149 const zigpc_discovery_status_callback_t callback);
150
158 const zigpc_discovery_status_callback_t callback);
159
160#ifdef __cplusplus
161}
162#endif
163
164#endif /* ZIGPC_DISCOVERY_H */
165
uint32_t sl_status_t
Definition: sl_status.h:139
uint64_t zigbee_eui64_uint_t
Zigbee Device Identifier (stored as integer)
Definition: zigpc_common_zigbee.h:199
zigpc_discovery_status
Discovery status types possible for a device being discovered.
Definition: zigpc_discovery.h:98
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.
enum zigpc_discovery_status zigpc_discovery_status_t
Discovery status types possible for a device being discovered.
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...
Definition: zigpc_discovery.h:112
int zigpc_discovery_fixt_shutdown(void)
Shutdown fixture for zigpc discovery component.
sl_status_t zigpc_discovery_fixt_setup(void)
Setup fixture for zigpc discovery component.
sl_status_t zigpc_discovery_remove_listener(const zigpc_discovery_status_callback_t callback)
Remove registered discovery listener.
sl_status_t zigpc_discovery_add_listener(const zigpc_discovery_status_callback_t callback)
Register listener to receive discovery status updates for all devices.
@ DISCOVERY_SUCCESS
Definition: zigpc_discovery.h:100
@ DISCOVERY_START
Definition: zigpc_discovery.h:99
@ DEVICE_DISCOVERY_FAIL
Definition: zigpc_discovery.h:101
@ ENDPOINT_DISCOVERY_FAIL
Definition: zigpc_discovery.h:102
SL Status Codes.