Skip to content

Are the max packet sizes correct? #130

@marianofino

Description

@marianofino

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:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions