Page 1 of 1

how to set connection interval in ble

Posted: Fri Nov 11, 2022 6:05 am
by hyu7000
i am building 'ble50 security server' example project with bluetooth modem sleep

i wish to change connection interval.

what funcion(or api) use i?

in my case, connection interval recorded 48.75ms

at https://github.com/espressif/esp-idf/is ... -500312453,
MAX cpu frequency = 80MHz
ADV(adv_interval = 1000.0ms) average current 2.55mA, max 114.81mA, min 0.79mA
SCAN(scan_window = 500.0ms, scan_interval = 1000.0ms) average current 49.05mA, max 123.80mA, min 0.85mA
CONNECTION(connection_interval = 960.0ms, slave_latency = 0) average current 2.11mA, max 106.01mA, min 0.94mA
also could you let me know how to set adv_interval, scan_interval?

thank you in advance