how to set connection interval in ble

hyu7000
Posts: 12
Joined: Fri Oct 07, 2022 6:20 am

how to set connection interval in ble

Postby hyu7000 » Fri Nov 11, 2022 6:05 am

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

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], jm2935 and 118 guests