osd-contiki/examples/cc2530dk/border-router
2016-03-07 17:47:44 +01:00
..
border-router.c Add uip_clear_buf() macro and replace all instances of uip_len = 0; with it 2015-06-15 11:10:51 +02: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
Makefile.target
project-conf.h Change the way we switch between cc2530 models 2013-08-09 15:53:23 +01:00
README.md Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
slip-bridge.c Updated current fallback_interface(s) to return int. 2015-09-22 12:53:04 +02: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 fd00::1/64

This will use fd00:: / 64 as the prefix for the 15.4 network.