
[
  // *********************************************************************************
  {  "name"    : "OMA",
     "type"    : "Service" },

  // *********************************************************************************
  {  "name"    : "QMI Client OMA",
     "type"    : "Client",
     "since"   : "1.6" },

  // *********************************************************************************
  {  "name"    : "QMI Message OMA",
     "type"    : "Message-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "QMI Indication OMA",
     "type"    : "Indication-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "Reset",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0000",
     "since"   : "1.6",
     "output"  : [ { "common-ref" : "Operation Result" } ] },

  // *********************************************************************************
  {  "name"    : "Set Event Report",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0001",
     "since"   : "1.6",
     "input"   : [ { "name"          : "Network Initiated Alert Reporting",
                     "id"            : "0x10",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean" },
                   { "name"          : "Session State Reporting",
                     "id"            : "0x11",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean" } ],
     "output"  : [ { "common-ref" : "Operation Result" } ] },

  {  "name"    : "Event Report",
     "type"    : "Indication",
     "service" : "OMA",
     "id"      : "0x0001",
     "since"   : "1.6",
     "output"  : [ { "name"      : "Network Initiated Alert",
                     "id"        : "0x10",
                     "type"      : "TLV",
                     "since"     : "1.6",
                     "format"    : "sequence",
                     "contents"  : [ { "name"          : "Session Type",
                                       "format"        : "guint8",
                                       "public-format" : "QmiOmaSessionType" },
                                     { "name"   : "Session ID",
                                       "format" : "guint16" } ] },
                    { "name"          : "Session State",
                      "id"            : "0x11",
                      "type"          : "TLV",
                      "since"         : "1.6",
                      "format"        : "guint8",
                      "public-format" : "QmiOmaSessionState" },
                    { "name"          : "Session Fail Reason",
                      "id"            : "0x12",
                      "type"          : "TLV",
                      "since"         : "1.6",
                      "format"        : "guint8",
                      "public-format" : "QmiOmaSessionFailedReason" } ] },

  // *********************************************************************************
  {  "name"    : "Start Session",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0020",
     "since"   : "1.6",
     "input"   : [ { "name"          : "Session Type",
                     "id"            : "0x10",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "QmiOmaSessionType" } ],
     "output"  : [ { "common-ref" : "Operation Result" } ] },

  // *********************************************************************************
  {  "name"    : "Cancel Session",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0021",
     "since"   : "1.6",
     "output"  : [ { "common-ref" : "Operation Result" } ] },

  // *********************************************************************************
  {  "name"    : "Get Session Info",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0022",
     "since"   : "1.6",
     "output"  : [ { "name"         : "Session Info",
                     "id"           : "0x10",
                     "type"         : "TLV",
                     "since"        : "1.6",
                     "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",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "QmiOmaSessionFailedReason",
                     "prerequisites" : [ { "field" : "Session Info Session State",
                                           "operation" : "==",
                                           "value" : "QMI_OMA_SESSION_STATE_FAILED" } ] },
                   { "name"         : "Retry Info",
                     "id"           : "0x12",
                     "type"         : "TLV",
                     "since"        : "1.6",
                     "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",
                     "type"         : "TLV",
                     "since"        : "1.6",
                     "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",
     "since"   : "1.6",
     "input"   : [ { "name"         : "Network Initiated Alert Selection",
                     "id"           : "0x10",
                     "type"         : "TLV",
                     "since"        : "1.6",
                     "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",
     "since"   : "1.6",
     "output"  : [ { "name"          : "Device Provisioning Service Update Config",
                     "id"            : "0x10",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean",
                     "prerequisites" : [ { "common-ref" : "Success" } ] },
                   { "name"          : "PRL Update Service Config",
                     "id"            : "0x11",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean",
                     "prerequisites" : [ { "common-ref" : "Success" } ] },
                   { "name"          : "HFA Feature Config",
                     "id"            : "0x12",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean",
                     "prerequisites" : [ { "common-ref" : "Success" } ] },
                   { "name"          : "HFA Feature Done State",
                     "id"            : "0x13",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "QmiOmaHfaFeatureDoneState",
                     "prerequisites" : [ { "common-ref" : "Success" } ] },
                   { "common-ref" : "Operation Result" } ] },

  // *********************************************************************************
  {  "name"    : "Set Feature Setting",
     "type"    : "Message",
     "service" : "OMA",
     "id"      : "0x0025",
     "since"   : "1.6",
     "input"   : [ { "name"          : "Device Provisioning Service Update Config",
                     "id"            : "0x10",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean" },
                   { "name"          : "PRL Update Service Config",
                     "id"            : "0x11",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean" },
                   { "name"          : "HFA Feature Config",
                     "id"            : "0x12",
                     "type"          : "TLV",
                     "since"         : "1.6",
                     "format"        : "guint8",
                     "public-format" : "gboolean" } ],
     "output"  : [ { "common-ref" : "Operation Result" } ] }
]
