Other Parts Discussed in Thread: CC2540
Hello,
I am sending multiple data packets in a single connection event to an iOS device from a CC2540 using the following procedure. I am using the 1.4 stack.
1. subscribe to connection events using HCI_EXT_ConnEventNoticeCmd
2. On connection callback, queue as much data as possible using:
while(Fauxpal_MeasuNotify(gapConnHandle,, &sensorMeasurement == SUCCESS)
The main issue is that it does not reliably happen each time the devices are paired. The issue seems to happen when many devices are connected to the iOS device (5 or 6). When the issue happens, one or two of the connected peripherals exhibits the issue while the other peripherals operate correctly. When observing the packets on the iOS side it seems that the dysfunctional peripherals are sending 2 packets but the iOS device is only receiving 1.
The indication I have that this is an CC2540 issue and not iOS is that hard reseting the peripherals makes the issue go away. Soft resets do not make the issue go away. I am at quite a loss on how to solve this issue and can offer no exact question. Any help is greatly appreciated.
Thanks,
Marko