summaryrefslogtreecommitdiffstats
path: root/app/bluetooth/Bluetooth.qml
AgeCommit message (Collapse)AuthorFilesLines
2019-01-15settings: bluetooth: fix power button issueMatt Ranostay1-3/+1
Responding to both checkbox clicks and power events will cause an infinite loop in some cases of toggling power state. Bug-AGL: SPEC-2004 Change-Id: I4fb841661472f875a978a5bd314157cfff07328b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-18Fix a couple of UI issuesScott Murray1-4/+5
Tweak the scan button anchoring so it renders reliably, the mix of anchoring and forward referenced values seemed to be causing it to misrender. As well, make it and the detected list visibility dependent on Bluetooth being enabled for consistency. Change-Id: Ib13b206c74234e5618f14277097259b848d62a58 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit b3dcdb893234873325cdb121c8eda634f97a4c31)
2018-11-28settings: bluetooth: hide paired list when adapter isn't poweredguppy_6.99.2guppy/6.99.26.99.2Matt Ranostay1-0/+1
Bug-AGL: SPEC-1630 Change-Id: Ib730137d46125f5354686b0bf98f419226254e41 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-22settings: add missing deviceConnect to paired listguppy_6.99.1guppy/6.99.16.99.1Matt Ranostay1-0/+1
Need deviceConnect to be set after pairing of device otherwise the "Connect" button will never be displayed. Bug-AGL: SPEC-1630 Change-Id: Ibd6c05e66b28490b650bfb3da7aaebe7aa29ad24 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-11settings: update to bluetooth binding verion 2.0Matt Ranostay1-137/+71
Bug-AGL: SPEC-1630 Change-Id: Ifabb383e2802d6653d6c0e3c5b50020bbe9d9178 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-21settings: bluetooth: qml: stop device lists from scrollingflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.15.99.25.99.1Matt Ranostay1-5/+0
Both device lists were emitting an layoutChanged() signal on any device addition/update/removal which caused the model to refresh causing it to 'scroll' to the top. This event should only be emitted when the model is being sorted, and hence incorrect in the current call. Bug-AGL: SPEC-1385 Change-Id: I2828ad41e8bf4c9e0c83b62322b9e281e37408eb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-21settings: bluetooth: qml: stop duplicate entries in listsMatt Ranostay1-0/+4
Due to the current subscription model each subscriber causes an discovery_result event to be emitted. So each client must be sure they aren't adding entries more than once. Bug-AGL: SPEC-1385 Change-Id: I125eb33327944407c018b01776ba9bb3e0d4c08f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19settings: bluetooth: switch from qml websockets to libqtappfwMatt Ranostay1-307/+122
Initial support changeover to libqtappfw from qml websocket calls for agl-service-bluetooth service Bug-AGL: SPEC-1385 Change-Id: Iff434c386d19f737b76d6a92969ae131a3de8ebf Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-22QML: Bluetooth: fix initial paired devices listeel_4.99.3eel/4.99.34.99.3Matt Ranostay1-1/+1
Paired device count was being set to zero after getting initial list from the bluetooth service. Bug-AGL: SPEC-1123 Change-Id: If4d70e45bcb2b3fcbde3f4ace0d251601e38c157 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-13QML: Bluetooth patch to limit device name lengthLiPengKun1-1/+8
This is a patch to fix the Bluetooth issue that long device name may cover pair button Change-Id: Ida0fd980cf3308be959eb74ea30e11beeffd5453 Signed-off-by: LiPengKun <pengkun.li@jp.alps.com>
2017-09-01qml: change BT layouteel_4.99.1eel/4.99.14.99.1sandbox/kmitsunari/hmi-frameworkLiPengKun1-47/+179
This is change BT discoveried BT device into two list. List 1 : this is a list for paired device. List 2 : this is a list for discoveried device that not paired. Change-Id: I5a24b6278078e267150d2f88e94c4eb32719f52b Signed-off-by: LiPengKun <pengkun.li@jp.alps.com>
2017-08-08qml: bluetooth: update subscription to eventsMatt Ranostay1-53/+4
Update the subscription to bluetooth events to the new more consistent format Bug-AGL: SPEC-819 Change-Id: I4236ca5f018be42d58f474220c418354437721f4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-05-12bluetooth: allow detection of bluetooth enabledMatt Ranostay1-0/+10
Bluetooth can now be enabled via connmand dbus service, and needs to detect if already enabled. Change-Id: I279a571b89381579eb05705410210a9266039377 Bug-AGL: SPEC-570 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-05-12qml: bluetooth: remove Windows/DOS end-of-linesMatt Ranostay1-521/+521
Recent merge of websocket changes introducted MSDOS/Windows end of lines, this patchset removes them with dos2unix. Bug-AGL: SPEC-592 Change-Id: Id16cae4e3cab1da8ed789b0924410c0e4ac7937b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-19BT: Update to support WebSocketyidongmiao1-369/+521
modified: app/bluetooth/Bluetooth.qml modified: binding-bluetooth/binding-bluetooth.pro new file: binding-bluetooth/bluetooth-agent.c new file: binding-bluetooth/bluetooth-agent.h modified: binding-bluetooth/bluetooth-api.c modified: binding-bluetooth/bluetooth-api.h modified: binding-bluetooth/bluetooth-manager.c modified: binding-bluetooth/bluetooth-manager.h new file: binding-bluetooth/bluez-client.c new file: binding-bluetooth/bluez-client.h new file: binding-bluetooth/lib_agent.c new file: binding-bluetooth/lib_agent.h new file: binding-bluetooth/lib_bluez.c new file: binding-bluetooth/lib_bluez.h new file: binding-bluetooth/lib_ofono.c new file: binding-bluetooth/lib_ofono.h new file: binding-bluetooth/lib_ofono_modem.c new file: binding-bluetooth/lib_ofono_modem.h new file: binding-bluetooth/ofono-client.c new file: binding-bluetooth/ofono-client.h modified: Bluetooth.qml Change-Id: I18bc7ed86b6759d5b55a2662cf3ebd0d1e81b07f Signed-off-by: yidongmiao <yidong.miao@cn.alps.com> Jira identifier: SPEC-528
2016-12-22Merge "Wifi & Bluetooth: use binding address defined in main.cpp"Jan-Simon Moeller1-6/+1
2016-12-22Merge "Modify poll interval"Jan-Simon Moeller1-1/+1
2016-12-22Modify poll intervalsrimaldia1-1/+1
Change-Id: I2a963667dd1eadb92533746fba829d7fe5916a3d Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
2016-12-22Wifi & Bluetooth: use binding address defined in main.cppTasuku Suzuki1-6/+1
Change-Id: I37927e3287cc63531e58aedec0fee67eb4331e47 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-22Modify UI design of Wifi and Bluetoothsrimaldia1-117/+152
Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
2016-12-22Revert GUI Wifi and Blouetooth to latest mergeredsrimaldia1-152/+117
Change-Id: I9c8d36e9c4d9068e7c7bcb8834d84dd2cf810874 Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
2016-12-22Modify UI Design of Wifi and Bluetoothsrimaldia1-117/+152
Change-Id: I9c8d36e9c4d9068e7c7bcb8834d84dd2cf810874 Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
2016-12-15Modify UI for Bluetooth and Wifisrimaldia1-21/+19
Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
2016-12-14merge the Settings in CES2017 and bindings from ALPSTasuku Suzuki1-0/+341
Change-Id: I00a7a6c5dae1cd579f91d543b0f5fba4616a633b Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>