Coder Social home page Coder Social logo

wiselib-tunslip6's Introduction

Wiselib-TunSLIP6

This program is a SLIP (Serial Line IP - RFC1055) implementation for the IPv6 protocol stack of the Wiselib. The tool has only one working mode at the moment which is a communication with nodes in the Wisebed testbed environment. (Support for direct attached devices is planned) The tool uses the modified java scripts of the Wisebed experimentation scripts for the communication. This program starts the listen and send scripts as backgorund processes, and uses linux named pipes for the communication between the this C and the java programs.

The code for the sensor devices is available in the Wisebed's GIT: https://github.com/ibr-alg/wiselib For the border-router node, the IPv6_SLIP_RS must be defined in the wiselib.testing/algorithms/6lowpan/lowpan_config.h

The code is tested with iSense5148 nodes. The external_interface for the UART uses an 512 bytes long buffer, and because of this the default size of the packets from the tunnel to the node is 499 bytes, larger packets are fragmented. However in order to enable 16-bit long UART packet lengths, the iSense must be compiled with ISENSE_ENABLE_UART_16BIT. It is possible with the web compiler: http://www.coalesenses.com/index.php?page=webcompile select the "16 bit length for packet handling" option. If the compilation of the Wiselib raises a linker error with the new iSense-os then comment out the following line: /lib/jennic/5148_1v4/Chip/JN5148/Build/config_JN5148.mk Line 48: LDFLAGS += -march=ba2

The nodes can be reserved with the experimentation scripts https://github.com/wisebed/experimentation-scripts/wiki/Experimentation-Scripts-0.8

Then this tool can be started:

make

sudo ./wiselib_tunslip6 -W -R[RESERVATION-KEY] -B[BORDER-ROUTER-URN] [TUN-IP]

wiselib-tunslip6's People

Contributors

gdanii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.