aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13gps-service-geolocation: api descriptionsandbox/benierc/newapisClément Bénier4-0/+488
- yaml file of an api description example - html file after generation with mkapihtml - mkapihtml: generate html file from yaml Change-Id: I0ec5646bd7ce7fff6d0a0ad5713aca140c01f4eb Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-03-07Merge "Increase timeout on gpsd response"Jan-Simon Moeller1-2/+7
2019-03-04Increase timeout on gpsd responseScott Murray1-2/+7
Timeouts in the polling of gpsd were being seen when using the GPS support in the Sierra Wireless MC74xx modem modules, seemingly due to slow startup times. An investigation in the gpsd source tree found that the sample clients either use a much longer poll timeout (60s), or retry the poll for up to 120s. The latter has been implemented to improve behavior, and startup with the MC74xx works as expected now. Change-Id: I732ce12e22bcd85315fed19fcf9182ba9dc5bb65 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-27autobuild: fix warnings due to cp command exit errorRaquel Medina2-26/+50
- bring latest version of autobuild script in - move conf.d/autobuild to root folder - update autobuild script to fix warnings triggered by cp operation error. Change-Id: Ia47c76d3f7957c7a9db4b3ad8fb728d9bf546b0f Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-10-31Migrate app-templates to CMake modulehalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.17.90.06.99.46.99.36.99.26.99.1Romain Forlot2-4/+8
Bug-AGL SPEC-1682 Change-Id: I1445d2b8ddbdcbf70bb994e912fd315e0323b1d2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-11Merge "binding: gps: update conf.d/app-templates submodule"Jan-Simon Moeller1-0/+0
2018-10-10binding: gps: update conf.d/app-templates submoduleMatt Ranostay1-0/+0
To allow coverage testing the conf.d/app-templates needs to be updated to recent commit. Bug-AGL: SPEC-1799 Change-Id: Ia89e8be4bb774ceab47c5f05f4f55ce2c0c47ffa Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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: I201e3f059c22d60fb5774e562c8e778977c35fe2 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-09-27Fix BUILD_TYPE in config.cmakeFrederic Marec1-1/+1
Change CMAKE_BUILD_TYPE in BUILD_TYPE to follow app-templates submodule update to allow overide of the value by command line Change-Id: I55f3edf4a2fae193c94490001fbf32810cdc7bdf Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-26Add tests for gps bindingFrederic Marec10-0/+551
ADD test.nmea in fixtures ADD README.md to launch test Change-Id: I10e12e94f8dfac54c6bb10c269c48c21a5971f8a Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-21Update version of conf.d/app-templates submodule.Frederic Marec1-0/+0
Changes of conf.d/app-templates: (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. Change-Id: I29548738084b1a3eb7d04e06098566cddb78d04f Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-07-19binding: gps: upgrade binder framework to v3guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.26.90.05.99.65.99.55.99.45.99.35.99.2Matt Ranostay3-10/+10
Change-Id: Iaab6e18dbfdd9366e0533a82f07789b94380b12d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-27binding: gps: update app-templates to current revisionflounder_5.99.1flounder/5.99.15.99.1Matt Ranostay4-13/+23
Update build scripts to app-templates to current revision to allow work on addition of gcov options. Bug-AGL: SPEC-1410 Change-Id: I70f8ad5efc2428421679b9bbe4ae87754cdfc0b9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-09binding: gps: add binding documentationMatt Ranostay1-13/+42
Add initial documentation for agl-service-gps service Bug-AGL: SPEC-1245 Change-Id: I0794842da975798637f01c6e2e4b366da686b2eb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-28binding: gps: add replay support for GPS tracesMatt Ranostay1-4/+78
Allow agl-service-gps to enter into demo mode using an previously recorded JSON GPS trace. This is entered by symlinking or copying a recorded trace log from the binding to ~/app-data/agl-service-gps/recording.log Bug-AGL: SPEC-1139 Change-Id: I5e1ac147000320035219b9183e4aeae1d9123429 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-28binding: gps: don't save null records in recordingMatt Ranostay1-3/+4
While waiting for GPS lock don't save 'null' entries. Bug-AGL: SPEC-1139 Change-Id: Iccac429c1ae024d2b26046558cb5ace9d4c85daf Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-22binding: gps: add tracking to event outputeel_4.99.3eel/4.99.34.99.3Matt Ranostay1-0/+5
Add tracking/heading value in degrees from true north for navigation applications Bug-AGL: SPEC-1068 Change-Id: I1798648bc1ea0076036f20f1312adef20b7ab1c1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-13binding: gps: add recording functionalityMatt Ranostay1-0/+104
Allow recording of gps position data from the binding to allow data for use in unit tests, and demonstrations. Bug-AGL: SPEC-1089 Change-Id: I58da8382835e5d3fc45193b6e552525835e034db Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-13Add gitreview file for mastereel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.14.99.24.99.1Jan-Simon Möller1-0/+5
Change-Id: Ieb4007223631efb1986527ede35d1bdaf06fb823 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-16binding: gps: add gpsd.socket race condition fixMatt Ranostay1-1/+6
Try up to 5 times with a 2500 ms interval to read data after a subscription to gpsd stream. This assures an initial connection to the gpsd.socket is in a known state. Bug-AGL: SPEC-832 Change-Id: Ice74c8372e2f592a353f1bd43ddde7d447ab0c8d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-13binding: gps: add timestamp to JSON responseMatt Ranostay1-0/+7
Return the timestamp from the gps fix in the JSON data response. Bug-AGL: SPEC-844 Change-Id: I6befdf3f02e523ad40ff73850b41d7a45730c0d8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-12binding: gps: check error flags for data structMatt Ranostay1-3/+5
Check to be sure no error flags are set to avoid having multiple partial events in a short span (under a second). This is will reduce processing from consumers of the gps binding, and assure all values are updated and valid at the same instant. Bug-AGL: SPEC-844 Change-Id: I8765481b7eef4c25087798e167b39680ad56e0cc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-12binding: gps: use _exit instead of abort()Matt Ranostay1-1/+1
Use threadsafe _exit() instead of abort() to have more clean logs. This avoid a confusing and unused backtrace from the AGL framework. Bug-AGL: SPEC-844 Change-Id: Ia3fb3b5cb1e0a8afdfd69dad525fb279ea51ce2b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-31binding: gps: add dop reportingMatt Ranostay1-0/+33
Add dilution of precision report to JSON output to allow subscribers to judge if the 3D fix lock is good enough. If not user should fall back to the geoclue binding support. Bug-AGL: SPEC-844 Change-Id: If5a520d23c8b455583a022ab07a02dea03185705 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-28binding: gps: rewrite binding to use libgpsMatt Ranostay3-971/+150
Rewrite gps binding to use libgps native functionality to communicate with gps over SOCK_STREAM socket. Bug-AGL: SPEC-844 Change-Id: I78d2d14900d69b542e8bd456df577ee9ecdcb103 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-28binding: gps: move build to cmakeMatt Ranostay11-84/+337
Enable cmake build system for building webpack wgt, and remove unnecessary files Change-Id: Ia00b1ba7a9d26e7f8933c0ccc97bf8b91dbfa012 Bug-AGL: SPEC-823 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2016-07-09add .gitignoreStephane Desneux1-0/+5
Change-Id: I4ecea2af0d9a3af45c5756556f85fdc53115b065 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-08using service for initialisationJosé Bollo2-5/+6
Change-Id: I1792c2acb5bbd8fbd1e7760ecefe265909c5008f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08more document on verbsJosé Bollo1-0/+35
Change-Id: Iaa41e3387fd2d85214e1bdb39ba211347df36615 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08Update README.mdsdx1-3/+3
2016-07-08first attempt to tune gpsd to nmeaJosé Bollo1-0/+4
Change-Id: I22f068aafcda1c9fb39692edaf64f303d2dcbf89 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08README: add more detailsStephane Desneux1-0/+13
Change-Id: Ic255000cb53beb026c891dca63ef301cac9b6fc3 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-08adds log message when connectedJosé Bollo1-0/+2
Change-Id: Ia90b97125be798c069c15b32276514438943e6fd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08downgrade cmake to 3.3José Bollo3-21/+42
Change-Id: I1bed50e53ea1bd5c34ff494c14fff01862d832e8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08more commentsJosé Bollo1-55/+131
Change-Id: If4b079d38aa9ab66438e8470a8c3e06de5e5573f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08first functionnal versionJosé Bollo1-18/+424
Change-Id: If78c042f53c493a160ff3416c042599fcfba89f7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08refactor of flagsJosé Bollo1-25/+34
Change-Id: Iea4afa37bcb44698c6191e4eebdb395b4c3495d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-08fix angle measurementJosé Bollo1-8/+5
Change-Id: I63ed2e6001f1cfedf82e527667d56a7787934315 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-07record few framesJosé Bollo1-28/+61
Change-Id: I99ed382977e5bf755539f395bf3ab87060311a27 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-07initial commitJosé Bollo6-0/+575
Change-Id: I11c093ad112268a35317f44a5c2500c3978f38dd Signed-off-by: José Bollo <jose.bollo@iot.bzh>