uqmi: sync data from libqmi project
[project/uqmi.git] / data / qmi-service-wds.json
index 68042d3780091912302df5bac387b063512e3f14..84c509a214857d1465005478492d91d92194c60f 100644 (file)
      "type"          : "TLV",
      "format"        : "guint16",
      "public-format" : "QmiWdsDsProfileError",
-     "prerequisites" : [ { "field"     : "Result.Error Status",
+     "prerequisites" : [ { "field"     : "Result Error Status",
                            "operation" : "!=",
                            "value"     : "QMI_STATUS_SUCCESS" },
-                         { "field"     : "Result.Error Code",
+                         { "field"     : "Result Error Code",
                            "operation" : "==",
                            "value"     : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] },
 
       "name"       : "Username",
       "id"         : "0x1B",
       "type"       : "TLV",
-      "format"     : "string" },
+      "format"     : "string",
+      "personal-info" : "true" },
 
     { "common-ref" : "WDS Password",
       "name"       : "Password",
       "id"         : "0x1C",
       "type"       : "TLV",
-      "format"     : "string" },
+      "format"     : "string",
+      "personal-info" : "true" },
 
     { "common-ref" : "WDS Authentication",
       "name"       : "Authentication",
       "type"          : "TLV",
       "format"        : "array",
       "fixed-size"    : "8",
-      "array-element" : { "format": "guint16", "endian": "network" } },
+      "array-element" : { "format" : "guint16",
+                          "endian" : "network" } },
 
     { "common-ref"    : "WDS IPv6 Secondary DNS Address Preference",
       "name"          : "IPv6 Secondary DNS Address Preference",
       "type"          : "TLV",
       "format"        : "array",
       "fixed-size"    : "8",
-      "array-element" : { "format": "guint16", "endian": "network" } },
+      "array-element" : { "format" : "guint16",
+                          "endian" : "network" } },
 
     { "common-ref" : "WDS LTE QoS Parameters",
       "name"       : "LTE QoS Parameters",
                       "type"      : "TLV",
                       "since"     : "1.18",
                       "format"    : "sequence",
-                      "contents"  : [ { "name"          : "PDN Filter Handler",
-                                        "format"        : "array",
+                      "contents"  : [ { "name"               : "PDN Filter Handler",
+                                        "format"             : "array",
                                         "size-prefix-format" : "guint8",
-                                        "array-element" : { "format": "guint32" } } ] },
+                                        "array-element"      : { "format": "guint32" } } ] },
                     { "name"      : "Extended Data Bearer Technology",
                       "id"        : "0x2A",
                       "type"      : "TLV",
                       "format"    : "guint16" } ],
      "output"  : [  { "common-ref" : "Operation Result" } ] },
 
