Flexible_Address_Assignment_Protocol

Brief Introduction📘

In the current network architecture, the limitation of address length, the over centralized design of networking and the high overhead of routing protocol itself hinder the construction of super large-scale WSN. Guided by the traditional IP, the distributed elastic address allocation and routing method is adopted to dynamically build the network. At the same time, it not only breaks the limitations of IP address, but also eliminates some routing overhead, so that the communication system pays more attention to the transmission of actual communication content. In addition, compared with the traditional network, WSN has the characteristics of large scale, dynamic, limited energy and complex environment. A reasonable time synchronization protocol and the corresponding reasonable sleep wake-up mechanism will reduce the energy consumption during synchronization and effectively increase the working life of the whole equipment.

Developer Information and Tools 👩‍💻

For detailed information on how to initialize and install. Please read the following.

1. Download and Install development environment 👷‍♂️

  • You'll need to install the InstantContiki 2.7. Please download it on the official website.

Download urlInstantContiki 2.7

Download instantcontiki


  • You also need to install the VMware. Please download it on the official website. Enter the official website of VMware virtual machine: https://www.vmware.com/cn.html

  • After ensuring that VMware is installed on your computer, open the folder and double-click the Instant_Contiki_Ubuntu_12.04_32-bit.vmx ,This will jump to VMware and automatically create a virtual machine.

something

  • Then click to start the virtual machine and wait until the startup interface is displayed.
  • !!! Attention !!!: the defult password is user . open

2. Test tools of Cooja 🧐

Cooja is a more powerful simulation tool provided by Contiki, which simulates the complete sensor network nodes (such as sky and ESB) as much as possible.

  1. Start cooja from the command line (now there is a cooja icon on the desktop in 2.7, or you can directly double-click to enter)

Type the following two instructions on the command line.

cd contiki/tools/cooja/
ant run
  1. You need to wait for your own compilation for the first time. After that, a box with a blue background will pop up and start successfully. image

test2


3. Run tests 🦾

1. Click in the order shown below File->New simulation to create a new simulation as default. image


2. Click in the order shown below Motes->Add motes->create new mote type-> Sky motes to create a new node type. we select path as ./examples/ipv6/rpl-collect/udp-sink.c for sink-node,after compile and create.The results shown in the figure below will appear:

image

  • We just need to create One sink-node.
  • We can create the send node in the same way; we select path as ./examples/ipv6/rpl-collect/udp-sender.c for sender-node. image

3. Click start to simulate and we can use Tools/Collect View/Sky 1 to watch the logic-link of network. image image


4. In the view in the network window, you can select different visualization effects to show more details

aa bb