Commit: dbd6591bd1d02ace39debd8a67c75b3cbe9c4d66
Parent: 0d9f5f6a8c149a6fca30afdc40c10cd6557b2e73
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-12-09 05:23:23
Tree: 379d4b8af12c305e76d5d296b41e309f23c7b59e

main.conf: Add GATT.ExportClaimedServices This adds GATT.ExportClaimedService which can be used to allow access to service under control of bluetoothd(1) since often times it should be safe to allow read-only access as it shouldn't interfere with each other, but this one step further and allow the systems to be configured with read-write as well just in case some sort of workaround is needed, or for debugging purposes. Since this is now a proper system policy this removes the expections from battery and deviceinfo introduced by 713f6f09f017 ("profile: Add exception to battery profile for external access") and 0cef5a7996db ("deviceinfo: Enable external flag").

Diffstat

M profiles/battery/battery.c | 1 -
M profiles/deviceinfo/deviceinfo.c | 1 -
M src/btd.h | 7 +++++++
M src/gatt-client.c | 37 +++++++++++++++++++++++++++++++++++- -
M src/main.c | 30 ++++++++++++++++++++++++++++++
M src/main.conf | 5 +++++

6 files changed, 77 insertions(+), 4 deletions(-)

View Full Diff | Patch