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

365 lines
15 KiB
JSON

[
// *********************************************************************************
{ "name" : "PDC",
"type" : "Service" },
// *********************************************************************************
{ "name" : "QMI Client PDC",
"type" : "Client" },
// *********************************************************************************
{ "name" : "QMI Message PDC",
"type" : "Message-ID-Enum" },
// *********************************************************************************
{ "name" : "QMI Indication PDC",
"type" : "Indication-ID-Enum" },
// *********************************************************************************
{ "common-ref" : "Config Type",
"name" : "Config Type",
"id" : "0x1",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint32",
"public-format" : "QmiPdcConfigurationType" },
{ "common-ref" : "Indication Result",
"name" : "Indication Result",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint16" },
// *********************************************************************************
{ "common-ref" : "Config Type And Id",
"name" : "Type With Id",
"fullname" : "Qmi Config Type And Id",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "struct",
"contents" : [ { "name" : "Config Type",
"format" : "guint32",
"public-format" : "QmiPdcConfigurationType"},
{ "name" : "Id",
"format" : "array",
"array-element" : { "format" : "guint8" }} ]},
// *********************************************************************************
{ "common-ref" : "Token",
"name" : "Token",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32"},
// *********************************************************************************
{ "name" : "Reset",
"type" : "Message",
"service" : "PDC",
"id" : "0x0000",
"version" : "1.15",
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Register",
"type" : "Message",
"service" : "PDC",
"id" : "0x20",
"version" : "1.15",
"input" : [ { "name" : "Enable Reporting",
"id" : "0x10",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean"}],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Config Change",
"type" : "Message",
"service" : "PDC",
"id" : "0x21",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type And Id" } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Config Type And Id"}] },
// *********************************************************************************
{ "name" : "Get Selected Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x22",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type"},
{ "common-ref" : "Token"}],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token"}]},
{ "name" : "Get Selected Config",
"type" : "Indication",
"service" : "PDC",
"id" : "0x22",
"version" : "1.15",
"output" : [ { "common-ref" : "Token"},
{ "common-ref" : "Indication Result"},
{ "name" : "Active Id",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"array-element" : { "format" : "guint8" } },
{ "name" : "Pending Id",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"array-element" : { "format" : "guint8" } }]},
// *********************************************************************************
{ "name" : "Set Selected Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x23",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type And Id" },
{ "common-ref" : "Token" }],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token"}] },
{ "name" : "Set Selected Config",
"type" : "Indication",
"service" : "PDC",
"id" : "0x23",
"version" : "1.15",
"output" : [ { "common-ref" : "Indication Result" },
{ "common-ref" : "Token"}] },
// *********************************************************************************
{ "name" : "List Configs",
"type" : "Message",
"service" : "PDC",
"id" : "0x24",
"version" : "1.15",
"input" : [ { "common-ref" : "Token" },
{ "name" : "Config Type",
"id" : "0x11",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint32",
"public-format" : "QmiPdcConfigurationType" }],
"output" : [ { "common-ref" : "Operation Result" } ] },
{ "name" : "List Configs",
"type" : "Indication",
"service" : "PDC",
"id" : "0x24",
"output" : [ { "common-ref" : "Token" },
{ "common-ref" : "Indication Result"},
{ "name" : "Configs",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Config Type",
"format" : "guint32",
"public-format" : "QmiPdcConfigurationType" },
{ "name" : "Id",
"format" : "array",
"array-element" : { "format" : "guint8" }}]}}]},
// *********************************************************************************
{ "name" : "Delete Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x25",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type" },
{ "common-ref" : "Token" },
{ "name" : "Id",
"id" : "0x11",
"mandatory" : "yes",
"type" : "TLV",
"format" : "array",
"array-element" : { "format" : "guint8" }}],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token"}] },
// *********************************************************************************
{ "name" : "Load Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x26",
"version" : "1.15",
"input" : [ { "name" : "Config Chunk",
"id" : "0x1",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Type",
"format" : "guint32",
"public-format" : "QmiPdcConfigurationType"},
{ "name" : "Id",
"format" : "array",
"array-element" : { "format" : "guint8" }},
{ "name" : "Total Size",
"format" : "guint32" },
{ "name" : "Chunk",
"format" : "array",
"size-prefix-format" : "guint16",
"array-element" : { "format" : "guint8" }}]},
{ "common-ref" : "Token"}],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token"}] },
{ "name" : "Load Config",
"type" : "Indication",
"service" : "PDC",
"id" : "0x26",
"version" : "1.15",
"output" : [ { "common-ref" : "Token"},
{ "common-ref" : "Indication Result"},
{ "name" : "Received",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Remaining Size",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Frame Reset",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" }
] },
// *********************************************************************************
{ "name" : "Activate Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x27",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type" },
{ "common-ref" : "Token" }],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token" }] },
{ "name" : "Activate Config",
"type" : "Indication",
"service" : "PDC",
"id" : "0x27",
"version" : "1.15",
"output" : [ { "common-ref" : "Indication Result" },
{ "common-ref" : "Token" }] },
// *********************************************************************************
{ "name" : "Get Config Info",
"type" : "Message",
"service" : "PDC",
"id" : "0x28",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type And Id" },
{ "common-ref" : "Token"}],
"output" : [ { "common-ref" : "Operation Result" } ] },
{ "name" : "Get Config Info",
"type" : "Indication",
"service" : "PDC",
"id" : "0x28",
"version" : "1.15",
"output" : [ { "common-ref" : "Token"},
{ "common-ref" : "Indication Result"},
{ "name" : "Total Size",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Description",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"size-prefix-format" : "guint8"},
{ "name" : "Version",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" }
] },
// *********************************************************************************
{ "name" : "Get Config Limits",
"type" : "Message",
"service" : "PDC",
"id" : "0x29",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type" },
{ "common-ref" : "Token" }],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token" },
{ "name" : "Maximum Size",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint64" },
{ "name" : "Current Size",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint64" }] },
// *********************************************************************************
{ "name" : "Get Default Config Info",
"type" : "Message",
"service" : "PDC",
"id" : "0x2A",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type" },
{ "common-ref" : "Token" }],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token" },
{ "name" : "Version",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Total Size",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Description",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "string" }
] },
// *********************************************************************************
{ "name" : "Deactivate Config",
"type" : "Message",
"service" : "PDC",
"id" : "0x2B",
"version" : "1.15",
"input" : [ { "common-ref" : "Config Type" },
{ "common-ref" : "Token" }],
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "Token" }] },
{ "name" : "Deactivate Config",
"type" : "Indication",
"service" : "PDC",
"id" : "0x2B",
"version" : "1.15",
"output" : [ { "common-ref" : "Indication Result" },
{ "common-ref" : "Token" }] }
]