sync with libqmi-glib
[project/uqmi.git] / data / qmi-service-oma.json
diff --git a/data/qmi-service-oma.json b/data/qmi-service-oma.json
new file mode 100644 (file)
index 0000000..bdd8c26
--- /dev/null
@@ -0,0 +1,223 @@
+
+[
+  // *********************************************************************************
+  {  "name"    : "OMA",
+     "type"    : "Service" },
+
+  // *********************************************************************************
+  {  "name"    : "QMI Client OMA",
+     "type"    : "Client" },
+
+  // *********************************************************************************
+  {  "name"    : "QMI Message OMA",
+     "type"    : "Message-ID-Enum" },
+
+  // *********************************************************************************
+  {  "name"    : "QMI Indication OMA",
+     "type"    : "Indication-ID-Enum" },
+
+  // *********************************************************************************
+  {  "name"    : "Reset",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0000",
+     "version" : "1.0",
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Set Event Report",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0001",
+     "version" : "1.0",
+     "input"   : [ { "name"          : "Network Initiated Alert Reporting",
+                     "id"            : "0x10",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean" },
+                   { "name"          : "Session State Reporting",
+                     "id"            : "0x11",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  {  "name"    : "Event Report",
+     "type"    : "Indication",
+     "service" : "OMA",
+     "id"      : "0x0001",
+     "output"  : [ { "name"      : "Network Initiated Alert",
+                     "id"        : "0x10",
+                     "mandatory" : "no",
+                     "type"      : "TLV",
+                     "format"    : "sequence",
+                     "contents"  : [ { "name"          : "Session Type",
+                                       "format"        : "guint8",
+                                       "public-format" : "QmiOmaSessionType" },
+                                     { "name"   : "Session ID",
+                                       "format" : "guint16" } ] },
+                    { "name"          : "Session State",
+                      "id"            : "0x11",
+                      "mandatory"     : "no",
+                      "type"          : "TLV",
+                      "format"        : "guint8",
+                      "public-format" : "QmiOmaSessionState" },
+                    { "name"          : "Session Fail Reason",
+                      "id"            : "0x12",
+                      "mandatory"     : "no",
+                      "type"          : "TLV",
+                      "format"        : "guint8",
+                      "public-format" : "QmiOmaSessionFailedReason" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Start Session",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0020",
+     "version" : "1.0",
+     "input"   : [ { "name"          : "Session Type",
+                     "id"            : "0x10",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "QmiOmaSessionType" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Cancel Session",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0021",
+     "version" : "1.0",
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Get Session Info",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0022",
+     "output"  : [ { "name"         : "Session Info",
+                     "id"           : "0x10",
+                     "mandatory"    : "no",
+                     "type"         : "TLV",
+                     "format"       : "sequence",
+                     "contents"     : [ { "name"          : "Session State",
+                                          "format"        : "guint8",
+                                          "public-format" : "QmiOmaSessionState" },
+                                        { "name"          : "Session Type",
+                                          "format"        : "guint8",
+                                          "public-format" : "QmiOmaSessionType" } ],
+                     "prerequisites": [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Session Failed Reason",
+                     "id"            : "0x11",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "QmiOmaSessionFailedReason",
+                     "prerequisites" : [ { "field" : "Session Info Session State",
+                                           "operation" : "==",
+                                           "value" : "QMI_OMA_SESSION_STATE_FAILED" } ] },
+                   { "name"         : "Retry Info",
+                     "id"           : "0x12",
+                     "mandatory"    : "no",
+                     "type"         : "TLV",
+                     "format"       : "sequence",
+                     "contents"     : [ { "name"   : "Retry Count",
+                                          "format" : "guint8" },
+                                        { "name"   : "Retry Pause Timer",
+                                          "format" : "guint16" },
+                                        { "name"   : "Retry Pause Timer Remaining",
+                                          "format" : "guint16" } ],
+                     "prerequisites": [ { "common-ref" : "Success" } ] },
+                   { "name"         : "Network Initiated Alert",
+                     "id"           : "0x13",
+                     "mandatory"    : "no",
+                     "type"         : "TLV",
+                     "format"       : "sequence",
+                     "contents"     : [ { "name"          : "Session Type",
+                                          "format"        : "guint8",
+                                          "public-format" : "QmiOmaSessionType" },
+                                        { "name"   : "Session ID",
+                                          "format" : "guint16" } ],
+                     "prerequisites": [ { "common-ref" : "Success" } ] },
+                   { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Send Selection",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0023",
+     "input"   : [ { "name"         : "Network Initiated Alert Selection",
+                     "id"           : "0x10",
+                     "mandatory"    : "no",
+                     "type"         : "TLV",
+                     "format"       : "sequence",
+                     "contents"     : [ { "name"          : "Control Point Selection Accept",
+                                          "format"        : "guint8",
+                                          "public-format" : "gboolean" },
+                                        { "name"   : "Session ID",
+                                          "format" : "guint16" } ] } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Get Feature Setting",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0024",
+     "output"  : [ { "name"          : "Device Provisioning Service Update Config",
+                     "id"            : "0x10",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "PRL Update Service Config",
+                     "id"            : "0x11",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "HFA Feature Config",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "HFA Feature Done State",
+                     "id"            : "0x13",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "QmiOmaHfaFeatureDoneState",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  {  "name"    : "Set Feature Setting",
+     "type"    : "Message",
+     "service" : "OMA",
+     "id"      : "0x0025",
+     "input"   : [ { "name"          : "Device Provisioning Service Update Config",
+                     "id"            : "0x10",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean" },
+                   { "name"          : "PRL Update Service Config",
+                     "id"            : "0x11",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean" },
+                   { "name"          : "HFA Feature Config",
+                     "id"            : "0x12",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "format"        : "guint8",
+                     "public-format" : "gboolean" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] }
+]