aboutsummaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
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 Ranostay1-971/+95
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 Ranostay2-0/+1090
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>