Contiki 2.6

collect-link-estimate.h File Reference

Header file for the Collect link estimate. More...

Go to the source code of this file.

Functions

void collect_link_estimate_new (struct collect_link_estimate *le)
 Initialize a new link estimate.
void collect_link_estimate_update_tx (struct collect_link_estimate *le, uint8_t num_tx)
 Update a link estimate when a packet has been sent.
void collect_link_estimate_update_tx_fail (struct collect_link_estimate *le, uint8_t num_tx)
 Update a link estimate when a packet has failed to be sent.
void collect_link_estimate_update_rx (struct collect_link_estimate *le)
 Update a link estimate when a packet has been received.
uint16_t collect_link_estimate (struct collect_link_estimate *le)
 Compute the link estimate metric for a link estimate.

Detailed Description

Header file for the Collect link estimate.

Author:
Adam Dunkels <adam@sics.se>

Definition in file collect-link-estimate.h.