|
Contiki 3.x
|
Tree-based hop-by-hop reliable data collectionMore...
#include "contiki.h"#include "net/netstack.h"#include "net/rime/rime.h"#include "net/rime/collect.h"#include "net/rime/collect-neighbor.h"#include "net/rime/collect-link-estimate.h"#include "net/rime/packetqueue.h"#include "dev/radio-sensor.h"#include "lib/random.h"#include <string.h>#include <stdio.h>#include <stddef.h>Go to the source code of this file.
Functions | |
| static void | send_queued_packet (struct collect_conn *c) |
| This function is called when a queued packet should be sent out. More... | |
| static void | retransmit_callback (void *ptr) |
| This function is called from a ctimer that is setup when a packet is sent. More... | |
| static void | retransmit_not_sent_callback (void *ptr) |
| This function is called from a ctimer that is setup when a packet is first transmitted. More... | |
| static uint16_t | rtmetric_compute (struct collect_conn *tc) |
| This function computes the current rtmetric by adding the last known rtmetric from our parent with the link estimate to the parent. | |
| static void | bump_advertisement (struct collect_conn *c) |
| This function is called when the route advertisements need to be transmitted more rapidly. | |
| static void | update_parent (struct collect_conn *tc) |
| This function is called to update the current parent node. More... | |
| static void | update_rtmetric (struct collect_conn *tc) |
| This function is called whenever there is a chance that the routing metric has changed. More... | |
| static void | retransmit_current_packet (struct collect_conn *c) |
| This function is called to retransmit the first packet on the send queue. | |
Tree-based hop-by-hop reliable data collection
Definition in file collect.c.
1.8.6