Contiki 2.6
|
Implementation of Collect link estimate based on ETX. More...
#include "net/rime/collect.h"
#include "net/rime/collect-link-estimate.h"
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 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 tx) |
Update a link estimate when a packet has failed to be sent. | |
void | collect_link_estimate_update_rx (struct collect_link_estimate *n) |
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. |
Implementation of Collect link estimate based on ETX.
Definition in file collect-link-estimate.c.