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.

CC2340R5: Issue with Multiple Advertising Sets on CC2340R5 Using SDK v9.11.01.09.

Part Number: CC2340R5

Tool/software:

Hi Team,

I'm currently working with the CC2340R5 device using the simplelink_lowpower_f3_sdk_9_11_01_09_eng SDK, specifically the Key Node example for a peripheral device.

We are trying to create and manage multiple advertising sets. While we understand that only one advertising set can be active at a time, we're observing unexpected behavior:

  • When we start the first advertising set using:

  • BLEAppUtil_advStart(peripheralAdvHandle, &advSetInitParamsSet);          // adv for set1
    BLEAppUtil_advStart(peripheralAdvHandle2, &advSetInitParamsSet2);    // adv set2

    it works correctly.

  • When we stop the first advertising set and attempt to start a second one using:

    BLEAppUtil_advStop(peripheralAdvHandle);   stop adv set1
    BLEAppUtil_advStop(peripheralAdvHandle);     // stop adv set2

    the second advertising set does not start as expected. Instead, it still appears to advertise with the parameters of the first advertising set.

Interestingly, this behavior is not observed when using the older SDK version simplelink_lowpower_f3_sdk_8_40_00_61 with the same hardware and configuration. In that version, the switching between advertising sets works as expected.

Questions:

  1. What are the major differences in how advertising sets are handled between SDK v8.40.00.61 and v9.11.01.09?

  2. Are there any changes or additional configurations required in the latest SDK to support multiple advertising sets?

  3. Could you provide an example of how to properly configure and manage two advertising sets with different parameters in SDK v9.11.01.09?

Any guidance or example code would be greatly appreciated.

Thanks and Regards

Balaji Wankhede