123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447 |
- [
- // *********************************************************************************
- { "name" : "PDS",
- "type" : "Service" },
- // *********************************************************************************
- { "name" : "QMI Client PDS",
- "type" : "Client",
- "since" : "1.0" },
- // *********************************************************************************
- { "name" : "QMI Message PDS",
- "type" : "Message-ID-Enum" },
- // *********************************************************************************
- { "name" : "QMI Indication PDS",
- "type" : "Indication-ID-Enum" },
- // *********************************************************************************
- { "name" : "Reset",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0000",
- "since" : "1.0",
- "output" : [ { "common-ref" : "Operation Result" } ] },
- // *********************************************************************************
- { "name" : "Set Event Report",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0001",
- "since" : "1.0",
- "input" : [ { "name" : "NMEA Position Reporting",
- "id" : "0x10",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Extended NMEA Position Reporting",
- "id" : "0x11",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Parsed Position Reporting",
- "id" : "0x12",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "External XTRA Data Request Reporting",
- "id" : "0x13",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "External Time Injection Request Reporting",
- "id" : "0x14",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "External WIFI Position Request Reporting",
- "id" : "0x15",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Satellite Information Reporting",
- "id" : "0x16",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "VX Network Initiated Request Reporting",
- "id" : "0x17",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "SUPL Network Initiated Prompt Reporting",
- "id" : "0x18",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "UMTS CP Network Initiated Prompt Reporting",
- "id" : "0x19",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "PDS Comm Event Reporting",
- "id" : "0x1A",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Accelerometer Data Streaming Ready Reporting",
- "id" : "0x1B",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Gyro Data Streaming Ready Reporting",
- "id" : "0x1C",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Time Sync Request Reporting",
- "id" : "0x1D",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Position Reliability Indicator Reporting",
- "id" : "0x1E",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Sensor Data Usage Indicator Reporting",
- "id" : "0x1F",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Time Source Information Reporting",
- "id" : "0x20",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Heading Uncertainty Reporting",
- "id" : "0x21",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "NMEA Debug Strings Reporting",
- "id" : "0x22",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Extended External XTRA Data Request Reporting",
- "id" : "0x23",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "gboolean" } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
- { "name" : "Event Report",
- "type" : "Indication",
- "service" : "PDS",
- "id" : "0x0001",
- "since" : "1.0",
- "output" : [ { "name" : "NMEA Position",
- "id" : "0x10",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "string",
- "max-size" : "200" },
- { "name" : "Extended NMEA Position",
- "id" : "0x11",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "sequence",
- "contents" : [ { "name" : "Operation Mode",
- "format" : "gint8",
- "public-format" : "QmiPdsOperationMode" },
- { "name" : "NMEA",
- "format" : "string",
- // This was supposed to be only 1 byte for length, but it seems it's not
- "size-prefix-format" : "guint16",
- "max-size" : "200" } ] },
- { "name" : "Position Session Status",
- "id" : "0x12",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "guint8",
- "public-format" : "QmiPdsPositionSessionStatus" } ] },
- // TODO: parse all TLVs of this indication
- // Reading gfloat/gdouble is still missing
- //{ "name" : "Parsed Position",
- // "id" : "0x13",
- // "type" : "TLV",
- // "format" : "sequence",
- // "contents" : [ { "name" : "Valid Mask",
- // "format" : "gint8" },
- // { "name" : "Timestamp Calendar",
- // "format" : "struct",
- // "contents" : [ { "name" : "Year",
- // "format" : "guint16" },
- // { "name" : "Month",
- // "format" : "guint8" },
- // { "name" : "Day Of Week",
- // "format" : "guint8" },
- // { "name" : "Day of Month",
- // "format" : "guint8" },
- // { "name" : "Hour",
- // "format" : "guint8" },
- // { "name" : "Minute",
- // "format" : "guint8" },
- // { "name" : "Second",
- // "format" : "guint8" },
- // { "name" : "Millisecond",
- // "format" : "guint16" } ] },
- // { "name" : "Leap Seconds",
- // "format" : "guint8" },
- // { "name" : "Timestamp UTC",
- // "format" : "guint64" },
- // { "name" : "Time Uncertainty",
- // "format" : "guint32" },
- // { "name" : "Latitude",
- // "format" : "gdouble" },
- // { "name" : "Longitude",
- // "format" : "gdouble" },
- // { "name" : "Altitude Ellipsoid",
- // "format" : "gfloat" },
- // { "name" : "Altitude Sea Level",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Speed",
- // "format" : "gfloat" },
- // { "name" : "Vertical Speed",
- // "format" : "gfloat" },
- // { "name" : "Heading",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Uncertainty Circular",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Uncertainty Ellipse Semi Major",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Uncertainty Ellipse Semi Minor",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Uncertainty Ellipse Orient Azimuth",
- // "format" : "gfloat" },
- // { "name" : "Vertical Uncertainty",
- // "format" : "gfloat" },
- // { "name" : "Horizontal Velocity Uncertainty",
- // "format" : "gfloat" },
- // { "name" : "Vertical Velocity Uncertainty",
- // "format" : "gfloat" },
- // { "name" : "Horizontal confidence",
- // "format" : "guint8" },
- // { "name" : "Position DOP",
- // "format" : "gfloat" },
- // { "name" : "Horizontal DOP",
- // "format" : "gfloat" },
- // { "name" : "Vertical DOP",
- // "format" : "gfloat" },
- // { "name" : "Operation Mode",
- // "format" : "gint8",
- // "public-format" : "QmiPdsOperationMode" } ],
- // "prerequisites": [ { "field" : "Position Session Status",
- // "operation" : "<=",
- // "value" : "QMI_PDS_POSITION_SESSION_STATUS_IN_PROGRESS" } ] } ] }
- // *********************************************************************************
- { "name" : "Get GPS Service State",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0020",
- "since" : "1.0",
- "output" : [ { "common-ref" : "Operation Result" },
- { "name" : "State",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "sequence",
- "contents" : [ { "name" : "GPS Service State",
- "format" : "guint8",
- "public-format" : "gboolean" },
- { "name" : "Tracking Session State",
- "format" : "guint8",
- "public-format" : "QmiPdsTrackingSessionState" } ],
- "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
- // *********************************************************************************
- { "name" : "Set GPS Service State",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0021",
- "since" : "1.0",
- "input" : [ { "name" : "State",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "sequence",
- "contents" : [ { "name" : "GPS Service State",
- "format" : "guint8",
- "public-format" : "gboolean" } ] } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
- // *********************************************************************************
- { "name" : "Get Default Tracking Session",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0029",
- "since" : "1.12",
- "output" : [ { "common-ref" : "Operation Result" },
- { "name" : "Info",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "sequence",
- "contents" : [ { "name" : "Session Operation",
- "format" : "guint8",
- "public-format" : "QmiPdsOperatingMode" },
- { "name" : "Position Data Timeout",
- "format" : "guint8" },
- { "name" : "Interval",
- "format" : "guint32" },
- { "name" : "Accuracy Threshold",
- "format" : "guint32" } ],
- "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
- // *********************************************************************************
- { "name" : "Set Default Tracking Session",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x002A",
- "since" : "1.12",
- "input" : [ { "name" : "Info",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "sequence",
- "contents" : [ { "name" : "Session Operation",
- "format" : "guint8",
- "public-format" : "QmiPdsOperatingMode" },
- { "name" : "Position Data Timeout",
- "format" : "guint8" },
- { "name" : "Interval",
- "format" : "guint32" },
- { "name" : "Accuracy Threshold",
- "format" : "guint32" } ] } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
- // *********************************************************************************
- { "name" : "Get AGPS Config",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x002E",
- "since" : "1.12",
- "input" : [ { "name" : "Network Mode",
- "id" : "0x12",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "guint8",
- "public-format" : "QmiPdsNetworkMode" } ],
- "output" : [ { "common-ref" : "Operation Result" },
- { "name" : "Location Server Address",
- "id" : "0x10",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "sequence",
- "contents" : [ { "name" : "IP",
- "format" : "guint32",
- "endian" : "little" },
- { "name" : "Port",
- "format" : "guint32" } ],
- "prerequisites" : [ { "common-ref" : "Success" } ] },
- { "name" : "Location Server URL",
- "id" : "0x11",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "array",
- "size-prefix-format" : "guint8",
- "array-element" : { "format" : "guint8" },
- "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
- // *********************************************************************************
- { "name" : "Set AGPS Config",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x002F",
- "since" : "1.12",
- "input" : [ { "name" : "Location Server Address",
- "id" : "0x10",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "sequence",
- "contents" : [ { "name" : "IP",
- "format" : "guint32",
- "format" : "guint32" },
- { "name" : "Port",
- "format" : "guint32" } ] },
- { "name" : "Location Server URL",
- "id" : "0x11",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "array",
- "size-prefix-format" : "guint8",
- "array-element" : { "format" : "guint8" } },
- { "name" : "Network Mode",
- "id" : "0x14",
- "type" : "TLV",
- "since" : "1.12",
- "format" : "guint8",
- "public-format" : "QmiPdsNetworkMode" } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
- // *********************************************************************************
- { "name" : "Get Auto Tracking State",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0030",
- "since" : "1.0",
- "output" : [ { "common-ref" : "Operation Result" },
- { "name" : "State",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "sequence",
- "contents" : [ { "name" : "Auto Tracking State",
- "format" : "guint8",
- "public-format" : "gboolean" } ],
- "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
- // *********************************************************************************
- { "name" : "Set Auto Tracking State",
- "type" : "Message",
- "service" : "PDS",
- "id" : "0x0031",
- "since" : "1.0",
- "input" : [ { "name" : "State",
- "id" : "0x01",
- "type" : "TLV",
- "since" : "1.0",
- "format" : "sequence",
- "contents" : [ { "name" : "Auto Tracking State",
- "format" : "guint8",
- "public-format" : "gboolean" } ] } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
- // *********************************************************************************
- { "name" : "GPS Ready",
- "type" : "Indication",
- "service" : "PDS",
- "id" : "0x0060",
- "since" : "1.14" }
- ]
|