为什么我最多只能收到4个notification,,我想一次多发几个怎么设置?Ti的大神们帮忙看看
时间:12-22
整理:3721RD
点击:
CHAR1,CHAR2,CHAR3,CHAR4,CHAR5,CHAR6都被我设置成了notification属性,,但是我用usbdong,,只能收到前4个notification,,如果删除一个后面的一个就能收到,也就是只能收到4个,,IT的大神们我怎么设置!
为什么TI的的同志们,没人回答我!!
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.