Thread Certification Question: 6LoWPAN frames that can be buffered for forwarding to neighbors other than SED/SSED #11923
Answered
by
jwhui
rretanubun
asked this question in
Q&A
-
|
I want to verify my calculations for answering this question for Thread Certification
// On the OPENTHREAD_MESSAGE_BUFFERS we have
#define OPENTHREAD_CONFIG_MESSAGE_BUFFER_SIZE (sizeof(void *) * 32) // 128-bytes on a 32-bit system
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 440
// On a 32-bit system gives us 440 message buffers with 128-bytes each
// On the SED_DATAGRAM side we have
#define OPENTHREAD_CONFIG_DEFAULT_SED_BUFFER_SIZE 1280
#define OPENTHREAD_CONFIG_DEFAULT_SED_DATAGRAM_COUNT 1
// So we use 1280 bytes per datagram, or 10 OPENTHREAD_MESSAGE_BUFFERS per SED
// +1 to account for header/metadata overhead, gives us 11 OPENTHREAD_MESSAGE_BUFFERS per SED
Then the formula is 440 - [11 * #-of-SED]
In a system with 1xSED, the answer is: 440 - 11 = 429Does this looks correct for answering the question? Thanks for everyone's time. |
Beta Was this translation helpful? Give feedback.
Answered by
jwhui
Sep 17, 2025
Replies: 1 comment 1 reply
-
|
This calculation seems reasonble. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rretanubun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This calculation seems reasonble.