BLE Latency

paddy_b
Posts: 11
Joined: Wed Jun 06, 2018 2:00 pm

BLE Latency

Postby paddy_b » Mon Jun 11, 2018 11:32 am

I'm working on a project which needs to send messages with the shortest latency possible.
Each message is small enough to be sent in a single transmission, at the moment I'm just sending single bytes.

I'm setting a GPIO pin on one board, sending using esp_ble_gattc_write_char and setting a corresponding pin on a second board.
At the moment I'm getting latencies of ~130ms which seems a little slow.

Has anyone had a similar experience? Anyone have any idea what I could to minimise this latency (other than setting connection parameters)?

chegewara
Posts: 2362
Joined: Wed Jun 14, 2017 9:00 pm

Re: BLE Latency

Postby chegewara » Tue Jun 19, 2018 1:49 am

https://esp-idf.readthedocs.io/en/lates ... e_params_t
Min connection interval is 7.5 ms with step of 0.625ms.

paddy_b
Posts: 11
Joined: Wed Jun 06, 2018 2:00 pm

Re: BLE Latency

Postby paddy_b » Mon Jun 25, 2018 11:48 am

As my original question stated:
Anyone have any idea what I could to minimise this latency (other than setting connection parameters)?
I'm looking for factors other than the connection parameters which may affect the latency, as I've already set these parameters to provide minimum latency.

Who is online

Users browsing this forum: No registered users and 196 guests