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.

TIMAC: How to Set Source Pan ID while broadcasting

Part Number: TIMAC

Hi TI team,

We are trying to send a broadcast packet with

Source PANID as Random and Destination PANID as 0xFFFF.

But we were only able to send with Dest PANID and Source PANID is elided(PANID Compression flag is always true).

So the question is how to set the source panid and make PANID Compression flag to false in TIMAC.

Please guide us in this regards.

Regards

- Vinoth

  • Hi Vinoth,
    Not sure if this will help but we can try, I assume you are MAC_mcpsdatareq() to send the data over the air.
    What is srcAddrMode in this request? it should not be '0'. If it is not '0' can you share the values of
    - srcAddrMode
    - dstAddrMode
    that you use in your request.
  • Hi Suyash,

    Thanks for reply.

    In our case, following are the values.

    - srcAddrMode = SADDR_MODE_EXT ;  (SADDR_MODE_EXT = 3)
    - dstAddrMode = SADDR_MODE_SHORT ; (SADDR_MODE_SHORT = 2)

    I called MLME_SetReq(MAC_PAN_ID, 0xFFFF) before sending the broadcast packet.

    Any ideas?

    Thanks

    - Vinoth