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.

关于CC2540和手机BLE通信问题

Other Parts Discussed in Thread: CC2540

请问android手机如何使用onCharacteristicChanged方法响应到CC2540上特征值的改变呢?

我在2540上周期性调用

SimpleProfile_SetParameter( SIMPLEPROFILE_CHAR6, SIMPLEPROFILE_CHAR6_LEN, &Char_CallonDefined );

改变自己增加的特征值6的值,但是在手机端打开了notification,

mBluetoothLeService.setCharacteristicNotification(

characteristic, true);

也不能通过onCharacteristicChanged方法响应CC2540上特征值的改变。