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.

RTOS/CC2640: Setting GGS_DEVICE_NAME_ATT after SimpleBLECentral_init()

Part Number: CC2640
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hey there,

I am using the CC2640 with simple_central example on a custom board. I would like to change the device name using the -

static const uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "PUI Tal O Central ";

GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, (void *)attDeviceName);

command AFTER the application is up and running after the initial setting in the SimpleBLECentral_init(). Need to get details for name from another processor which is only readable after the system is up and running.

However when I try to write using this function the system gets stuck in the

          ti_sysbios_family_arm_m3_Hwi_excHandler__I():

For that matter I get the same response when I try to read this field using -

GGS_GetParameter(GGS_DEVICE_NAME_ATT, (void *)&attDeviceName);

What is the trick to changing the device name at runtime?

Thanks

Fred