Saturday, 20 August 2011

Installing and Test BLIP 6LoWPAN implementation using Telosb & MicaZ platforms

- BLIP is one of some well known 6LowPAN implementation (6LowPAN IPv6 packets to be sent to and received from over IEEE 802.15.4 based networks).
- BLIP included as a core part of TinyOS-2.1.1 so you need to install tinyos-2.1.1 if you want to use blip. 

Steps of install BLIP:
  1. Add an 802.15.4 interface to the device (Edge router).
  2. Upload your program image on the motes (node router)
  3. Compile and run the routing driver (on pc/laptop).
  4. Communicate with motes via IPV6.

BLIP Network Items



















 1- Upload blip Interface on edge router
  • cd $TOSROOT/apps/IPBaseStation
  • $ make telosb blip install 
    (for telosb mote)
  • $ make micaz blip install  mib520, /dev/ttyUSB0
    (for micaz mote)
 2- Upload program image on node routers 
  • cd $TOSROOT/apps/UPDEcho
  • make micaz blip install,ID mib520,/dev/ttyUSB0
  • make telosb blip install,ID
3- Compile and run routing driver on PC/laptop
Build it first (for one time): 
cd $TOSROOT/support/sdk/c/sf
./bootstrap
./configure
make
cd $TOSROOT/support/sdk/c/blip
./bootstrap.sh
./configure
make
 
While you are still in the $TOSROOT/support/sdk/c/blip directory run routing driver
sudo driver/ip-driver /dev/ttyUSB1 micaz

- Router driver loads its configuration from $TOSROOT/support/sdk/c/blip/serial_tun.conf.
  You can change channel # and IPv6 prefix fec0:: used.
4- Test connection
    ping6 fec0::ID
 
- fec0::/10 This is a site-local prefix  offered by IPv6.
- The prefix fec0:: is coming from serial_tun.conf file and the suffix is coming from Node Id. 
 

No comments:

Post a Comment