contiki/examples/cc2530dk/border-router
2013-03-26 23:15:37 +01:00
..
border-router.c Code style fixes: cc2530dk examples 2012-12-16 19:28:56 +00:00
Makefile cc2530dk: Border router example changes: 2012-11-04 21:44:24 +00:00
Makefile.target
project-conf.h cc2530dk: Border router example changes: 2012-11-04 21:44:24 +00:00
README.md Rename to md 2013-03-26 23:15:37 +01:00
slip-bridge.c Code style fixes: cc2530dk examples 2012-12-16 19:28:56 +00:00

border-router example for the TI SmartRF05EB with a cc2530EM

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

  • run:

    sudo ./tunslip6 -s /dev/ttyUSBx

    /

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.