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.

LAUNCHXL-CC26X2R1: Why GPS_MAX_SINK_TABLE_ENTRIES is define as 0x05?

Part Number: LAUNCHXL-CC26X2R1

Tool/software:

Hi, in my tests I can see that the sink can connect with 5 devices contemporaneously. If I understand correctly this happens because  "#define GPS_MAX_SINK_TABLE_ENTRIES 0x05". 

I wonder why this value is 0x5 and not NWK_MAX_DEVICES? There is any limitation?

Thanks,

Cristiane Bellenzier Piaia

  • Hello Cristiane Bellenzier Piaia,

    I hope you are doing well. Checking the description above the define: 
    "/// Maximum number of Sink Table entries supported by this device"

    -This does seem like a separate limitation from the NWK_MAX_DEVICES, related to the "sink table" itself, used when "ENABLE_GREENPOWER_COMBO_BASIC" is defined. 

    I will reach out for extra confirmation! 

    Thanks,
    Alex F

  • Hello Cristiane Bellenzier Piaia,

    I have reached out to the team, however as of yet I have not received a response for the extra confirmation.
    I will let you know as soon as I hear back from the team!

    Thanks,
    Alex F

  • Hello Cristiane Bellenzier Piaia,

    One of the reasons GPS_MAX_SINK_TABLE_ENTRIES is set to 5 is because a higher number would of been a waste of NV flash memory space (45 bytes per entry). In a typical network not all devices will be GP devices, this is the reason why GPS_MAX_SINK_TABLE_ENTRIES do not match NWK_MAX_DEVICES.

    However, if needed you can modify the GPS code to increase the amount of GP devices. 

    Thanks,
    Alex F