summaryrefslogtreecommitdiffstats
path: root/bluetooth
AgeCommit message (Collapse)AuthorFilesLines
2019-04-02libqtappfw: bluetooth: add adapter_changes event processingMatt Ranostay3-13/+35
Process events from adapter_changes to emit the respective signal. This has the advantage of avoiding race conditions of waiting for powering up of an adapter, and to allow Settings UI to detect events. Bug-AGL: SPEC-2295 Change-Id: I9cd391ed01cab709dad6801331eade7494155af5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-22libqtappfw: bluetooth: add BluetoothModel supportMatt Ranostay5-15/+319
Switch from using single threaded and incorrect QML processing of ListViews to using models provided from libqtappfw Bug-AGL: SPEC-2270 Change-Id: I83f02ab104a18ade95dfd172902e32a808c3d897 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-02libqtappfw: bluetooth: add transport to discovery filterMatt Ranostay1-0/+1
Only scan for non-LE devices to avoid a delay of detection on discovery. Bug-AGL: SPEC-2094 Change-Id: I57adab6bd8751c0f69c59f51ce1eeb7468880dfe Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-05libqtappfw: bluetooth: send out power eventMatt Ranostay1-3/+10
Send power event when device_changes powered parameter is detected Bug-AGL: SPEC-1630 Change-Id: I0170eafa03ce28ab9f907a37bcf7fefa9e205e33 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-05libqtappfw: bluetooth: update to rewrite of bluetooth bindingMatt Ranostay3-105/+112
Bug-AGL: SPEC-1630 Change-Id: I705df82deefa371afa1f1d6ee57bb5457479408d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-05libqtappfw: bluetooth: remove avrcp_controlsMatt Ranostay2-13/+0
Bluetooth avrcp controls will be moved into their own respective binding in the near future. Bug-AGL: SPEC-1630 Change-Id: I688cc19c2e30957f507cdcda54bf5a2f863317d5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-05Revert "libqtappfw: bluetooth: add binding version 2.0 verbs"Matt Ranostay2-28/+4
This reverts commit 4508f46e8b3b42f2d062566ecbc741daf5cf1338. Revert "libqtappfw: bluetooth: add initial API versioning to BluetoothMessage" This reverts commit daadd6ca0e572fe55d307ff034d8cd3342c1c7c1. Bug-AGL: SPEC-1630 Change-Id: Iac48c5a1b3bd2d1147c208cebe6b86bbdfa6d2ac Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08libqtappfw: bluetooth: add binding version 2.0 verbsMatt Ranostay2-4/+20
Add initial set of Bluetooth binding version 2.0 (rewrite) verbs for the BluetoothMessage Bug-AGL: SPEC-1736 Change-Id: Ie0ee68b0ba652e9163746b397c14dd925c85a9fb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-25libqtappfw: bluetooth: add initial API versioning to BluetoothMessageMatt Ranostay2-4/+12
Future rewrite of the Bluetooth binding will have different schema for accessible verbs. Allow clients and middleware to explictly request a version. Bug-AGL: SPEC-1736 Change-Id: I488836a7422aac85b19815d837dabb5230ee47f8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-25libqtappfw: bluetooth: fix typo for device_priorities verb accessMatt Ranostay1-1/+1
Change-Id: Iea11b79a0e81299f9af91babf093f06be25062f5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-25libqtappfw: add version verb to allowable requestsMatt Ranostay1-1/+1
Bug-AGL: SPEC-1736 Change-Id: I793892c1479633de31e5bef98699cdd4c95ad2da Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-12libqtappfw: remove deleteLater instances that aren't usedguppy_6.90.0guppy/6.90.06.90.0Matt Ranostay1-7/+7
Remove several deleteLater calls that should have been delete's. This should solve race conditions that an object calls deleteLater(), and leaves scope before the QT main loop is called. Outcome of the race condition is that sometimes the memory allocator reallocates it to another message and causes a crash. Bug-AGL: SPEC-1680 Change-Id: Ic83d8c6c204c6e3248bbe9a9def1842e1e384b2b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-25Reorg binding-specific modules into subdirectoriesMatt Porter5-0/+400
Move binding-specific code into per-binding subdirectories. This separates the core message engine code and simplifies adding new binding-specific modules. Bug-AGL: SPEC-1525 Change-Id: I8fc545e3af375e2ed9e79a41363b7ade97e9b20a Signed-off-by: Matt Porter <mporter@konsulko.com>