+  // *********************************************************************************
+  {  "name"    : "Indication Register",
+     "type"    : "Message",
+     "service" : "WDS",
+     "id"      : "0x0003",
+     "since"   : "1.32",
+     "input"   : [  { "name"          : "Report Extended IP Configuration Change",
+                      "id"            : "0x12",
+                      "mandatory"     : "no",
+                      "type"          : "TLV",
+                      "since"         : "1.32",
+                      "format"        : "guint8",
+                      "public-format" : "gboolean" },
+                    { "name"          : "Report Profile Changes",
+                      "id"            : "0x19",
+                      "mandatory"     : "no",
+                      "type"          : "TLV",
+                      "since"         : "1.34",
+                      "format"        : "guint8",
+                      "public-format" : "gboolean" } ],
+     "output"  : [  { "common-ref"    : "Operation Result" } ] },
+
   // *********************************************************************************
   {  "name"    : "Get Supported Messages",
      "type"    : "Message",
                       "id"        : "0x17",
                       "type"      : "TLV",
                       "since"     : "1.0",
-                      "format"    : "string" },
+                      "format"    : "string",
+                      "personal-info" : "true" },
                     { "name"      : "Password",
                       "id"        : "0x18",
                       "type"      : "TLV",
                       "since"     : "1.0",
-                      "format"    : "string" },
+                      "format"    : "string",
+                      "personal-info" : "true" },
                     { "name"          : "IP Family Preference",
                       "id"            : "0x19",
                       "type"          : "TLV",
                       "since"         : "1.0",
                       "format"        : "guint16",
                       "public-format" : "QmiWdsCallEndReason",
-                      "prerequisites" : [ { "field"     : "Result.Error Status",
+                      "prerequisites" : [ { "field"     : "Result Error Status",
                                             "operation" : "!=",
                                             "value"     : "QMI_STATUS_SUCCESS" },
-                                          { "field"     : "Result.Error Code",
+                                          { "field"     : "Result Error Code",
                                             "operation" : "==",
                                             "value"     : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] },
                     { "name"      : "Verbose Call End Reason",
                                         "public-format" : "QmiWdsVerboseCallEndReasonType" },
                                       { "name"   : "Reason",
                                         "format" : "gint16" } ],
-                      "prerequisites": [ { "field"     : "Result.Error Status",
+                      "prerequisites": [ { "field"     : "Result Error Status",
                                            "operation" : "!=",
                                            "value"     : "QMI_STATUS_SUCCESS" },
-                                         { "field"     : "Result.Error Code",
+                                         { "field"     : "Result Error Code",
                                            "operation" : "==",
                                            "value"     : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] } ] },
 
                      "format"        : "guint8",
                      "public-format" : "QmiWdsProfileType" } ],
      "output"  : [ { "common-ref" : "Operation Result" },
-                   { "name"          : "Profile List",
-                     "id"            : "0x01",
-                     "type"          : "TLV",
-                     "since"         : "1.8",
-                     "format"        : "array",
-                     "array-element" : { "name"     : "Profile",
-                                         "format"   : "struct",
-                                         "contents" : [ { "name"          : "Profile Type",
-                                                          "format"        : "guint8",
-                                                          "public-format" : "QmiWdsProfileType" },
-                                                        { "name"   : "Profile Index",
-                                                          "format" : "guint8" },
-                                                        { "name"   : "Profile Name",
-                                                          "format" : "string" } ] },
+                   { "name"               : "Profile List",
+                     "id"                 : "0x01",
+                     "type"               : "TLV",
+                     "since"              : "1.8",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "name"     : "Profile",
+                                              "format"   : "struct",
+                                              "contents" : [ { "name"          : "Profile Type",
+                                                               "format"        : "guint8",
+                                                               "public-format" : "QmiWdsProfileType" },
+                                                             { "name"   : "Profile Index",
+                                                               "format" : "guint8" },
+                                                             { "name"   : "Profile Name",
+                                                               "format" : "string" } ] },
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "common-ref" : "WDS Extended Error Code",
                      "since"      : "1.8" } ] },
                       "type"          : "TLV",
                       "since"         : "1.0",
                       "format"        : "guint32",
-                      "public-format" : "QmiWdsGetCurrentSettingsRequestedSettings" } ],
+                      "public-format" : "QmiWdsRequestedSettings" } ],
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "common-ref"    : "WDS Profile Name",
                       "since"         : "1.0",
                       "since"     : "1.0",
                       "format"    : "guint8",
                       "prerequisites" : [ { "common-ref" : "Success" } ] },
