我参考simpleprofiles里面写了一个notify的UUID,IOS端使用lightblue,
开始之后,lightblue收不到notify的数据,然后退出此uuid,重新进入,就能收到数据,没进入一次收到一包数据。就是不能连续收
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.
我参考simpleprofiles里面写了一个notify的UUID,IOS端使用lightblue,
开始之后,lightblue收不到notify的数据,然后退出此uuid,重新进入,就能收到数据,没进入一次收到一包数据。就是不能连续收
找到原因了,同一个service UUID下面,gattAttribute_t表中两个相邻的Characteristic不能都是notify,至少间隔一个不为notify的Characteristic。