Zigbee Protocol Controller 1.6.0
|
Typedefs | |
using | callback_t = std::function< void(zigbee_eui64_uint_t, zigpc_discovery_status_t)> |
Callback type used to notify timeout events. More... | |
Functions | |
void | clear (void) |
Clear all timers. More... | |
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. More... | |
sl_status_t | remove (zigbee_eui64_uint_t eui64) |
Remove a created callback timer. More... | |
using zigpc_discovery::timers::callback_t = typedef std::function<void(zigbee_eui64_uint_t, zigpc_discovery_status_t)> |
Callback type used to notify timeout events.
void zigpc_discovery::timers::clear | ( | void | ) |
Clear all timers.
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.
eui64 | Device identifier. |
duration_ms | Duration to set timer. |
timeout_status | Status to send on timer expiry. |
timeout_cb | Callback to invoke on timer expiry. |
sl_status_t zigpc_discovery::timers::remove | ( | zigbee_eui64_uint_t | eui64 | ) |
Remove a created callback timer.
eui64 | Device identifier. |