diff options
author | Aliaksandr Barouski <alex.borovsky@gmail.com> | 2016-07-07 15:47:20 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-26 14:59:43 +0200 |
commit | 24cdbd32e97373626f977b7bbb4bdf1b92b2d513 (patch) | |
tree | 5d3847d156a68fd082a34ff5223b53d49d974cd8 /data | |
parent | fa39dc14a6b8bdea736239da9fee59a65e289b1d (diff) |
pdc: new PDC service implementation
Added calls for configure hp4120 LTE modem
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 1 | ||||
-rw-r--r-- | data/qmi-service-pdc.json | 364 |
2 files changed, 365 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 0d74955..9c4b99b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -7,6 +7,7 @@ EXTRA_DIST = \ qmi-service-wds.json \ qmi-service-nas.json \ qmi-service-wms.json \ + qmi-service-pdc.json \ qmi-service-pds.json \ qmi-service-pbm.json \ qmi-service-uim.json \ diff --git a/data/qmi-service-pdc.json b/data/qmi-service-pdc.json new file mode 100644 index 0000000..99ef2ce --- /dev/null +++ b/data/qmi-service-pdc.json @@ -0,0 +1,364 @@ +[ + // ********************************************************************************* + { "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" : "EnableReporting", + "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" }] } +] |