Age | Commit message (Collapse) | Author | Files | Lines |
|
Put the json array into a single entry map to make it consistant with
other binding APIs and verbs. This also makes libqtappfw access for
response data much easier
Bug-AGL: SPEC-1385
Change-Id: I2eeb6ead1e386503a765dc1e252c969bb647eeee
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
AFB_SESSION_NONE is defined as zero so it doesn't need to be
explicitly set.
Change-Id: I63e072d211b1f21c294966144dd2d8ef025eaeed
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
If autoconnects to an Bluetooth device the bluetooth HMI icon
status should display this.
Bug-AGL: SPEC-1150
Change-Id: I80d31ffd59aaf63011ec16e4c7f04bd23649442b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
The binder now enforces creation of event inside init
and forbid their creation in preinit.
This evolution solves the issue as all initialisation is made
in init.
Change-Id: Ib5a41382ace47cbc387f0bce71bf7f198fea47ea
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Add device_priorities verb to export paired device priorities
in an array.
Bug-AGL: SPEC-839
Change-Id: I83dc17a2a8f755235b0b35a12d2cae8388b69c85
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Switch from legacy qmake to cmake to build binding
Bug-AGL: SPEC-822
Change-Id: Ia2683dda11380c17285768bf6818893cbc5fda08
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Autoconnection was causing some devices not to be spotted ever
when discovery mode was requested
It can be safely assumed on user loading the Bluetooth setting
page no currently paired devices are expected to autoconnected
Change-Id: Ic66d97e559e5ed8fada4ca0a4a7bb481a19bdc36
Bug-AGL: SPEC-795
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Remove client requirement they register new events, and make
subscription verbs more consistent with other bindings
Bug-AGL: SPEC-819
Change-Id: Ica2431690b4e6f24ec3b3e67dba14375298b2f56
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Update functions and structure to use the new version 2
of the afm binder framework
Bug-AGL: SPEC-817
Change-Id: I102a31d0bf19458170b624013b18a6a5d7f9a28b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Store list of the order of devices paired to deduce priority of which
should be autoconnected to first.
Bug-AGL: SPEC-722
Change-Id: I0ab36b62842296ce5cc5c2bbfdbba1d4d2319f51
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Round robin through the paired devices every 5 seconds till one
is successful.
Bug-AGL: SPEC-722
Change-Id: I79ff4ee96eabc4def596ab2b7569c9710eb35bfd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Attempt to connect to the first paired device, and poll
every 5 seconds till it is successful or another device
is connected.
Bug-AGL: SPEC-722
Change-Id: Ic32fbcc6eeb2f0d789d17da1f8722d49b869bc24
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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.
Bug-AGL: SPEC-569
Change-Id: Id16f26953d17cbe2068807b538c52759016d3e50
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|