Thursday, March 23, 2017

Hack for changing connection interval on bluez peripheral !!

In BlueZ  – to enforce a Connection Interval edit a file that is located in  /var/lib/bluetooth/[ADAPTER]/[DEVICE]/info  where [ADAPTER] and [DEVICE] is the bluetooth adapter address and device address bluez is connected to respectively and  and restart bluetoothd. Add the following lines:
Tune MinInterval and MaxInterval as per your  peripheral needs.

No comments:

Post a Comment