![]() |
Contiki-NG
|
CoAP timer implementation. More...
Go to the source code of this file.
Functions | |
| void | coap_timer_stop (coap_timer_t *timer) |
| Stop a pending CoAP timer. | |
| void | coap_timer_set (coap_timer_t *timer, uint64_t time) |
| Set a CoAP timer to expire after the specified time. | |
| void | coap_timer_reset (coap_timer_t *timer, uint64_t time) |
| Reset a CoAP timer to expire a specified time after the last expiration time. | |
| uint64_t | coap_timer_time_to_next_expiration (void) |
| Get the time until next CoAP timer expires or 0 if there already exists expired timers that have not yet been processed. | |
| int | coap_timer_run (void) |
| This function must be called periodically by the CoAP timer driver to process any expired CoAP timers. | |
| void | coap_timer_init (void) |
| This function initializes the CoAP timer library. | |
CoAP timer implementation.
Definition in file coap-timer.c.