24#ifndef ZIGPC_DISCOVERY_TIMERS_HPP
25#define ZIGPC_DISCOVERY_TIMERS_HPP
28#include <unordered_map>
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
enum zigpc_discovery_status zigpc_discovery_status_t
Discovery status types possible for a device being discovered.
Definition: zigpc_discovery_timers.hpp:40
std::function< void(zigbee_eui64_uint_t, zigpc_discovery_status_t)> callback_t
Callback type used to notify timeout events.
Definition: zigpc_discovery_timers.hpp:46
sl_status_t create(zigbee_eui64_uint_t eui64, clock_time_t duration_ms, zigpc_discovery_status_t timeout_status, const callback_t &timeout_cb)
Create a callback timer.
void clear(void)
Clear all timers.
sl_status_t remove(zigbee_eui64_uint_t eui64)
Remove a created callback timer.