Difference between revisions of "Protocols stack"

From Contiki
Jump to: navigation, search
Line 11: Line 11:
 
3. Rime<br><br>
 
3. Rime<br><br>
  
'''The Contiki netstack'''[[File:Contikinetstack.png|frame|Contiki Network Stack]]<br><br>
+
 
 +
== '''The Contiki netstack''' ==
 +
[[File:Contikinetstack.png|frame|Contiki Network Stack]]<br><br>
  
 
Four Layers<br>
 
Four Layers<br>
 
1. Network layer<br>
 
1. Network layer<br>
2. MAC layer<br>
+
2. MAC (Medium Access Control) layer<br>
3. RDC layer<br>
+
3. RDC (Radio Duty Cycling) layer<br>
 
4. Radio layer<br><br>
 
4. Radio layer<br><br>
 +
 +
 +
== 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)).<br>
 +
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).<br>
 +
[[File:RPLDODAG.png|center|RPL DODAG]]<br>
 +
DIO (DODAG Information Object) messages are broadcast by all nodes starting from the root node. It includes the node's rank, ETX, etc.<br>
 +
[[File:NF1.png|center|RPL DODAG]]<br>
 +
The node selects a parent based on the received DIO messages and calculates its rank.<br>
  
  
 
[[Contiki_tutorials | Back to Contiki Tutorials]]
 
[[Contiki_tutorials | Back to Contiki Tutorials]]

Revision as of 00:52, 27 October 2014

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, etc.

RPL DODAG

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


Back to Contiki Tutorials