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

167 lines
7.9 KiB
JSON

[
// *********************************************************************************
{ "name" : "WDS",
"type" : "Service" },
// *********************************************************************************
{ "name" : "QMI Client WDS",
"type" : "Client" },
// *********************************************************************************
{ "name" : "QMI Message WDS",
"type" : "Message-ID-Enum" },
// *********************************************************************************
{ "name" : "Reset",
"type" : "Message",
"service" : "WDS",
"id" : "0x0000",
"version" : "1.0",
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Start Network",
"type" : "Message",
"service" : "WDS",
"id" : "0x0020",
"version" : "1.0",
"input" : [ { "name" : "APN",
"id" : "0x14",
"mandatory" : "no",
"type" : "TLV",
"format" : "string" },
{ "name" : "Username",
"id" : "0x17",
"mandatory" : "no",
"type" : "TLV",
"format" : "string" },
{ "name" : "Password",
"id" : "0x18",
"mandatory" : "no",
"type" : "TLV",
"format" : "string" } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Packet Data Handle",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint32",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "Call End Reason",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16",
"prerequisites": [ { "field" : "Result.Error Status",
"operation" : "!=",
"value" : "QMI_STATUS_SUCCESS" },
{ "field" : "Result.Error Code",
"operation" : "==",
"value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] },
{ "name" : "Verbose Call End Reason",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Type",
"format" : "guint16" },
{ "name" : "Reason",
"format" : "guint16" } ],
"prerequisites": [ { "field" : "Result.Error Status",
"operation" : "!=",
"value" : "QMI_STATUS_SUCCESS" },
{ "field" : "Result.Error Code",
"operation" : "==",
"value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] } ] },
// *********************************************************************************
{ "name" : "Stop Network",
"type" : "Message",
"service" : "WDS",
"id" : "0x0021",
"version" : "1.0",
"input" : [ { "name" : "Packet Data Handle",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint32" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Get Packet Service Status",
"type" : "Message",
"service" : "WDS",
"id" : "0x0022",
"version" : "1.0",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Connection Status",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiWdsConnectionStatus",
"prerequisites" : [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Data Bearer Technology",
"type" : "Message",
"service" : "WDS",
"id" : "0x0037",
"version" : "1.12",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Current",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "gint8",
"public-format" : "QmiWdsDataBearerTechnology",
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Last",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "gint8",
"public-format" : "QmiWdsDataBearerTechnology",
"prerequisites" : [ { "field" : "Result.Error Status",
"operation" : "!=",
"value" : "QMI_STATUS_SUCCESS" },
{ "field" : "Result.Error Code",
"operation" : "==",
"value" : "QMI_PROTOCOL_ERROR_OUT_OF_CALL" } ] } ] },
// *********************************************************************************
{ "name" : "Get Current Data Bearer Technology",
"type" : "Message",
"service" : "WDS",
"id" : "0x0044",
"version" : "1.4",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Current",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Network Type",
"format" : "guint8",
"public-format" : "QmiWdsNetworkType" },
{ "name" : "RAT Mask",
"format" : "guint32" },
{ "name" : "SO Mask",
"format" : "guint32" } ],
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "Last",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Network Type",
"format" : "guint8",
"public-format" : "QmiWdsNetworkType" },
{ "name" : "RAT Mask",
"format" : "guint32" },
{ "name" : "SO Mask",
"format" : "guint32" } ] } ] }
]