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: Changing device name and overriding sysconfg

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

Without disabling sysconfg. is it possible to set the device name on a non connected advertisement broadcast? 

For example: in SimplePeripheral.c I change the following call -> 

  GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, "123");

The only way this works is after connected to the listed name that is set in sysconfig because the initial scan will show what's still in sysconfig settings for device name. After connecting to the device a new read will then show the updated device name "123"...

I can't find another injection point to set device name in the source files. Is the only option to abandon sysconfig? 

Thanks in advance. 

  • Hi Jonathan,

    Can you provide some details into how you are connecting to your device? Are you using a smartphone application? If so, then changing the "Device Name" field in SysConfig should suffice.

    When the device name is changed in sysconfig, then the "Complete Local Name" in the scan response should be updated to match. The "Complete Local Name" will be the name that is displayed when using a smartphone to connect:

    Best Regards,

    Jan

  • No, I need to set it programmatically so that I don't have to build 1000,s of builds manually. Are you saying I need to also programmatically override the scanResData1 name too? Where would be the best place to inject this ?