CHAR1,CHAR2,CHAR3,CHAR4,CHAR5,CHAR6都被我设置成了notification属性,,但是我用usbdong,,只能收到前4个notification,,如果删除一个后面的一个就能收到,也就是只能收到4个,,IT的大神们我怎么设置!
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.
CHAR1,CHAR2,CHAR3,CHAR4,CHAR5,CHAR6都被我设置成了notification属性,,但是我用usbdong,,只能收到前4个notification,,如果删除一个后面的一个就能收到,也就是只能收到4个,,IT的大神们我怎么设置!
I guess too much packets has sent within one connection interval.
I believe the return value of GATTServApp_ProcessCharCfg() will be FALSE after 3-4 notification.
Since your intruction has 6 notification at the same which may violation the max number of packet sent on one conneciton interval.
Send 3 notification then Try to dealy a little bit (larger than one connection interval) then send the other three.
Or, check the GATTServApp_ProcessCharCfg() is True or False. If False, it may need to wait for a while then send it again.