NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

How to decrease the time of upload?

Open sa7brina opened this issue 3 years ago • 1 comments

Hi, I'm using the nimBle Library for Upload the ESP32's firmware. My smartphone application send packets of 128 bytes, but I have to wait 60ms between each shipment otherwise an error occurs : E (230606) NimBLE: ble_hci_rx_acl failed to allocate ACL buffers; increase ACL_BUF_COUNT I try to increase the ACL_BUF_COUNT, no effect. How I can decrease the time between two shipment? ideally, I would like to go down to about 10ms.

sa7brina avatar May 03 '22 07:05 sa7brina

Hello, you can request different connection parameters to reduce this down to a minimum of 7.5ms. pServer->updateConnParams(conn_handle, 6, 6, 0, 200);

h2zero avatar May 04 '22 01:05 h2zero