How to set BLE connection interval?
SO,how to set BLE connection interval?
when the devices are connected,i want to save more power,so i want to increase the conncetion interval ,but i can't find how to redefine this param.
adv and scan interval is easily to set,i can't find the way to set connnection interval
i notice that IRQ has this event:
elif event == _IRQ_CONNECTION_UPDATE:
conn_handle, conn_interval, conn_latency, supervision_timeout, status = data
how to update connection,to change conn_interval, conn_latency, supervision_timeout
extmod/modbluetooth.c: Add connection interval to gap_connect.
Just forwards through directly to the NimBLE and BTStack connect functions.
MicroPython doesn't currently have a way to obtain the connection interval, so tested (on unix+nimble and pybd+btstack) by logging the connection interval during connection.