Hi,
I use LightBlue to get the Notification data form my BLE peripheral.
Here is my program main parameters:
1.#define NOTIFY_EVT_PERIOD 1 // 1 ms make the periodic event have 1ms period
2. Connection Interval is 30ms which is the default parameter of LightBlue.
3. //turn on overlapped processing
HCI_EXT_HaltDuringRfCmd(HCI_EXT_HALT_DURING_RF_DISABLE);
HCI_EXT_OverlappedProcessingCmd(HCI_EXT_ENABLE_OVERLAPPED_PROCESSING);
When I use a 7-byte payload, the notifying data was allright(no frame was lost), and the throughput is 1.13kB/s.
Then I change the payload to 20-byte, to increase the throughput. But, I found many frames were lost when notifying with 20-byte payload.
In fact, my program takes 515 notifications, but only 387 were received by LightBlue. I also use PacketSniffer to watch the packets, there were only about 387 notifications. So, nearly 25% of frames were lost.
I tried 7-byte payload many times, no frame was lot.
Why frames were lost when notifying with 20-byte payloads? Please help. Thank you.
Frank
