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.

51-8 Industrial Communication Systems<br />

Frag type Frag header Following headers/payload<br />

First fragment<br />

1 1 0 0 0<br />

datagram_size/11<br />

Subsequent fragment<br />

1 1 1 0 0<br />

datagram_tag/16<br />

...<br />

...<br />

datagram_size/11<br />

datagram_tag/16<br />

datagram_offset/8<br />

FIGURE 51.5<br />

Fragmentation header structure.<br />

dispatch field, which specifies the frame type and what specific frame type format follows this dispatch<br />

field. Four groups are defined and identified by the first two bits of the dispatch field: Not a LoWPAN<br />

frame (NALP), mesh frame (MESH), first fragmentation frame (FRAG1), and subsequent fragmentation<br />

frame (FRAGN).<br />

If the overall packet size exceeds the limit of the MAC layer, the fragmentation frame as depicted in Figure<br />

51.5 has to be applied. Because the FRAG frame header is located at layer 2.5 between link layer and IP, the<br />

FRAG header encloses the IP frame. The IP header is included in the first fragment only and interpreted<br />

on the destination node after reassembling the IPv6 packet and not on intermediate nodes. A maximum<br />

2.048 bytes can be transmitted within one IP packet. Packets with a bigger size have to be fragmented on IP<br />

layer or above. The MTU of IPv6 requires only 1280 bytes. Different existing IPv6 stacks for computer and<br />

server platforms autonomously fragment larger frames independent of the minimum available MTU on<br />

the route to the destination to avoid the need of resending packets. This can reduce <strong>communication</strong> latency<br />

and memory requirements because it is assured that the frame size complies with all link layer technologies<br />

on the route to the destination. It might be applicable not to exceed the MTU of 1280 bytes per frame in<br />

6LoWPANs also and realize a fragmentation on IP layer or above. The complete fragmentation frame header<br />

size differs between 32 bit for the first fragment and 40 bit for subsequent fragments. In accordance to the<br />

IPv6 reassembly timeout, a receiver of a fragmented packet must discard received fragments if the packet<br />

could not be reassembled within 60.s after the first fragment was received. The 802.15.4 specification defines<br />

a beacon-enabled mode, where RFDs only wake up in defined time slots to receive a beacon from their coordinator.<br />

This beacon contains information if data are pending to be received by the endpoint. The beacons<br />

are transmitted in periodical time slots between 15.ms and 252.s. If beacon-enabled mode is deployed on the<br />

802.15.4 layers, the beacon distance has to fit—particularly in multi-hop scenarios depending on the network<br />

topology—to ensure a maximum delay of 60.s between the endpoints.<br />

51.5.3 Mesh Frame Type<br />

For mesh network topologies (named peer-to-peer in IEEE 802.15.4) and multi-hop scenarios, an additional<br />

mesh frame header is applied that encloses all other frame types including FRAG type, which in<br />

turn encloses the IP frame (cf. Figure 51.6). The additionally required mesh header includes three parts. The<br />

first part defines the format of the addresses for originator and final interface, which can be either the 16 bit<br />

short addresses or 64 bit EUI-64 addresses format. The second part is the Hops Left field that defines after<br />

how many hops the packet can be discarded by the forwarding node to avoid routing loops and can have a<br />

maximum value of 256. The third field includes the originator and final address in the format specified by<br />

the first field. Depending on the address format, the complete MESH frame header has a size of 5–17 bytes.<br />

802.15.4 MAC/PHY<br />

Includes information<br />

elided in upper layers<br />

MESH<br />

Interpreted on each<br />

intermediate node<br />

FRAG<br />

For reassembling on<br />

destination node<br />

IP<br />

Interpreted on<br />

destination node<br />

...<br />

802.15.4 MAC/PHY<br />

FIGURE 51.6<br />

Frame formats and order.<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!