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.

CC2652R: project_zero.syscfg removes definition of advData1 in ti_ble_config.c

Part Number: CC2652R
Other Parts Discussed in Thread: SYSCONFIG

I run project_zero_CC26X2R1_LAUNCHXL_tirtos_css with CCS 10.4.0.

First, the program compiled without errors. Then, I tried to rename the device name (project_zero.syscfg - BLE - Radio Configure BLE Radio Settings - General Configuration - Device Name).

I then get these errors in project_zero.c:

advData1 is undefined, scanResData1 is undefined.

Both variables were initially defined in the auto-generated file ti_ble_config.c which doesn't contain the definition anymore.

Please advice how to handle this bug.

  • Hi Marc,

    Thank you for reporting this issue. I am able to reproduce it and I will open an internal ticket to get it solved.

    Actually, due to some issues with SysConfig, when the device name is modified in BLE > General Configuration > Device Name, the tool stop generating the advertisement data (called advData1) and the scan response (scanResData1).
    As a temporary workaround, you could do the following:

    1. Change the device name in BLE > General Configuration > Device Name
    2. Manually re-create the advertisement data (called advData1) and the scan response (scanResData1). To do so:
      1. In SysConfig, open BLE > Broadcaster Configuration > Advertisement Set 1 > Advertisement Data 1, then fill in the parameters as they were before modification. Make sure to only change the device name
      2. In SysConfig, open BLE > Broadcaster Configuration > Advertisement Set 1 > Scan Response Data 1, then, fill the exact same parameters as they were before
    3. Save your changes and rebuild the code.

    I hope this will help,

    Best regards,

  • I have the same problem with the simple_peripheral_oad_offchip. But the proposed workaround did not work. Is there a way to directly modify the normally generated files from the sysconf file?

  • Hi,

    I guess the same kind of workaround should be applicable.

    That being said, you could disable SysConfig (see here) even if this is not the solution I would prefer.

    If additional guidance is required, please make sure to open a new thread.

    Thank you for your comprehension.