Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

CC2340R5-Q1: How to change the Broadcast device name during the advertisement and how to increase the advdata, scanresp size from 21 to 31

Part Number: CC2340R5-Q1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi All,

Issue 1:

We were using the TI-CC2340R5 chip, SDK - 8.10, IDE - 12.5 and the role of the Bluetooth is assigned as Broadcaster + Observer.

Observer is working fine, but in broadcaster mode we can't able to change the advertisement name.

Initially configured in Sysconfig, the same is reflecting until the device power OFF. We have the requirement to change the broadcaster info(name) for different states which is going to receive from Host MCU.

According to those states we need the change the Broadcaster advdata. We can't able to do it in the Broadcaster mode and read in some of the documents says Broadcaster doesn't supports the scan response input.

Kindly support in this query!!

Issue 2:

We were using the TI-CC2340R5 chip, SDK - 8.10, IDE - 12.5 and the role of the Bluetooth is assigned as Peripheral + Observer.

Observer is working fine and in peripheral mode we can able to change the advertisement name as per the states received from Host MCU.

But the issue is we can't able to increase the size of the advdata and scan response data to 31. In our requirement the max size needed to share through the advertisement is 26.

We tried by changing the advertisement Legacy to Extended but we are getting the ERRORS and as per the documents says that it doesn't support the Extended advertisement.

I hope you understand our requirements and the issues. Kindly provide support as quickly as possible to resolve these issues.

  • Hello,

    Please see our SimpleLink Academy Guide on advertising basics: Bluetooth Low Energy Scanning and Advertising — SimpleLink Academy for CC23xx

    Specifically, refer to Advertising Task 2. In short, you will need to stop advertising, re-load the data with the new data, and then restart advertising. 

    As far as your second issue, note that the name also takes bytes of data. So in total, the advertisement can only have 31 bytes of data including the parameters set in sysconfig.

    Please let me know if you have more questions.

    Best,

    Nima Behmanesh

  • Hello Nima,

    We have read the SimpleLink Academy Guide, in that total advertisement payload can be 31 bytes only.

    But we are trying to add the advertisement data and the length is 26bytes. But if we parse the 26bytes of data to Scan response data after that advertisement is not happening. We need to restart it again.

    Please find the below attachments for the configurations,

    This is the function which we have used to update the advertisement data.

    Note : If we parse 17 bytes of data the advertisement is working. But if we parse more than 17 then the advertisement is not working.

    Kindly support us!!

    Thanks & Regards,

    Abinesh R

  • Hello,

    Thank you for the clarification. That is interesting. I see you're using 8.10, do you mind moving to the latest SDK version (8.40) and retrying your test? Please let me know the results.

    Best,
    Nima Behmanesh