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 Notification

Other Parts Discussed in Thread: CC2540

用CC2540接收心跳  首先用API 函数 GATT_DiscPrimaryServiceByUUID();  service  UUID  0x180D  找到这个service 的 开始Handle 和结束 Handle   然后用

API 函数 GATT_DiscCharsByUUID();  Characteristic UUID  0x2a37 找到这个Characteristic  的Handle 值   当用函数GATT_WriteCharValue(); 去使能Notification

时,Handle必须加2  , 这是为什么呢???