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.

CC2642R: advertisement name is changing after some time and multi_connection

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

HI

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1354926/cc2642r-using-multi-role-after-connecting-scanning-is-slow/5206415#5206415

Continuing the last post,

One issue we got while working , initially we given some deviceID (600....)for advertisement ,device is advertising with same Id but, after some time device ID name is changing automatically

In some mobiles its showing like oneplus buds and adding some extra characters to our device ID

This is configuration I have done .

and also in max number of connection I reduced to 1 ,but still after connection its advertising 

  • Hello Abinesh,

    The BLE examples set the device to use Random Private Address (RPA) and update this address periodically to support privacy. Please look into our User`s guide section: Privacy for more information about it. In addition, you can set a different address type in SysConfig. For instance, you can use Public Address if privacy is not a concern as the BLE address will be the same for the device.

    From the code you shared, if MAX_NUM_BLE_CONNS is properly set to 1, after 1 connection the adv should be disabled. I would suggest to confirm the value of numConn while in GAP_LINK_ESTABLISHED_EVENT (after 1 connection) to see if it enters to the right if statement, check if GapAdv_enable() is executed correctly based on the return status, and double check if the adv is not being enabled afterwards anywhere else.

    if (numConn < MAX_NUM_BLE_CONNS)
          {
            // Start advertising since there is room for more connections
            GapAdv_enable(advHandle, GAP_ADV_ENABLE_OPTIONS_USE_MAX, 0);
          }
          else
          {
            // Stop advertising since there is no room for more connections
            GapAdv_disable(advHandle);
          }

    Best regards,

    David.