UniPro protocol stack: Difference between revisions

Content deleted Content added
VdHamer (talk | contribs)
VdHamer (talk | contribs)
m Data Link Layer (L2): moved introduction of abbreviation L2 up a bit
Line 129:
 
==Data Link Layer (L2)==
The main task of UniPro's Data Link layer (L2) is to allow reliable (error-free) communication between two adjacent nodes in the network.
 
===L2 data frames===
The Data Link layer (L2) clusters 17-bit UniPro symbols into packet-like data frames (the term packet is reserved for L3). These data frames start with a 17-bit start-of-frame control symbol, followed by up to 288 bytes of data (144 data symbols) and followed by an end-of-frame control symbol and a checksum.
 
Note that some of the 288 bytes are used by higher layers of the UniPro protocol. The maximum frame size of 288 payload bytes per frame was chosen to ensure that the entire protocol stack could easily transmit 256 bytes of application data in a single chunk. Payloads consisting of odd numbers of bytes are supported by padding the frame to an even number of bytes and a corresponding flag in the trailer.