This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: Some question about MAX APS data length and Source-Routing filed.

Part Number: CC2530


Tool/software:

As we known the MAX APS data length is 82-byte in NWK-Encrypt-enabled network. The MAX APS data length is calculated in "afDataReqMTU". When a data-frame's APS data is 82 Byte, its PHY-Length is 127 byte. But if this data-frame is send by a Source-Routing-enabled Device, what will happen?

  • Hello,

    Since the Source Route feature introduced extra bytes, then the max APS payload should reduce accordingly by that same amount.

    Source Route bytes consist of:

    1. relay count: 1 byte
    2. relay index: 1 byte
    3. relay list: variable

    So then we'd expect APS payload max bytes to be 82 - 1 - 1 - sizeof(relay list).

    If the relay list size has an upper threshold configured, then the maximum reduction of APS payload size due to Source Route is known.

    Thanks,
    Toby