24#ifndef ZIGPC_DISCOVERY_EVENTS_HPP
25#define ZIGPC_DISCOVERY_EVENTS_HPP
Definition: zigpc_discovery_events.hpp:56
zigbee_eui64_uint_t eui64
Definition: zigpc_discovery_events.hpp:58
~DeviceDiscoverRequest() override=default
DeviceDiscoverRequest(zigbee_eui64_uint_t eui64)
sl_status_t handle(void) override
Definition: zigpc_discovery_events.hpp:69
std::vector< zigbee_endpoint_id_t > endpoints
Definition: zigpc_discovery_events.hpp:72
~DeviceDiscoverResponse() override=default
DeviceDiscoverResponse(zigbee_eui64_uint_t eui64, std::vector< zigbee_endpoint_id_t > &&endpoints)
sl_status_t handle(void) override
zigbee_eui64_uint_t eui64
Definition: zigpc_discovery_events.hpp:71
Definition: zigpc_discovery_events.hpp:47
DiscoverEvent(const char *label)
Definition: zigpc_discovery_events.hpp:50
virtual sl_status_t handle(void)=0
const char * label
Definition: zigpc_discovery_events.hpp:49
virtual ~DiscoverEvent()=default
Definition: zigpc_discovery_events.hpp:84
EndpointDiscoverRequest(zigbee_eui64_uint_t eui64, zigbee_endpoint_id_t endpoint_id)
zigbee_endpoint_id_t endpoint_id
Definition: zigpc_discovery_events.hpp:87
sl_status_t handle(void) override
zigbee_eui64_uint_t eui64
Definition: zigpc_discovery_events.hpp:86
~EndpointDiscoverRequest() override=default
Definition: zigpc_discovery_events.hpp:99
EndpointDiscoverResponse(zigbee_eui64_uint_t eui64, zigbee_endpoint_id_t endpoint_id, std::vector< zcl_cluster_id_t > &&server_clusters, std::vector< zcl_cluster_id_t > &&client_clusters)
zigbee_endpoint_id_t endpoint_id
Definition: zigpc_discovery_events.hpp:102
sl_status_t handle(void) override
zigbee_eui64_uint_t eui64
Definition: zigpc_discovery_events.hpp:101
std::vector< zcl_cluster_id_t > server_clusters
Definition: zigpc_discovery_events.hpp:103
std::vector< zcl_cluster_id_t > client_clusters
Definition: zigpc_discovery_events.hpp:104
~EndpointDiscoverResponse() override=default
#define CLOCK_SECOND
Definition: clock.h:131
uint64_t zigbee_eui64_uint_t
Zigbee Device Identifier (stored as integer)
Definition: zigpc_common_zigbee.h:199
uint8_t zigbee_endpoint_id_t
A representation of the endpoint id used on the Zigbee protocol.
Definition: zigpc_common_zigbee.h:248
enum zigpc_discovery_status zigpc_discovery_status_t
Discovery status types possible for a device being discovered.
Definition: zigpc_discovery_events.hpp:40
constexpr clock_time_t DISCOVERY_REQUEST_TIMEOUT
Definition: zigpc_discovery_events.hpp:41
void on_request_timeout(zigbee_eui64_uint_t eui64, zigpc_discovery_status_t timeout_status)