23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6LoWPAN: IP for Wireless Sensor Networks and Smart Cooperating Objects 51-7<br />

51.5 6LoWPAN<br />

In general, IEEE 802.15.4 defines four types of frame formats: beacon frames, MAC command frames,<br />

acknowledge frames, and data frames. For 6LoWPAN-compliant transmission, only data frames are<br />

used. Furthermore, 802.15.4 provides beaconed and non-beaconed data transmission. It is recommended<br />

to use the beacon-enabled mode because the beacons are useful for the device discovery with<br />

upper layers. Nevertheless, no dedicated mapping of beacons on device discovery protocols is described<br />

by 6LoWPAN.<br />

The following subsections are derived from the RFC4944, submitted by the 6LoWPAN working<br />

group. The concepts and meanings are explained and additional comments are added. At the end of this<br />

section, the different described frame and header types are summarized and compared. Further, header<br />

compression and improved multicast mapping will be defined by the working group in their currently<br />

active drafts. Because the drafts are not matured in the time of writing this section, they cannot be fully<br />

examined here.<br />

51.5.1 address Autoconfiguration<br />

An IPv6-compliant interface address is 128 bit wide with 64 bit for the interface identifier and a 64 bit<br />

prefix. Two different address types are defined by 802.15.4 that can be used to generate an IPv6-compliant<br />

interface identifier: the 16 bit short address and the extended IEEE 64 bit address. The 64 bit interface<br />

identifier may base on the—for every device unique—EUI-64 identifier [EUI64] but can also be changed<br />

by the software network stack. If this 64 bit address is applied, the interface identifier can be formed in<br />

accordance to the “IPv6 over Ethernet” (RFC2464) specification [RFC2464]. The shorter 16 bit addresses<br />

are used by 802.15.4 nodes inside a specific PAN after an association event with the coordinator. If 16 bit<br />

short addresses are applied, a 48 bit address can be generated, which in turn is converted into a 64 bit address<br />

following RFC2464 also [RFC2464].<br />

Generating a 64 bit interface identifier out of 16 bit short addresses cannot grant that the derived<br />

addresses are globally unique, which has to be announced by setting the universal/local bit—the seventh<br />

bit in an IPv6 interface identifier—to zero. When generating an interface identifier out of the 16 bit short<br />

address used in one 802.15.4 PAN, the derived address is limited to the lifetime of the connection with<br />

the PAN coordinator. Thus, it might be applicable to use 64 bit addresses directly if possible.<br />

The 64 bit prefix for the IPv6 address is obtained by the (edge) router in accordance to RFC4862 “IPv6<br />

Stateless Address Autoconfiguration” [RFC4862]. “Neighbor Discovery (ND) for IP version 6 (IPv6)”<br />

[RFC4861] e.g., duplicated address detection and finding of routers, makes extensive use of IP multicast.<br />

There is no native support for multicast in IEEE 802.15.4 and thus further efforts are required.<br />

Furthermore, RFC4861 assumes all devices of a subnet communicating on one single link. These two<br />

points make standard ND not applicable to be applied in 6LoWPAN networks. It should be noted that<br />

there is an active document of the 6LoWPAN working group, which describes an alternative ND for<br />

6LoWPAN networks. The routers advertise their presence with periodical multicast messages. This<br />

requires almost all nodes to wake up periodically for power consuming receiving and/or forwarding of<br />

multicast messages. The implicit unreliable <strong>communication</strong> in LoWPANs and the absence of multicast<br />

messaging capabilities on the link layer make standard ND protocols not practical.<br />

51.5.2 Frame Types and Fragmentation<br />

The 802.15.4 specification defines a maximum packet size of 127 byte for physical packets. The number<br />

of available octets is further reduced by the MAC layer header and footer. IPv6 requires a minimum<br />

MTU of 1280 octets. To fit the required IPv6 MTU, a separate fragmentation and reassembly layer has<br />

to be provided on top over MAC layer and below IP layer (known as layer 2.5). Thus, it is required to<br />

define additional frame formats to the standard IPv6 frame. All frame types are prefixed by an 8 bit wide<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!