gattlib icon indicating copy to clipboard operation
gattlib copied to clipboard

High latency at long intervals

Open alinouriz opened this issue 3 years ago • 0 comments

In Ubuntu 20, I try using "write without response" and in response turning LED connected to the Bluetooth device RN4871(microchip). All works well. The issue is if I do multiple writes at short intervals (below 500ms) my latency (from sensing the write command in my PC to LED turning ON) is below 20ms, which is fine for my application. However for longer intervals, lets say 1 second between two write command, the latency can go up to 300ms! I tried to figure this out by changing the connection protocols and measuring the latency using different methods, all the same result!

Also I tried to create a stream for writing data but again the same issue remains.

I was wondering if anyone has any update on this issue.

alinouriz avatar Jun 14 '21 08:06 alinouriz