contiki/examples/udp-stream
Adam Dunkels ec8c7e9be0 Cleanup of the node-id.h files. The node-id.h file contains
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
..
Makefile Added bursts support in CSMA/ContikiMAC, and CFS-swapping in 2011-09-27 16:47:03 +02:00
project-conf.h Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
README Added bursts support in CSMA/ContikiMAC, and CFS-swapping in 2011-09-27 16:47:03 +02:00
udp-stream.c Cleanup of the node-id.h files. The node-id.h file contains 2012-11-20 19:59:46 +01:00
udp-stream.csc Added bursts support in CSMA/ContikiMAC, and CFS-swapping in 2011-09-27 16:47:03 +02:00

This is an example of bursts support in CSMA/ContikiMAC,
together with storage of long packet queue in CFS. This
is useful to support large fragmented UDP datagrams or
continuous data streaming. The current implementation
is a simplified version of the techniques presented in
"Lossy Links, Low Power, High Throughput", published in
the proceeding of ACM SenSys 2011.

In this example, node with ID==5 sends bursts of UDP
datagrams to node with ID==1, the root of the RPL dodag.

Testing in cooja:
  $make TARGET=cooja udp-stream.csc

Testing on Tmote sky:
1) set node IDs to different motes so node 5 sends to
node 1 (using examples/sky-shell)
2) compile and program:
  $make TARGET=sky udp-stream.upload
3) monitor motes with:
  $make login MOTE=xxx