commit 5c975af9aeec488c1dd6a33dba58499f1fb82c63 from: Thomas Böhler date: Fri Dec 9 10:15:29 2022 UTC Fine tune connection parameters for max throughput Implements: https://todo.sr.ht/~witcher/bachelor-thesis/5 commit - 8a78bc8d0ea877223a2729000ff1cc8340e9a272 commit + 5c975af9aeec488c1dd6a33dba58499f1fb82c63 blob - 4ced6a811d6b136d3e55fa51abe33b2bad4963cf blob + e730c73ffc53a43f34cd6c3a9415c59d14ceef4c --- src/lib.rs +++ src/lib.rs @@ -55,8 +55,8 @@ impl BleState { let mut params: esp_ble_conn_update_params_t = esp_ble_conn_update_params_t { bda: addr, latency: 0, - min_int: 0x30, - max_int: 0x30, + min_int: 0x10, + max_int: 0x10, timeout: 400, }; if let Err(e) = esp!(unsafe { esp_ble_gap_update_conn_params(&mut params) }) {