uqmi: print radio interfaces in serving system command
[project/uqmi.git] / data / qmi-service-ctl.json
index 1ce2ddc6f417927398bbeb2495e4e90151dce24e..4e82597f3c437aa494500b5002783ef8612ef782 100644 (file)
@@ -6,7 +6,8 @@
 
   // *********************************************************************************
   {  "name"    : "QMI Client CTL",
-     "type"    : "Client" },
+     "type"    : "Client",
+     "since"   : "1.0" },
 
   // *********************************************************************************
   {  "name"    : "QMI Message CTL",
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0020",
+     "since"   : "1.0",
      "input"   : [  { "name"      : "ID",
                       "id"        : "0x01",
-                      "mandatory" : "yes",
                       "type"      : "TLV",
+                      "since"     : "1.0",
                       "format"    : "guint8" } ],
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "name"      : "Link ID",
                       "id"        : "0x01",
-                      "mandatory" : "yes",
                       "type"      : "TLV",
+                      "since"     : "1.0",
                       "format"    : "guint16",
                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
 
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0021",
+     "since"   : "1.0",
      "output"  : [  { "common-ref" : "Operation Result" },
-                    { "name"      : "Service list",
-                      "id"        : "0x01",
-                      "mandatory" : "yes",
-                      "type"      : "TLV",
-                      "format"    : "array",
-                      "array-element" : { "name"     : "Service",
-                                          "format"   : "struct",
-                                          "contents" : [ { "name"          : "Service",
-                                                           "format"        : "guint8",
-                                                           "public-format" : "QmiService" },
-                                                         { "name"   : "Major version",
-                                                           "format" : "guint16" },
-                                                         { "name"   : "Minor version",
-                                                           "format" : "guint16" } ] },
-                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
+                    { "name"               : "Service list",
+                      "id"                 : "0x01",
+                      "type"               : "TLV",
+                      "since"              : "1.0",
+                      "format"             : "array",
+                      "size-prefix-format" : "guint8",
+                      "array-element"      : { "name"     : "Service",
+                                               "format"   : "struct",
+                                               "contents" : [ { "name"          : "Service",
+                                                                "format"        : "guint8",
+                                                                "public-format" : "QmiService" },
+                                                              { "name"   : "Major version",
+                                                                "format" : "guint16" },
+                                                              { "name"   : "Minor version",
+                                                                "format" : "guint16" } ] },
+                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
   {  "name"    : "Allocate CID",
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0022",
+     "since"   : "1.0",
      "input"   : [  { "name"          : "Service",
                       "id"            : "0x01",
-                      "mandatory"     : "yes",
                       "type"          : "TLV",
+                      "since"         : "1.0",
                       "format"        : "guint8" ,
                       "public-format" : "QmiService" } ],
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "name"      : "Allocation Info",
                       "id"        : "0x01",
-                      "mandatory" : "yes",
                       "type"      : "TLV",
+                      "since"     : "1.0",
                       "format"    : "sequence",
                       "contents"  : [ { "name"          : "Service",
                                         "format"        : "guint8",
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0023",
+     "since"   : "1.0",
      "input"   : [  { "name"      : "Release Info",
                       "id"        : "0x01",
-                      "mandatory" : "yes",
                       "type"      : "TLV",
+                      "since"     : "1.0",
                       "format"    : "sequence",
                       "contents"  : [ { "name"          : "Service",
                                         "format"        : "guint8",
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "name"      : "Release Info",
                       "id"        : "0x01",
-                      "mandatory" : "yes",
                       "type"      : "TLV",
+                      "since"     : "1.0",
                       "format"    : "sequence",
                       "contents"  : [ { "name"          : "Service",
                                         "format"        : "guint8",
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0026",
+     "since"   : "1.0",
      "input"   : [  { "name"          : "Format",
                       "id"            : "0x01",
-                      "mandatory"     : "yes",
                       "type"          : "TLV",
+                      "since"         : "1.0",
                       "format"        : "guint8",
                       "public-format" : "QmiCtlDataFormat" },
                     { "name"          : "Protocol",
                       "id"            : "0x10",
-                      "mandatory"     : "yes",
                       "type"          : "TLV",
+                      "since"         : "1.0",
                       "format"        : "guint16",
                       "public-format" : "QmiCtlDataLinkProtocol" } ],
      "output"  : [  { "common-ref" : "Operation Result" },
                     { "name"          : "Protocol",
                       "id"            : "0x10",
-                      "mandatory"     : "no",
+                      "mandatory"     : "yes",
                       "type"          : "TLV",
+                      "since"         : "1.0",
                       "format"        : "guint16",
-                      "public-format" : "QmiCtlDataLinkProtocol" } ],
-                      "prerequisites" : [ { "common-ref" : "Success" } ] },
+                      "public-format" : "QmiCtlDataLinkProtocol",
+                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
   {  "name"    : "Sync",
      "type"    : "Message",
      "service" : "CTL",
      "id"      : "0x0027",
+     "since"   : "1.0",
      "output"  : [  { "common-ref" : "Operation Result" } ] },
 
   {  "name"    : "Sync",
      "type"    : "Indication",
      "service" : "CTL",
-     "id"      : "0x0027" }
+     "id"      : "0x0027",
+     "since"   : "1.0" },
+
+  // *********************************************************************************
+  // Internal
+  {  "name"    : "Internal Proxy Open",
+     "type"    : "Message",
+     "service" : "CTL",
+     "id"      : "0xFF00",
+     "since"   : "1.8",
+     "input"   : [ { "name"      : "Device Path",
+                     "id"        : "0x01",
+                     "type"      : "TLV",
+                     "since"     : "1.8",
+                     "format"    : "string" } ],
+     "output"  : [ { "common-ref" : "Operation Result" } ] },
+
+  // *********************************************************************************
+  // Internal
+  {  "name"    : "Internal Allocate CID QRTR",
+     "type"    : "Message",
+     "service" : "CTL",
+     "id"      : "0xFF22",
+     "since"   : "1.0",
+     "input"   : [  { "name"          : "Service",
+                      "id"            : "0x01",
+                      "type"          : "TLV",
+                      "since"         : "1.0",
+                      "format"        : "guint16" ,
+                      "public-format" : "QmiService" } ],
+     "output"  : [  { "common-ref" : "Operation Result" },
+                    { "name"      : "Allocation Info",
+                      "id"        : "0x01",
+                      "type"      : "TLV",
+                      "since"     : "1.0",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "Service",
+                                        "format"        : "guint16",
+                                        "public-format" : "QmiService" },
+                                      { "name"   : "Cid",
+                                        "format" : "guint8" } ],
+                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },
+
+  // *********************************************************************************
+  // Internal
+  {  "name"    : "Internal Release CID QRTR",
+     "type"    : "Message",
+     "service" : "CTL",
+     "id"      : "0xFF23",
+     "since"   : "1.0",
+     "input"   : [  { "name"      : "Release Info",
+                      "id"        : "0x01",
+                      "type"      : "TLV",
+                      "since"     : "1.0",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "Service",
+                                        "format"        : "guint16",
+                                        "public-format" : "QmiService" },
+                                      { "name"   : "Cid",
+                                        "format" : "guint8" } ] } ],
+     "output"  : [  { "common-ref" : "Operation Result" },
+                    { "name"      : "Release Info",
+                      "id"        : "0x01",
+                      "type"      : "TLV",
+                      "since"     : "1.0",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "Service",
+                                        "format"        : "guint16",
+                                        "public-format" : "QmiService" },
+                                      { "name"   : "Cid",
+                                        "format" : "guint8" } ],
+                      "prerequisites": [ { "common-ref" : "Success" } ] } ] }
 ]