Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Change-Id: Iaab6e18dbfdd9366e0533a82f07789b94380b12d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|