osd-contiki/examples/udp-stream
Fredrik Osterlind b5c94910ac Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies
like /tools/mspsim.

This is a very simple modification that affects a very large number of files in Contiki: Cooja,
/platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc).

I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely
break external dependencies, like saved Cooja simulation files.
2013-11-20 16:43:27 +01:00
..
Makefile Added bursts support in CSMA/ContikiMAC, and CFS-swapping in 2011-09-27 16:47:03 +02:00
project-conf.h Fix naming issues and includes in uip-ds6-nbr.h 2013-08-19 17:48:30 +02:00
README.md Rename to md 2013-03-26 23:15:37 +01: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 Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies 2013-11-20 16:43:27 +01:00

UDP stream

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