sync with libqmi-glib
[project/uqmi.git] / data / qmi-service-pds.json
index c87ce7a95b6e7271427a01897470a6f2a77dd864..b2e3cb8a6793d7a80d0b7319ddc869973c3ce305 100644 (file)
                                        "public-format" : "gboolean" } ] } ],
      "output"  : [ { "common-ref" : "Operation Result" } ] },
 
+  // *********************************************************************************
+  {  "name"    : "Get Default Tracking Session",
+     "type"    : "Message",
+     "service" : "PDS",
+     "id"      : "0x0029",
+     "version" : "1.0",
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Info",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "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",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Info",
+                     "id"        : "0x01",
+                     "mandatory" : "yes",
+                     "type"      : "TLV",
+                     "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",
+     "version" : "1.0",
+     "input"   : [ { "name"          : "Network Mode",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "QmiPdsNetworkMode" } ],
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"      : "Location Server Address",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "IP",
+                                       "format" : "guint32",
+                                       "endian" : "little" },
+                                     { "name"   : "Port",
+                                       "format" : "guint32" } ],
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"               : "Location Server URL",
+                     "id"                 : "0x11",
+                     "mandatory"          : "no",
+                     "type"               : "TLV",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "format" : "guint8" },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Set AGPS Config",
+     "type"    : "Message",
+     "service" : "PDS",
+     "id"      : "0x002F",
+     "version" : "1.0",
+     "input"   : [ { "name"      : "Location Server Address",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"   : "IP",
+                                       "format" : "guint32",
+                                       "format" : "guint32" },
+                                     { "name"   : "Port",
+                                       "format" : "guint32" } ] },
+                   { "name"               : "Location Server URL",
+                     "id"                 : "0x11",
+                     "mandatory"          : "no",
+                     "type"               : "TLV",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "format" : "guint8" } },
+                   { "name"          : "Network Mode",
+                     "id"            : "0x14",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "QmiPdsNetworkMode" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
   // *********************************************************************************
   {  "name"    : "Get Auto Tracking State",
      "type"    : "Message",