The collect module implements a hop-by-hop reliable data collection mechanism.
Channels
The collect module uses 2 channels; one for neighbor discovery and one for data packets.
|
file | collect.h |
| Header file for hop-by-hop reliable data collection
|
|
#define COLLECT_ANNOUNCEMENTS 1 |
#define COLLECT_ATTRIBUTES |
Value:
Definition: packetbuf.h:370
#define COLLECT_TTL_BITS
Definition: collect.h:79
#define COLLECT_HOPS_BITS
Definition: collect.h:85
#define PACKETBUF_ATTR_BIT
Definition: packetbuf.h:444
Definition: packetbuf.h:371
Definition: packetbuf.h:372
#define COLLECT_PACKET_ID_BITS
Definition: collect.h:73
Definition: packetbuf.h:363
#define COLLECT_MAX_REXMIT_BITS
Definition: collect.h:91
#define UNICAST_ATTRIBUTES
Definition: unicast.h:69
Definition: packetbuf.h:362
Definition: packetbuf.h:365
#define PACKETBUF_ADDRSIZE
Definition: packetbuf.h:446
Definition: packetbuf.h:379
#define COLLECT_HOPS_BITS 4 |
#define COLLECT_MAX_REXMIT_BITS 5 |
#define COLLECT_PACKET_ID_BITS 8 |
#define COLLECT_TTL_BITS 4 |
Enumerator |
---|
COLLECT_NO_ROUTER |
|
COLLECT_ROUTER |
|
void collect_print_stats |
( |
void |
| ) |
|
void collect_set_keepalive |
( |
struct collect_conn * |
c, |
|
|
clock_time_t |
period |
|
) |
| |
void collect_set_sink |
( |
struct collect_conn * |
c, |
|
|
int |
should_be_sink |
|
) |
| |