a subordinate to that layer :
all belong to Net Layer , the two are parallel relationships. .
two contiki- NETWORK layer of rime with the IPv6 (6loWPAN) the location relationship:
Relationship 1:uipv6 with the rime design independently of each other :
Referencing from the network
Relationship 2:uipv6 over Rime
Referencing from the network
Routing Support Scenarios ?
rime |
can support routing itself. rime is a standalone, lightweight, A protocol stack designed for Lln, rime itself provides a large number of primitives that can be implemented unicast, multicast to complex multi-hop data communication ,rime is a complete protocol stack, like the Atmel Lwmesh Small protocol stack through mesh Routing protocols are similar to implementing routing settings. |
UIP |
need to pass RPL protocol to implement multi-hop routing . the UIP itself can also implement unicast routing. |
III   Drive Design
- netstack: Network protocol stack ---- "is rime frame. You can also use the uip (IPv6) . Span lang= "ZH-CN" style= "Font-family:simsun; font-size:11pt; Color:green "> protocol stack Common data structure :
- Network_driver :
/**
* The structure of a network driver Incontiki.
*/
Structnetwork_driver {
Char *name;
/** Initialize the Network driver * *
void (* init) (void);
/** Callback for getting notified of Incomingpacket. */
void (* input) (void);
};
3.1) rime Frame
as :
#defineNETSTACK_CONF_NETWORK rime_driver
Conststruct Network_driver rime_driver = {
"Rime",
Init
Input
};
3.2) uip (IPv6) Frame :
Conststruct Network_driver sicslowpan_driver = {
"Sicslowpan",
Sicslowpan_init,
Input
};
Contiki-network layer: The relationship between Rime and UIPv6 (6loWPAN)