Unsolved Slow BLE Beacon Discovery/Communication
-
I am developing a simple Android tablet app that receives data from a BLE beacon device. Currently the app has significant delay in connecting/receiving data from the beacon device. Using the Qt BLE discovery agent, I cannot get the data transmit time to improve. I have tried setting the discovery agent to Limited Inquiry mode. After debugging further I've discovered that the problem is that QT is not finding my device when it is beaconing data. The Qt app will keep refreshing the device discovery and eventually connects to the device, but it can be delayed up to 10 seconds. The delay is also not consistent. Sometimes the discovery agent processes the beacon immediately after data is transmitted and sometimes it takes a few to 10 seconds. Not sure if it is a problem with the Qt BLE class itself or if anyone has any advice on what could be causing the problem.