summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth
AgeCommit message (Collapse)AuthorFilesLines
2017-08-04binding: bluetooth: save priority of paired devices for autoconnectiondab_4.0.1dab/4.0.14.0.1Matt Ranostay2-14/+141
Store list of the order of devices paired to deduce priority of which should be autoconnected to first. Change-Id: I0db62e93dfae92a63cbd6f45515093344322f2ca Bug-AGL: SPEC-722 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-04binding: bluetooth: attempt autoconnect to multiple devicesMatt Ranostay1-11/+22
Round robin through the paired devices every 5 seconds till one is successful. Change-Id: I86b6e03e221c48a5f302f292aadcec4293d7e1e7 Bug-AGL: SPEC-722 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-04binding: bluetooth: autoconnect to first paired deviceMatt Ranostay1-0/+49
Attempt to connect to the first paired device, and poll every 5 seconds till it is successful or another device is connected. Change-Id: Iadc78ca809f0c492d65e0f1cc59837a0f5d2fe45 Bug-AGL: SPEC-722 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-04binding: bluetooth: listen for rfkill bluetooth eventsMatt Ranostay3-6/+107
On certain platforms like RPI3 and Porter there is a possible race condition to systemd-rfkill service if using a USB BT device, and this patchset listens for rfkill events, unblocks and brings up hci interface. Change-Id: I336e496b589a23767003e186473c4aed49471fba Bug-AGL: SPEC-569 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-25Merge "binding: bluetooth: remove race condition workaround" into dabdab_4.0.0dab/4.0.04.0.0Jan-Simon Moeller3-7/+2
2017-07-24binding: bluetooth: lock around BluetoothManage.inited flagMatt Ranostay1-2/+10
inited flag could be written during a read, and this should be prevented via a mutex. Bug-AGL: SPEC-768 Change-Id: Ie8ff57e931b3c9d73b52c6c6082100cb620ca9d8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-24binding: bluetooth: remove race condition workaroundMatt Ranostay3-7/+2
Workaround that was likely in place to avoid the Settings applications UI from loading before all binding functionality was enabled. Bug-AGL: SPEC-569 Change-Id: I7c4bc7614192cb09cace555acf77f27fbda0c42a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-30binding: bluetooth: fix missed uuid in device_disconnect callMatt Ranostay1-1/+1
UUID if defined wasn't being passed to the device_disconnect function call resulting in a total device disconnect. Bug-AGL: SPEC-714 Change-Id: I04f0fcdfae703aaea90a4bf7b17ea0354a3ab845 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-30binding: bluetooth: make system wide serviceMatt Ranostay21-0/+29560
Allow Bluetooth binding to be build separately and installed as a system wide service Bug-AGL: SPEC-661 SPEC-715 Change-Id: I12feefa2908243aa3bdcb0341f9bc9654c23741e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>