Protocols stack

From Contiki
Revision as of 01:19, 27 October 2014 by Ygoyal (Talk | contribs)

Jump to: navigation, search

Back to Contiki Tutorials


The Contiki netstacks

Three network stacks
1. IPv6
2. IPv4
3. Rime


The Contiki netstack

Contiki Network Stack


Four Layers
1. Network layer
2. MAC (Medium Access Control) layer
3. RDC (Radio Duty Cycling) layer
4. Radio layer




Network & Routing Layer

  • Contiki automatically forms a wireless IPv6 network with the help of routing protocol called RPL (Routing Protocol for Low-power and Lossy Networks (LLNs)).
  • RPL forms routing graph from root node or AP (Access Point). It builds acyclic graph from root node called DODAG (Destination Oriented Directed Acyclic Graph).
RPL DODAG

  • DIO (DODAG Information Object) messages are broadcast by all nodes starting from the root node. It includes the node's rank, ETX, DAG version number etc.
5 nodes Network

DIO message sent by root node

DIO message broadcasted by receiving nodes

DIO message broadcasted by receiving nodes

Rank of the nodes with respect to the root

  • The node selects a parent based on the received DIO messages and calculates its rank.


References

http://www.slideshare.net/ADunkels/building-day-2-upload-building-the-internet-of-things-with-thingsquare-and-contiki-day-2-part-3
http://www.slideshare.net/ADunkels/building-the-internet-of-things-with-thingsquare-and-contiki-day-1-part-2?related=1
https://tools.ietf.org/html/rfc6550
http://www.slideshare.net/ADunkels/building-day-2-upload-1?next_slideshow=1
http://www.slideshare.net/ADunkels/advanced-internet-of-things-firmware-engineering-with-thingsquare-and-contiki-day-1-part-2


Back to Contiki Tutorials