  	      source_pty,	/* PTY: we don't require exclusive access */
  	      source_tcp,	/* TCP/IP stream: case detected but not used */
  	      source_udp,	/* UDP stream: case detected but not used */
-@@ -699,6 +701,12 @@ struct gps_device_t {
- 	    unsigned char sid[8];
- 	} nmea2000;
- #endif /* NMEA2000_ENABLE */
-+#ifdef PDS_ENABLE
-+	struct {
-+		unsigned int node;
-+		unsigned int port;
-+	} pds;
-+#endif /* PDS_ENABLE */
- 	/*
- 	 * This is not conditionalized on RTCM104_ENABLE because we need to
- 	 * be able to build gpsdecode even when RTCM support is not
 diff --git a/libgpsd_core.c b/libgpsd_core.c
 index 85b8d86a..4f6a11ed 100644
 --- a/libgpsd_core.c

     &driver_rtcm104v2,
 #endif /* RTCM104V2_ENABLE */
diff --git a/gpsd.h b/gpsd.h
index 2bd5f4c0..b24c6e65 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -163,12 +163,13 @@ struct gps_lexer_t {

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