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.

CC2650 使用 LightBlue 查看修改名字问题

Other Parts Discussed in Thread: CC2640

现在在修改设备名字的时候遇到一个问题,每次修改名字后,要用 LightBlue 连接 BLE 设备,退出后,名字才会显示已经修改。否则在 LightBlue 上面显示的名字始终都是修改之前的名字,请问这是怎么回事啊?

备注:

1、设备一直在广播,只用串口来发送修改的名字;

2、修改名字的代码如下:

GAPRole_SetParameter( GAPROLE_SCAN_RSP_DATA, len, scanRspData );
GGS_SetParameter( GGS_DEVICE_NAME_ATT, len, attDeviceName );


// Updata device name
GAP_UpdateAdvertisingData( selfEntity, FALSE, len, scanRspData );