[riot-devel] GNRC 802.15.4 maximum payload length

Janna Om Janna_OM at hotmail.com
Mon Jul 2 14:37:07 CEST 2018


Yes, I use a short address.
Thank You for the answer, it helped me a lot.
With kind regards,
Janna



________________________________
From: devel <devel-bounces at riot-os.org> on behalf of Cenk Gündoğan <mail+riot at gundogan.net>
Sent: Monday, June 18, 2018 5:46 AM
To: devel at riot-os.org
Subject: Re: [riot-devel] GNRC 802.15.4 maximum payload length

Hello Janna,

On 18-06-17 16:55:35, Janna Om wrote:
> Hello,
> I work with the Iot-Lab M3 nodes (protocol 802.15.4) and would like to know what is maximum payload length (minimum header length) in data frame?
> I can currently send a frame with a payload of 116 bytes. Can this value be increased?
> Which header fields are opional and which must be set? I use GNRC stack.

Theres not much more to squeeze out of the 15.4 header. Are you using
the short address, or long address form? Using the short address form,
you would end up with a 15.4. header of: 2B (frame control) + 1B (Seq.
No.) + 2*2B (src+dst address) + 2B (src/dst PAN ID) + 2B (CRC at the
end) = 11 Bytes. I assume that's why you are able to send 116 octets,
because 116 + 11 = 127 and thus the physical limit of 15.4.

>From your question, I gather that your application uses 15.4. directly,
without any 6LoWPAN in between? Using UDP on 6LoWPAN would give you the
link fragmentation of 6LoWPAN. From your application's view, you are
then able to send larger packets, which get fragmented / reassembled at
the lower layer. Without 6LoWPAN, your application will need to employ
its own fragmentation.

Cheers,
Cenk

> Thank you in advance.
> Kind regards,
> Janna

> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
devel -- RIOT OS kernel developers<https://lists.riot-os.org/mailman/listinfo/devel>
lists.riot-os.org
This is the mailing list for kernel developers of RIOT OS - the friendly Internet Of Things Operating System. Please adhere to the RIOT Code of Conduct.. To see the collection of prior postings to the list, visit the devel Archives.





--
Cenk Gündoğan

Hamburg University of Applied Sciences
Dept. of Computer Science / Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49 40 42875 - 8426
Mail: cenk.guendogan at haw-hamburg.de
Web: https://www.inet.haw-hamburg.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20180702/53fb680c/attachment-0001.html>


More information about the devel mailing list