 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
 ---
  SConstruct     |  10 ++
- driver_pds.c   | 361 +++++++++++++++++++++++++++++++++++++++++++++++++
+ driver_pds.c   | 325 +++++++++++++++++++++++++++++++++++++++++++++++++
  driver_pds.h   |  20 +++
  drivers.c      |   5 +
- gpsd.h         |  20 ++-
- libgpsd_core.c |  15 +-
- 6 files changed, 424 insertions(+), 7 deletions(-)
+ gpsd.h         |  14 ++-
+ libgpsd_core.c |  15 ++-
+ 6 files changed, 382 insertions(+), 7 deletions(-)
  create mode 100644 driver_pds.c
  create mode 100644 driver_pds.h
 

 
 	for (dp = gpsd_drivers; *dp; dp++) {
-- 
2.17.0


+		return -1;
+	}
+
+	/* TODO: Validate sq to be our peer */
+
+	session->lexer.type = QMI_PDS_PACKET;
+
+	hdr = buf;
+	if (hdr->type != QMI_INDICATION ||
