Post Go back to editing
Captured to Maximum payload in AD6LoWPAN? wiki page

Maximum payload in AD6LoWPAN?

What is the maximum payload length the AD6LoWPAN data packet can carry?

What is the size of the data packet being transmitted by the Node to the Border Router?

  • The maximum application payload in the AD6LoWPAN node depends on the header compression (HC).


    • Without  Header Compression, the maximum payload length = 323 bytes
    • With Header Compression (HC), the maximum payload length = 346 bytes


    This max payload value is derived from the formula given in the table. Also shown in are values of the parameters and the calculations for the application payload.

    Formula


    Application Payload Size =  (Max Buffer Size) - (PHY + MAC + 6LoWPAN + IPv6 + UDP)


    Parameter

    Value (Bytes)

    Max Buffer Size

    400

    UDP Header Size

    8

    IPv6 Header Size

    40

    6LoWPAN Header Size

    2/19

    MAC Header Size

    21

    MAC Footer Size(CRC)

    4

    PHY Header Size

    2

    Calculations

    Without AD6LoWPAN Header Compression

    Max Buffer Size = 400.

    (PHY + MAC + 6LoWPAN (uncompressed) + IPv6 + UDP) = 77.

    Application Payload Size  = (400 – 77)= 323 Bytes <== (with No HC)

    With AD6LoWPAN Header Compression

    Max Buffer Size = 400.

    (PHY + MAC + 6LoWPAN (compressed) + UDP) = 54.

    Application Payload Size  = (400 – 54)= 346 Bytes  <== (with HC)

    (In this case IPv6 Header is compressed and replaced with 19 bytes of 6LoWPAN Header.)

      Please note, the AD6LoWPAN uses Fragmentation mechanism for delivering any packet with payload more than 50 bytes.

  • This question has been closed by the EZ team and is assumed answered.