-
Notifications
You must be signed in to change notification settings - Fork 143
Description
Hi,
The max packet sizes allowed to be sent for each DR in EU region don't seem to match the ones defined in the official docs. For example, DR0 has a max payload of 51 plus the minimum 13 bytes header. In total it's a max packet size of 64 bytes. However in this module, the maximum packet size for DR0 is 59 bytes. In fact, every DR packet size seems to be 5 bytes less that the correct ones.
This is the line of code that defines the max packet sizes:
lorawan/helper/lorawan-mac-helper.cc
Line 230 in 2340df1
| std::vector<uint32_t>{59, 59, 59, 123, 230, 230, 230, 230}); |
And here, in the first table of this docs, it is defined the maximum payload size for EU region (it's missing the 13 bytes header): https://lora-developers.semtech.com/documentation/tech-papers-and-guides/the-book/packet-size-considerations/
Is there a reason why the sizes are 5 bytes less?