-                    { "name"      : "PCSCF Server Address List",
-                      "id"        : "0x23",
-                      "type"      : "TLV",
-                      "since"     : "1.0",
-                      "format"        : "array",
-                      "array-element" : { "name"     : "IPv4 Address",
-                                          "endian"   : "little",
-                                          "format"   : "guint32" },
-                      "prerequisites" : [ { "common-ref" : "Success" } ] },
-                    { "name"      : "PCSCF Domain Name List",
-                      "id"        : "0x24",
-                      "type"      : "TLV",
-                      "since"     : "1.0",
-                      "format"        : "array",
-                      "array-element" : { "name"               : "FQDN",
-                                          "format"             : "string",
-                                          "size-prefix-format" : "guint16" },
-                      "prerequisites" : [ { "common-ref" : "Success" } ] },
+                    { "name"               : "PCSCF Server Address List",
+                      "id"                 : "0x23",
+                      "type"               : "TLV",
+                      "since"              : "1.0",
+                      "format"             : "array",
+                      "size-prefix-format" : "guint8",
+                      "array-element"      : { "name"     : "IPv4 Address",
+                                               "endian"   : "little",
+                                               "format"   : "guint32" },
+                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
+                    { "name"               : "PCSCF Domain Name List",
+                      "id"                 : "0x24",
+                      "type"               : "TLV",
+                      "since"              : "1.0",
+                      "format"             : "array",
+                      "size-prefix-format" : "guint8",
+                      "array-element"      : { "name"               : "FQDN",
+                                               "format"             : "string",
+                                               "size-prefix-format" : "guint16" },
+                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
                     { "name"      : "IPv6 Address",
                       "id"        : "0x25",
                       "type"      : "TLV",
                                       { "name"       : "Prefix Length",
                                         "format"     : "guint8" } ],
                       "prerequisites" : [ { "common-ref" : "Success" } ] },
-                    { "name"      : "IPv6 Primary DNS Address",
-                      "id"        : "0x27",
-                      "type"      : "TLV",
-                      "since"     : "1.0",
-                      "format"    : "array",
-                      "fixed-size": "8",
+                    { "name"          : "IPv6 Primary DNS Address",
+                      "id"            : "0x27",
+                      "type"          : "TLV",
+                      "since"         : "1.0",
+                      "format"        : "array",
+                      "fixed-size"    : "8",
                       "array-element" : { "format": "guint16", "endian": "network" },
                       "prerequisites" : [ { "common-ref" : "Success" } ] },
-                    { "name"      : "IPv6 Secondary DNS Address",
-                      "id"        : "0x28",
-                      "type"      : "TLV",
-                      "since"     : "1.0",
-                      "format"    : "array",
-                      "fixed-size": "8",
+                    { "name"          : "IPv6 Secondary DNS Address",
+                      "id"            : "0x28",
+                      "type"          : "TLV",
+                      "since"         : "1.0",
+                      "format"        : "array",
+                      "fixed-size"    : "8",
                       "array-element" : { "format": "guint16", "endian": "network" },
                       "prerequisites" : [ { "common-ref" : "Success" } ] },
                     { "name"      : "MTU",
                       "since"     : "1.0",
                       "format"    : "guint32",
                       "prerequisites" : [ { "common-ref" : "Success" } ] },
-                    { "name"      : "Domain Name List",
-                      "id"        : "0x2A",
-                      "type"      : "TLV",
-                      "since"     : "1.0",
-                      "format"        : "array",
-                      "array-element" : { "name"               : "Domain Name",
-                                          "format"             : "string",
-                                          "size-prefix-format" : "guint16" },
-                      "prerequisites" : [ { "common-ref" : "Success" } ] },
+                    { "name"               : "Domain Name List",
+                      "id"                 : "0x2A",
+                      "type"               : "TLV",
+                      "since"              : "1.0",
+                      "format"             : "array",
+                      "size-prefix-format" : "guint8",
+                      "array-element"      : { "name"               : "Domain Name",
+                                               "format"             : "string",
+                                               "size-prefix-format" : "guint16" },
+                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
                     { "name"      : "IP Family",
                       "id"        : "0x2B",
                       "type"      : "TLV",
                       // guint16 with equivalent positive enum values.
                       "format"    : "guint16",
                       "public-format" : "QmiWdsExtendedTechnologyPreference",
+                      "prerequisites" : [ { "common-ref" : "Success" } ] },
+                    { "name"      : "Operator Reserved PCO",
+                      "id"        : "0x2F",
+                      "type"      : "TLV",
+                      "since"     : "1.32",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "MCC",
+                                        "format"        : "guint16"},
+                                      { "name"          : "MNC",
+                                        "format"        : "guint16" },
+                                      { "name"          : "MNC Includes PCS Digit",
+                                        "format"        : "guint8",
+                                        "public-format" : "gboolean" },
+                                      { "name"               : "App Specific Info",
+                                        "format"             : "array",
+                                        "size-prefix-format" : "guint8",
+                                        "array-element"      : { "format" : "guint8" } },
+                                      { "name"          : "Container Id",
+                                        "format"        : "guint16" } ],
                       "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
                       "since"         : "1.0",
                       "format"        : "gint8",
                       "public-format" : "QmiWdsDataBearerTechnology",
-                      "prerequisites" : [ { "field"     : "Result.Error Status",
+                      "prerequisites" : [ { "field"     : "Result Error Status",
                                            "operation" : "!=",
                                            "value"     : "QMI_STATUS_SUCCESS" },
-                                         { "field"     : "Result.Error Code",
+                                         { "field"     : "Result Error Code",
                                            "operation" : "==",
                                            "value"     : "QMI_PROTOCOL_ERROR_OUT_OF_CALL" } ] } ] },
 
                      "format"        : "guint8",
                      "public-format" : "QmiWdsDataSystemNetworkType" } ],
      "output"  : [ { "common-ref"   : "Operation Result" },
-                   { "name"          : "Info",
-                     "id"            : "0x10",
-                     "type"          : "TLV",
-                     "since"         : "1.14",
-                     "format"        : "array",
-                     "array-element" : { "name"     : "Element",
-                                         "format"   : "struct",
-                                         "contents" : [ { "name"          : "IPv4 Throttled",
-                                                          "format"        : "gint8",
-                                                          "public-format" : "gboolean" },
-                                                        { "name"          : "IPv6 Throttled",
-                                                          "format"        : "gint8",
-                                                          "public-format" : "gboolean" },
-                                                        { "name"          : "IPv4 Throttle Time Left MS",
-                                                          "format"        : "guint32" },
-                                                        { "name"          : "IPv6 Throttle Time Left MS",
-                                                          "format"        : "guint32" },
-                                                        { "name"          : "APN",
-                                                          "format"        : "string" } ] },
-                     "prerequisites": [ { "common-ref" : "Success" } ] } ] },
+                   { "name"               : "Info",
+                     "id"                 : "0x10",
+                     "type"               : "TLV",
+                     "since"              : "1.14",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "name"     : "Element",
+                                              "format"   : "struct",
+                                              "contents" : [ { "name"          : "IPv4 Throttled",
+                                                               "format"        : "gint8",
+                                                               "public-format" : "gboolean" },
+                                                             { "name"          : "IPv6 Throttled",
+                                                               "format"        : "gint8",
+                                                               "public-format" : "gboolean" },
+                                                             { "name"          : "IPv4 Throttle Time Left MS",
+                                                               "format"        : "guint32" },
+                                                             { "name"          : "IPv6 Throttle Time Left MS",
+                                                               "format"        : "guint32" },
+                                                             { "name"          : "APN",
+                                                               "format"        : "string" } ] },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
   {  "name"    : "Get LTE Attach Parameters",
                      "public-format" : "QmiSioPort" } ],
      "output"  : [ { "common-ref" : "Operation Result" } ] },
 
