summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-06-29libqtappfw: mediaplayer: change from JSON objects to proper Qt modelMatt Ranostay2-4/+83
Switch to using proper Qt model versus JSON objects being passed to QML Bug-AGL: SPEC-1430 Change-Id: Ic07a355fee3292d113bc62bee9acb0764a0a5458 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-29libqtappfw: vimrc: add correct settings for header filesMatt Ranostay1-0/+1
Change tabspacing and shifting to 4 spaces with expandtab to match current formatting. Change-Id: I3666d590c7bcc77cdf3f727fcbe87686dd5adc93 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-26pbap: add PBAP data backed ContactsModelflounder_5.99.1flounder/5.99.15.99.1Matt Porter2-10/+28
Expose the PBAP phonebook as a QList of Contact QObjects. Each contact has a variable amount of PhoneNumber objects exposed as a list property. PhoneNumber objects carry both the value and type of phone entry (mobile, work, etc.) Bug-AGL: SPEC-1436 Change-Id: Id22f394c13fd842e36c7866342ed7785b243a27b Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-26pbap: sort and trim contact listMatt Porter2-0/+14
Sort the contacts list alphabetically and trim out bogus entries. Bug-AGL: SPEC-1436 Change-Id: I71e4311bb7638750732ba27fbeaa76c063113c46 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25pbap: clear the recent call list before updatingMatt Porter1-0/+2
The recent call list was being appended rather than reinitialized from the new data. Always clear the list before an update. Bug-AGL: SPEC-1436 Change-Id: I8062606ab84fca75bdc70a68e41b7890fdf8a150 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25Reorg binding-specific modules into subdirectoriesMatt Porter26-9/+58
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>
2018-06-22pbap: add contacts support and recent call modelMatt Porter4-6/+344
Add support for parsing contacts and recent call data from the PBAP-provided vCards using libvcard. Expose a recent call list model and interfaces to refresh the data. Bug-AGL: SPEC-1436 Change-Id: Ia4a02443e22e4a27dc974ef414b765667b26ff83 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-14Add core Bluetooth PBAP supportMatt Porter7-2/+194
Adds minimal Bluetooth PBAP message and models. Implements search invokable to support phone number to name lookup of incoming and originated calls. Bug-AGL: SPEC-1438 Change-Id: Ic5a68d933b5d6b4f4da3e4c8c5c5a0f59a93f34c Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-13message: add response message supportMatt Ranostay9-40/+182
Add support for callid sequencing, and request data being included with the response message. Bug-AGL: SPEC-1404 Change-Id: I259ae3da68e55de17eafe9db534258db5fbc3ef8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-10libqtappfw: mediaplayer: switch from QJsonObject to QVariantMapMatt Ranostay2-4/+4
Use more generic QVariantMap in signals to avoid requiring a consumer from using QJsonObject includes. Bug-AGL: SPEC-1375 Change-Id: I4efba63a464c7c6da2f06abb4cf17b6782c57f43 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-07libqtappfw: bluetooth: add missing parameter to powerChanged() signalMatt Ranostay2-3/+3
Pass along the *state* parameter to the powerChanged signal for reporting bluetooth state Change-Id: Idbb283c9c5a46a3ed58f59ffb58983f6e585e3d3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-30libqtappfw: message: fix memory leak with QJsonArrayMatt Ranostay2-6/+12
QJsonArray object was being allocated on the heap and never freed. Switch to having a m_request member field and confirming it is only populated with data once. Change-Id: I60f406eff032650cac878efa7e1db61ee18e2eb2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-21libqtappfw: bluetooth: add initial avrcp controlsMatt Ranostay2-0/+26
To allow the Mediaplayer application to control avrcp there needs to be a callable set_avrcp_controls() function Bug-AGL: SPEC-1385 Change-Id: I10d9cbaca5688548b8fb174754c19874e2357fab Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19libqtappfw: bluetooth: add initial agl-service-bluetooth supportMatt Ranostay7-2/+379
Add initial support for libqtappfw of the agl-service-bluetooth binding to allow removal of QML logic from the Settings application Bug-AGL: SPEC-1385 Change-Id: Iea909af113590667d619afcf09c50523c1c34035 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-18libqtappfw: add response data reportingMatt Ranostay2-2/+17
Report back response data that respective messages can process and emit via QT signals Bug-AGL: SPEC-1385 Change-Id: I2a82dd9b85855a20fdd8f03cb82ad5ac0920d8c4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-17vimrc: change noexpandtab to expandtabMatt Ranostay1-1/+1
Acutally cpp/c++ files are expanding tabs to spaces Bug-AGL: SPEC-1387 Change-Id: Ia1418d09967745efb2098bac2cba375a72add2df Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-11vimrc: add project startup file for vimMatt Ranostay1-0/+1
To avoid corrupting syntax in project we need to add an per project .vimrc to signal formatting. You must enable in user home directory .vimrc with 'set exrc' and 'set secure' lines Bug-AGL: SPEC-1387 Change-Id: I5c1ca4094f88e6ee9bf3fd921c6b8059d7027303 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-10Merge "libqtappfw: mediaplayer: initial agl-service-mediaplayer binding support"Matt Porter7-2/+308
2018-04-06libqtappfw: mediaplayer: initial agl-service-mediaplayer binding supportMatt Ranostay7-2/+308
Add initial support interface between agl-service-mediaplayer and libqtappfw Bug-AGL: SPEC-1375 Change-Id: I740d8cddfd73198b7a3246cb46c941da9f3175d1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>