Zigbee Protocol Controller 1.6.0
zigpc_discovery_timers.hpp File Reference
#include <functional>
#include <unordered_map>
#include <sys/ctimer.h>
#include <zigpc_common_zigbee.h>
#include "zigpc_discovery.h"

Go to the source code of this file.

Namespaces

namespace  zigpc_discovery
 
namespace  zigpc_discovery::timers
 

Typedefs

using zigpc_discovery::timers::callback_t = std::function< void(zigbee_eui64_uint_t, zigpc_discovery_status_t)>
 Callback type used to notify timeout events. More...
 

Functions

void zigpc_discovery::timers::clear (void)
 Clear all timers. More...
 
sl_status_t zigpc_discovery::timers::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. More...
 
sl_status_t zigpc_discovery::timers::remove (zigbee_eui64_uint_t eui64)
 Remove a created callback timer. More...