+  // *********************************************************************************
+  {   "name"    : "Extended Ip Config",
+      "type"    : "Indication",
+      "service" : "WDS",
+      "id"      : "0x008C",
+      "since"   : "1.32",
+      "output"  : [ { "name"          : "Changed IP Configuration",
+                      "id"            : "0x10",
+                      "type"          : "TLV",
+                      "since"         : "1.32",
+                      "format"        : "guint32",
+                      "public-format" : "QmiWdsRequestedSettings" } ] },
+
   // *********************************************************************************
   {  "name"    : "Get Max LTE Attach PDN Number",
      "type"    : "Message",
       "service" : "WDS",
       "id"      : "0x0093",
       "since"   : "1.28",
-      "input"   : [ { "name"          : "List",
-                      "id"            : "0x01",
-                      "type"          : "TLV",
-                      "since"         : "1.28",
-                      "format"        : "array",
-                      "array-element" : { "name"     : "PDN Profile ID",
-                                          "format"   : "guint16" }},
+      "input"   : [ { "name"               : "List",
+                      "id"                 : "0x01",
+                      "type"               : "TLV",
+                      "since"              : "1.28",
+                      "format"             : "array",
+                      "size-prefix-format" : "guint8",
+                      "array-element"      : { "name"     : "PDN Profile ID",
+                                               "format"   : "guint16" }},
                     { "name"          : "Action",
                       "id"            : "0x10",
                       "type"          : "TLV",
       "service" : "WDS",
       "id"      : "0x0093",
       "since"   : "1.28",
-      "output"  : [ { "common-ref"   : "Operation Result" },
-                    { "name"          : "Action Result",
+      "output"  : [ { "name"          : "Action Result",
                       "id"            : "0x01",
                       "type"          : "TLV",
                       "since"         : "1.28",
                       "format"        : "guint8",
-                      "public-format" : "gboolean",
-                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+                      "public-format" : "gboolean" } ] },
 
   // *********************************************************************************
   {  "name"    : "Get LTE Attach PDN List",
      "id"      : "0x0094",
      "since"   : "1.28",
      "output"  : [ { "common-ref"   : "Operation Result" },
-                   { "name"          : "Current List",
-                     "id"            : "0x10",
-                     "type"          : "TLV",
-                     "since"         : "1.28",
-                     "format"        : "array",
-                     "array-element" : { "name"     : "PDN Profile ID",
-                                         "format"   : "guint16" },
+                   { "name"               : "Current List",
+                     "id"                 : "0x10",
+                     "type"               : "TLV",
+                     "since"              : "1.28",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "name"     : "PDN Profile ID",
+                                              "format"   : "guint16" },
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
-                   { "name"          : "Pending List",
-                     "id"            : "0x11",
-                     "type"          : "TLV",
-                     "since"         : "1.28",
-                     "format"        : "array",
-                     "array-element" : { "name"     : "PDN Profile ID",
-                                         "format"   : "guint16" },
-                     "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+                   { "name"               : "Pending List",
+                     "id"                 : "0x11",
+                     "type"               : "TLV",
+                     "since"              : "1.28",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint8",
+                     "array-element"      : { "name"     : "PDN Profile ID",
+                                              "format"   : "guint16" },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
 
 // *********************************************************************************
     {   "name"    : "Bind Mux Data Port",
                       ],
         "output"  : [ { "common-ref" : "Operation Result" } ] },
 
+// *********************************************************************************
+    {   "name"    : "Configure Profile Event List",
+        "type"    : "Message",
+        "service" : "WDS",
+        "id"      : "0x00A7",
+        "since"   : "1.34",
+        "input"   : [ { "name"               : "Register",
+                        "id"                 : "0x10",
+                        "type"               : "TLV",
+                        "since"              : "1.34",
+                        "format"             : "array",
+                        "size-prefix-format" : "guint8",
+                        "array-element"      : { "name"     : "Element",
+                                                 "format"   : "struct",
+                                                 "contents" : [ { "name"          : "Profile Type",
+                                                                  "format"        : "guint8",
+                                                                  "public-format" : "QmiWdsProfileType" },
+                                                                { "name"          : "Profile Index",
+                                                                  "format"        : "guint8" } ] } } ],
+        "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+// *********************************************************************************
+    {   "name"    : "Profile Changed",
+        "type"    : "Indication",
+        "service" : "WDS",
+        "id"      : "0x00A8",
+        "since"   : "1.34",
+        "output"  : [ { "name"          : "Profile Event",
+                        "id"            : "0x10",
+                        "type"          : "TLV",
+                        "since"         : "1.34",
+                        "format"        : "sequence",
+                        "contents"      : [ { "name"          : "Profile Type",
+                                              "format"        : "guint8",
+                                              "public-format" : "QmiWdsProfileType" },
+                                            { "name"          : "Profile Index",
+                                              "format"        : "guint8" },
+                                            { "name"          : "Change Event",
+                                              "format"        : "guint8",
+                                              "public-format" : "QmiWdsProfileChangeEvent" } ] } ] },
+
 // *********************************************************************************
 {  "name"    : "Swi Create Profile Indexed",
    "type"    : "Message",