Contiki 2.5
Functions
collect-link-estimate.c File Reference

    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. More...
 
void collect_link_estimate_update_tx (struct collect_link_estimate *le, uint8_t tx)
 Update a link estimate when a packet has been sent. More...
 
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. More...
 
void collect_link_estimate_update_rx (struct collect_link_estimate *n)
 Update a link estimate when a packet has been received. More...
 
uint16_t collect_link_estimate (struct collect_link_estimate *le)
 Compute the link estimate metric for a link estimate. More...
 

Detailed Description

    Implementation of Collect link estimate based on ETX
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file collect-link-estimate.c.