libqmi-qmuxd/data/qmi-service-ctl.json

163 lines
7.4 KiB
JSON

[
// *********************************************************************************
{ "name" : "CTL",
"type" : "Service" },
// *********************************************************************************
{ "name" : "QMI Client CTL",
"type" : "Client" },
// *********************************************************************************
{ "name" : "QMI Message CTL",
"type" : "Message-ID-Enum" },
// *********************************************************************************
{ "name" : "QMI Indication CTL",
"type" : "Indication-ID-Enum" },
// *********************************************************************************
{ "name" : "Set Instance ID",
"type" : "Message",
"service" : "CTL",
"id" : "0x0020",
"input" : [ { "name" : "ID",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8" } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Link ID",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint16",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Version Info",
"type" : "Message",
"service" : "CTL",
"id" : "0x0021",
"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" : "Allocate CID",
"type" : "Message",
"service" : "CTL",
"id" : "0x0022",
"input" : [ { "name" : "Service",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8" ,
"public-format" : "QmiService" } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Allocation Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service",
"format" : "guint8",
"public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Release CID",
"type" : "Message",
"service" : "CTL",
"id" : "0x0023",
"input" : [ { "name" : "Release Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service",
"format" : "guint8",
"public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Release Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service",
"format" : "guint8",
"public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Set Data Format",
"type" : "Message",
"service" : "CTL",
"id" : "0x0026",
"input" : [ { "name" : "Format",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiCtlDataFormat" },
{ "name" : "Protocol",
"id" : "0x10",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint16",
"public-format" : "QmiCtlDataLinkProtocol" } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Protocol",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16",
"public-format" : "QmiCtlDataLinkProtocol" } ],
"prerequisites" : [ { "common-ref" : "Success" } ] },
// *********************************************************************************
{ "name" : "Sync",
"type" : "Message",
"service" : "CTL",
"id" : "0x0027",
"output" : [ { "common-ref" : "Operation Result" } ] },
{ "name" : "Sync",
"type" : "Indication",
"service" : "CTL",
"id" : "0x0027" },
// *********************************************************************************
// Internal
{ "name" : "Internal Proxy Open",
"type" : "Message",
"service" : "CTL",
"id" : "0xFF00",
"input" : [ { "name" : "Device Path",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string" } ],
"output" : [ { "common-ref" : "Operation Result" } ] }
]