Page 1 of 1

BLE Latency

Posted: Mon Jun 11, 2018 11:32 am
by paddy_b
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)?

Re: BLE Latency

Posted: Tue Jun 19, 2018 1:49 am
by chegewara
https://esp-idf.readthedocs.io/en/lates ... e_params_t
Min connection interval is 7.5 ms with step of 0.625ms.

Re: BLE Latency

Posted: Mon Jun 25, 2018 11:48 am
by paddy_b
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.