Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
The variable names are taken directly from RFC 6206 when applicable. More...
#include <trickle.h>
Data Fields | |
uint32_t | I |
Current interval size. | |
uint32_t | Imin |
Min interval size in ms. | |
uint32_t | Istart |
Start of the interval in ms. | |
uint32_t | Imax_abs |
Max interval size in ms (not doublings) | |
uint8_t | Imax |
Max number of doublings. | |
uint8_t | k |
Redundancy constant. | |
uint8_t | c |
Consistency counter. | |
bool | double_to |
Flag telling if the internval is doubled. | |
struct k_work_delayable | timer |
Internal timer struct. | |
net_trickle_cb_t | cb |
Callback to be called when timer expires. | |
void * | user_data |
User specific opaque data. | |
The variable names are taken directly from RFC 6206 when applicable.
Note that the struct members should not be accessed directly but only via the Trickle API.
uint8_t net_trickle::c |
Consistency counter.
net_trickle_cb_t net_trickle::cb |
Callback to be called when timer expires.
bool net_trickle::double_to |
Flag telling if the internval is doubled.
uint32_t net_trickle::I |
Current interval size.
uint8_t net_trickle::Imax |
Max number of doublings.
uint32_t net_trickle::Imax_abs |
Max interval size in ms (not doublings)
uint32_t net_trickle::Imin |
Min interval size in ms.
uint32_t net_trickle::Istart |
Start of the interval in ms.
uint8_t net_trickle::k |
Redundancy constant.
struct k_work_delayable net_trickle::timer |
Internal timer struct.
void* net_trickle::user_data |
User specific opaque data.