summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-24libqtappfw: fix compile issue with SDKhalibut_7.99.2halibut/7.99.27.99.2Matt Ranostay1-0/+2
To avoid "SkippingbecauseOE_QMAKE_PATH_EXTERNAL_HOST_BINSisnotdefined" error messages when building with the SDK add the respective path to CMakeLists.txt Bug-AGL: SPEC-2535 Change-Id: I76a3204ebb26f7c30535299d8f8582320315c5f0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-20libqtappfw: pbap: fix compile error in if statementMatt Ranostay1-1/+1
Bug-AGL: SPEC-2541 Change-Id: I71961e011b4d4bbce2720896dbc0e2e43774cd14 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-20Merge "libqtappfw: pbap: add import verb for contacts"Jan-Simon Moeller3-4/+13
2019-06-19libqtappfw: pbap: add import verb for contactsMatt Ranostay3-4/+13
To allow the switch from on every connection of updating the contact info to per UI request of syncing. This patchset adds the 'import' verb call. OBEX transfer are very slow and ineffective for redundant data. Also max_entries parameter is still left in for backwards compatiblity but not used in the actual binding call. Bug-AGL: SPEC-2541 Change-Id: I94e43b1fb5f6eeae3efde7d14ce7c3816cebe0ad Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-18network: add wired adapter & modelRaquel Medina10-58/+336
-Add WiredAdapter implementation -Add WiredNetworkModel implementation Bug-AGL: SPEC-2293 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ibed93ae3a3cca1bc8e7a23c872c7ab3b8271e586
2019-06-11network: fix warning on return pathRaquel Medina1-0/+1
There's no return value if the WifiAdapter is not found and thus the compiler warning. Bug-AGL: SPEC-2293 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I59a2e5e7a86c845669b673753ec97dbaee0fc5ab
2019-06-11network: rework WifiNetworkModel implementationRaquel Medina4-153/+14
Rework WifiNetworkModel implementation to use AbstractNetworkModel and ConnectionProfile classes. Bug-AGL: SPEC-2293 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I47dc3dc1ef54ae24e176f8ff269b1219f3fcbc6c
2019-06-10network: add network model abstractionRaquel Medina4-0/+179
- AbstractNetworkModel : abstract class which provides common functionality and data to all network models. -ConnectionProfile : super class which aglomerates connection property information, independently of the technology type (e.g. wired or wifi). A network model contains a list of available connection profiles pertinent to the model. Bug-AGL: SPEC-2293 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ic7b9d59802d13067e057948d1fb109852f35c2fd
2019-05-30Revert "network: add dummy methods for back compatibility"halibut_7.99.1halibut/7.99.17.99.1Raquel Medina1-11/+0
This reverts commit b95b16f5fe5671de805403b8067367e5de3044bc. That commit was introduced to ensure homescreen built without errors while swapping libqtappfw/network interface for a new one. Homescreen is already using the new interface, thus the commit can be reverted Bug-AGL: SPEC-2392 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ie92a16b9f66ddbca9c2502515e12c63fdc9752bb
2019-05-16libqtappfw: pbap: switch to vcard processing done in bindingMatt Ranostay4-79/+40
agl-service-bluetooth-pbap now outputs JSON data of processed vCard information, and now libvcard is no longer needed. Bug-AGL: SPEC-2392 Change-Id: Ice1ec6e1a22687f4839fd3e8a286d279d8a4f586 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-05-14network: add dummy methods for back compatibilityRaquel Medina1-0/+11
Include some dummy methods in Network class to keep homescreen build sane after change 21203 (network if rework) is picked by libqtappfw recipe; this commit will be reverted after homescreen change is updated too. Bug-AGL: SPEC-2293 Change-Id: I6e0b52d8bca6377266894742cda1a199fa14c5bb Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-05-13network: refactor network classRaquel Medina6-137/+267
Refactor network class to prepare for wired connections. - extract Wifi model and flags into new WifiAdapter class - fix wifi networks disappearing for prolonged periods after disconnecting from a wifi service (this issue is intermittent, depends on the wifi signal variability) Bug-AGL: SPEC-2293 Change-Id: I75f3076d094daa9c8d04e05fe2944df98f5cfb81 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-04-24network: update wifiStrength property typeRaquel Medina1-2/+2
Bug-AGL: SPEC-2293 Change-Id: I76c60df9563099f0d6093500f590f66fe3ad865e Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
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-25Merge "libqtappfw: bluetooth: add BluetoothModel support"Jan-Simon Moeller5-15/+319
2019-03-25Merge "libqtappfw: telephony: add onlineChanged signal"Jan-Simon Moeller3-1/+16
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-03-20libqtappfw: network: wifinetworkmodel: call clear() on listMatt Ranostay1-0/+1
After removing all items from wifi model the respective list m_networks needs to have clear() called Change-Id: I5058e187015f362006df823e8e0e8b4ee2c32bc7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-14libqtappfw: telephony: add onlineChanged signalMatt Ranostay3-1/+16
Allow clients to receive Handsfree profile status to enable/disable dialpads and other functions. Bug-AGL: SPEC-2257 Change-Id: I3a614dbbdc9a75ffea103bb6b5182f48dae608b6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-28libqtappfw: network: add invalidPassphrase signalMatt Ranostay2-0/+5
Report invalid passphrases to clients via a signal Bug-AGL: SPEC-2183 Change-Id: I98d34942427bf971663bac23a30be35aa2ae8dea Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-28libqtappfw: message: add replyStatus/requestData methodsMatt Ranostay1-0/+10
Bug-AGL: SPEC-2183 Change-Id: Iafe0f3624035268460c12ab4c000ae4925bd4236 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-27libqtappfw: network: sort WiFI model by SSIDMatt Ranostay1-1/+7
To allow ease of scrolling through WiFi discovery list by sorting on SSID. Change-Id: I1a8c369b4215177b93e6c584fd50f12d091de7d4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-27libqtappfw: network: add remove() method for removal of servicesMatt Ranostay2-0/+13
Bug-AGL: SPEC-2184 Change-Id: Ic9b4513dd7f63f02a6012170225a4993555006c1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-21libqtappfw: mediaplayer: update loop command parameterMatt Ranostay2-3/+3
state parameter needs to be able to set to a respective string to enable various loop functionality (e.g. playlist, track, or off) This patchset needs to be merged, and respective SRCREV in the recipe to be updated before additional changes to avoid breakage. Bug-AGL: SPEC-2181 Change-Id: I37de12f7ed02fba5e15ef45c3a854967264f2014 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-13libqtappfw: mediaplayer: send empty artist + album data if noneMatt Ranostay1-3/+17
Avoid isues with clients always assuming there is an artist + album data by sending blank strings. Bug-AGL: SPEC-2180 Change-Id: Ifc1aab9f4a64bc2a142f56e1b3ffc40b1db1f5bd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-06Merge "libqtappfw: bluetooth: add transport to discovery filter"halibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Jan-Simon Moeller1-0/+1
2019-01-03libqtappfw: Add radio binding supportScott Murray8-0/+427
Add initial support for the radio binding. At the moment, everything required for the current demo radio application is in place. Further development will be required to fill in support for changing bands and the stereo mode. Change-Id: I1b1866856ce8388b34624c14c692102c344a7a62 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8053629c99f157e716a4560ef8d1e194d569d960)
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-12-27libqtappfw: pbap: add VC_PHOTO support to contactsMatt Ranostay2-7/+31
Provide photo support for a contacts vCard data Bug-AGL: SPEC-2088 Change-Id: Ia193a26acb4c829c09f3e57944b8e3d0e550de19 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-20libqtappfw: mediaplayer: set album art via qml contextguppy_6.99.3guppy/6.99.36.99.3Matt Ranostay1-1/+8
To avoid race conditions of album art not being displayed on startup Change-Id: Ic5776421cea408d4dbd06efc65b1f7561d45537a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-26libqtappfw: pkg-config: add Qt5WebSockets to requiredguppy_6.99.2guppy/6.99.26.99.2Matt Ranostay1-0/+1
Add Qt5WebSockets to Required define in qtappfw.pc.in to allowing linking applications to get proper dependencies. Change-Id: I728f2f9ae54f22aa3ebc4e861005eab1691da9a7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-25libqtappfw: mediaplayer: add connect/disconnect methodsMatt Ranostay2-0/+11
Allow libqtappfw middleware to connect/disconnect avrcp/a2dp profiles. Bug-AGL: SPEC-1630 Change-Id: Idd160ccddc90a211af3c43b19a731d6df6ae8b1e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-15Merge changes I0170eafa,I705df82d,I688cc19c,Iac48c5a1guppy_6.99.1guppy/6.99.16.99.1Jan-Simon Moeller4-136/+113
* changes: libqtappfw: bluetooth: send out power event libqtappfw: bluetooth: update to rewrite of bluetooth binding libqtappfw: bluetooth: remove avrcp_controls Revert "libqtappfw: bluetooth: add binding version 2.0 verbs"
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-11-01libqtappfw: make check for event message case insensitiveMatt Ranostay1-2/+2
Change-Id: I04f54d19ecddcc6ed87de8f360dd61710ec28b34 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 Ranostay7-32/+31
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-07-30Merge "network: add wifiStrength property"flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.35.99.65.99.55.99.45.99.3Matt Porter4-1/+23
2018-07-30Remove useless QtDeclarative cmake packageMatt Porter1-1/+1
Qt5Declarative has been deprecated by Qt5Qml, so use the Qt5Qml cmake package. Bug-AGL: SPEC-1541 Change-Id: I293dc4a7e8713e982feb01fb49afe6c2cb31e8a1 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-27network: add wifiStrength propertyMatt Porter4-1/+23
Add a wifiStrength property which exposes the signal strength of the currently connected network. This is intended to be used by global status indicators, such as a status bar WiFi strength indicator. Bug-AGL: SPEC-1626 Change-Id: I7285b04095bc67278c862fc363a2dfbfff57d44d Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25network: add network modelMatt Porter3-2/+419
Add the top-level network model. Supports connect, disconnect, power, and input invokables. Supports high-level WiFi enabled (powered) and connection status properties. Exposes the ConnMan-managed WiFi network list to QML. Bug-AGL: SPEC-1541 Change-Id: I623579aa6753ece4b4c0b78adef528732e1b41f3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25network: add wifinetworkmodelMatt Porter4-2/+239
Add WifiNetworkModel which exposes a QAbstractListModel of WiFi networks to QML. Bug-AGL: SPEC-1541 Change-Id: I1f4d41f1d1ceaa9b06a4b3df8b0b1cf41ea97ed2 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25add responsemessage.h to headersMatt Porter1-1/+1
Add responsemessage.h to the list of headers. This fixes the bug where it is not installed to the SDK. Bug-AGL: SPEC-1615 Change-Id: I77bf1bf3577166153573986cd379a1054553435e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10add base network module supportflounder_5.99.2flounder/5.99.25.99.2Matt Porter6-0/+89
Add support for new network binding messages. This is a prerequisite for the new network services list model. Bug-AGL: SPEC-1541 Change-Id: I204914b991016145958114b1e0e914eaf5b599fa Signed-off-by: Matt Porter <mporter@konsulko.com>