aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11binding: gps: add binding documentationeel_5.1.0eel_5.0.3eel_5.0.2eel_5.0.1eel/5.1.0eel/5.0.3eel/5.0.2eel/5.0.15.1.05.0.35.0.25.0.1eelMatt 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-29Add .gitreview defaultbranch for eeleel_5.0.0eel_4.99.5eel_4.99.4eel/5.0.0eel/4.99.5eel/4.99.45.0.04.99.54.99.4Jan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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>