Add Bluetooth enable 41/27241/1 12.93.0 13.93.0 marlin/12.93.0 marlin_12.93.0 needlefish/13.93.0 needlefish_13.93.0
authorScott Murray <scott.murray@konsulko.com>
Wed, 2 Mar 2022 21:48:04 +0000 (16:48 -0500)
committerScott Murray <scott.murray@konsulko.com>
Wed, 2 Mar 2022 21:51:17 +0000 (16:51 -0500)
commit26dc6a8c8847248450bf902124b7cd867e027274
treef46f21f932eb825d4fa4d5dc70bc8101d0a5f7fe
parentfd598de2c48a9fcc0e13b5574c3da0b5b6edf407
Add Bluetooth enable

Use the network API interface object to enable Bluetooth via ConnMan,
thus deactivating the default rfkill state and persisting the new one
across reboots (since ConnMan will restore the enabled state on boot).
This used to be done in the agl-service-bluetooth binding, doing it
here should be considered a likely temporary placeholder for further
investigation into Bluetooth device management in future AGL releases.

At the moment device auto-connection is not likely to match pre-Marlin
releases unless a device manages to connect on its own versus the
active auto-connect that was in agl-service-bluetooth.  The latter is
now dependent on this application being run until further
re-architecting takes place.

Bug-AGL: SPEC-4253

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic18452a65345da82a27370a46fbc7121cbf85aea
app/main.cpp