osd-contiki/examples/sensinode
Simon Duquennoy 2daa3d7377 Merge pull request #1269 from tadodotcom/tmp-uip-fallback-iface
More flexibility for the fallback interface
2015-10-20 11:33:14 +02:00
..
border-router Updated current fallback_interface(s) to return int. 2015-09-22 12:53:04 +02:00
cc2431-location-engine Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
disco Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
energy-scan Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
event-post Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sensors Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sensors-ipv6 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
serial-flash Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sniffer Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
udp-ipv6 Enable NA in examples that need it 2015-05-10 19:56:38 +02:00
blink-hello.c Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00
broadcast-rime.c Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
Makefile Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
README.md Rename to md 2013-03-26 23:15:37 +01:00
timer-test.c Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00

Sensinode platform example and test applications

by Zach Shelby zach@sensinode.com

Some more examples by George Oikonomou oikonomou@users.sourceforge.net - Loughborough University

cc2431-location-engine, udp-ipv6, broadcast-rime blink-hello, event-post, timer-test

This directory contains example and test applications for Sensinode CC2430 based devices. By default it is set to use the sensinode platform:

/platform/sensinode /cpu/cc2430

To build an application:

make [app_name]
make hello_world

To build and upload an application using the Sensinode nano_programmer included under /tools (default /dev/ttyUSB0):

make [app_name].upload
make hello_world.upload

To dump the serial port output (default /dev/ttyUSB0):

make sensinode.serialdump

To configure the hardware model, you can include a make option e.g. for the N601 (N100 is assumed by default):

make hello_world DEFINES=MODEL_N601

These make options are defined in /platform/sensinode/Makefile.sensinode

Descriptions of applications:

  • udp-ipv6: UDP client-server example over uIPv6. Uses link-local and global addresses. Button 1 on the client will send an echo request.

  • broadcast-rime: Just a broadcast rime example, slightly modified

  • sensors: Demonstrating button and ADC functionality

  • cc2431-location-engine: Example demonstrating the usage cc2431 location engine (blind node) N.B. Not all sensinode devides have a cc2431

  • event-post: Demonstrating the interaction between two processes with custom events

  • blink-hello: Hello World with LED blinking.

  • timer-test: Same as clock_test above + testing the rtimer-arch code

  • border-router: 802.15.4 to SLIP bridge example. The node will forward packets from the 15.4 network to its UART (and thus a connected PC over SLIP)