weliem / bluez_inc

A C library for Bluez (BLE) that hides all DBus communication. It doesn't get easier than this. This library can also be used in C++.
MIT License
84 stars 19 forks source link

Advertising, scan and connection parameters #39

Closed mamigot-salto closed 4 months ago

mamigot-salto commented 4 months ago

Hi! In order to make our application faster and improve the user experience, I'd like to change the default advertising, scan and connection parameters (mainly I'd like to change advertising interval and connection interval) but I'm not able to find the functions in the library to do so. Are there functions currently in the library to set these paremeters? If not, do you have plans to add this feature in a near future? Thanks a lot

weliem commented 4 months ago

There are no DBus apis to change any of these. However, you can modify some of them by editing the Bluez config file.

weliem commented 4 months ago

https://github.com/bluez/bluez/blob/master/src/main.conf

mamigot-salto commented 4 months ago

Understood. Thank you!