This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How much data can you transfer using radio peripheral in one go?

What would be the payload size? That is, without any ble involvement? I assume it's 31 bytes? Or maybe this question is invalid since you can transfer unpackaged, raw data (then what is the purpose of the package assembler?)

  • Hi,

    Please refer to the documentation for the Radio module, section 17 in the reference manual.

    The combined length of S0, LENGTH, S1 and PAYLOAD cannot exceed 254 bytes, ie. if you don't use S1, LENGTH and S1 you can have a max payload size of 254 bytes.

    As for the package assembler, each layer in a protocol will add a segment to one or both ends of a packet. For example in the physical layer the synchronization sequence (preamble) will be added at the start of the packet. Essentially your payload will be wrapped inside the necessary bits and pieces to have link layer control, addressing and so forth.

    Best regards,

    Øyvind

Related