osd-contiki/examples/sensinode/border-router
George Oikonomou dd26accc07 We can now use SDCC's __nonbanked feature
This allows us to reduce CODE footprint of SDCC projects
built with --model-huge. Use carefully!

* Added a facility which allows us to enable/disable the
  feature from the CPU dir (CC_CONF_NON_BANKED_OPTIMIZATION)
* Added the CC_NON_BANKED keyword to some platform files
  (expands to __nonbanked)
* Started using this for some examples
2012-04-26 15:28:43 +01:00
..
border-router.c We can now use SDCC's __nonbanked feature 2012-04-26 15:28:43 +01:00
Makefile Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00
project-conf.h Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00
README Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00
slip-bridge.c Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00

border-router example for sensinode devices.

This example is meant to be used with tunslip6 in tools/

- Build the code and load it onto your node
- Connect your node to your PC over USB
- run:
  sudo ./tunslip6 <address v6>/<prefix>
  
  This will setup tun0 on your PC over device /dev/ttyUSBx. The address
  argument should contain the v6 address that you want to assign to tun0
  The node will use this address to obtain the network prefix
  
  for example:
  sudo ./tunslip6 aaaa::1/64
  This will use aaaa:: / 64 as the prefix for the 15.4 network.