summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16binding: network: remove unimplemented counter functionalityguppy_6.99.4guppy/6.99.46.99.4Matt Ranostay3-87/+0
counter_event wasn't implemented, and the respective reset_counters verb doesn't really have any use. Change-Id: Ibc2142b7f58c06e67430b31307bc7139837c9866 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-31Migrate app-templates to CMake moduleguppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.3guppy/6.99.2guppy/6.99.16.99.36.99.26.99.1Romain Forlot2-5/+9
Bug-AGL SPEC-1682 Change-Id: Idae812ce53bf9cc2ac6e22f7fbc6d66727a73469 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-1/+1
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I821c8f73432a4c657277bbfe11f4780ce85f4de1 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-22binding: networking: add type to simple_gvariant_to_jsonguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Matt Ranostay1-0/+1
add G_VARIANT_CLASS_OBJECT_PATH to processing function since it is effectively a string. Change-Id: Ifb079681a840442ee75e755c33abd162db1d9d2a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-10binding: networking: remove global state variableflounder_5.99.3flounder/5.99.35.99.3Matt Ranostay1-20/+25
Switch to the AFB framework v3 functionality to save userdata pointers versus using a global definition. Bug-AGL: SPEC-1660 Change-Id: I71752d3e392b4d8bb00e394f44f414813b83a85d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-10binding: network: upgrade to AFB v3 frameworkMatt Ranostay4-57/+57
Upgrade the binding to use v3 datatypes, and function parameters. Bug-AGL: SPEC-1660 Change-Id: I50b88b8d87a7176917bfa639bc8cffc0bc2bed89 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-10binding: network: tests: change default tokenMatt Ranostay1-1/+1
Change the DEFAULT_TOKEN to the AGL default of HELLO Bug-AGL: SPEC-1660 Change-Id: I53b94b76d3f63d566105b35a63cebd3d9cc8ae2d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-24Fix crash in parsing of technology added and removed signalsflounder_5.99.2flounder/5.99.25.99.2Matt Porter1-2/+2
The object path in the TechnologyAdded and TechnologyRemoved signals is provided as a tuple. The binding currently segfaults when receiving this signal since it tries to parse it with an invalid variant format string. Update the format string parameter to reflect that it should parse the object path as a tuple. Bug-AGL: SPEC-1585 Change-Id: I36a588ec43475a24996b9a58c1f326a35d260396 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-11Return service change event arrays in a nested objectMatt Porter1-4/+6
When generating a services event, nest the array of service changes in another object under the "values" key. Bug-AGL: SPEC-1540 Change-Id: Id71bc1863ab564a7f6e4753a7fc082ccbe5a9596 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10Return technology and service response arrays in a nested objectMatt Porter1-4/+7
The binding currently just attachs a json array to the response object. To make parsing of the reply payload simpler, always attach a json object with the array added to the "values" key. Bug-AGL: SPEC-1540 Change-Id: I1753ec4a2d1c0186e807db004d58d2016c0e8e96 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10update event namesMatt Porter1-3/+3
Some event names had _event appended to them and there are a couple typos. Fix these to make the naming consistent throughout the binding. Bug-AGL: SPEC-1540 Change-Id: Ia006acd17df371cfe6ff299bb6b420dc7b22a24e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10remove ping verbMatt Porter1-21/+0
The ping verb was used in testing and is no longer needed. Remove it. Bug-AGL: SPEC-1540 Change-Id: Ia906c2b489f56188e87061ad675330dd29581f97 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10initial network service bindingPantelis Antoniou17-0/+5234
The AGL network service binding exposes connman apis via the AGL application framework. All network connectivity technologies are supported via the binding, limited only by the underlying connman daemon. Bug-AGL: SPEC-1540 Change-Id: Id73cfc98c7abe97cb655a4fc40d440422fa75803 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> [Cleanups to whitespace and naming to match other services] Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-02Initial empty repositoryJan-Simon Moeller0-0/+0