Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bluetooth Ping Latency

I am currently working on a project involving a Lego Mindstorms kit. The brick is the NXT and I was curious about the bluetooth ping rates.

I ran a test of 100 pings on it and got some interesting results. The latencies seemed to fall into bands. I increased to 10,000 pings and it highlighted this trend even more clearly. Does anyone know what could cause this to happen?

In case it is relevant, the distance between the sender and receiver was about 3 metres.

10000 Ping Scatter Plot

like image 265
Dale Myers Avatar asked Nov 13 '22 09:11

Dale Myers


1 Answers

Few reasons :

  1. Buffering and internal timers to flush buffers can cause it.
  2. Also depends on the ping intervals (i.e. time between subsequent pings), as the link might go to power save mode during inactivity and it will take a fine time to come back up.
  3. Size of the ping packets
  4. What bluetooth profile is used here ?
like image 102
Dennis Mathews Avatar answered Jan 07 '23 07:01

Dennis Mathews