diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-11 19:32:00 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-21 19:28:14 +0200 |
commit | 0d2dbd0585075d1b339fbe411e4f188c03f8d5dd (patch) | |
tree | 59103613dad23fe9462fcc9882c47f37c995fd82 /data/mbim-service-basic-connect.json | |
parent | 453b34db2b478bafa5fae2e9630a17a79bf0cf0a (diff) | |
download | libmbim-0d2dbd0585075d1b339fbe411e4f188c03f8d5dd.tar.gz |
mbim-codegen: let the field names be written in CamelCase, as in the docs
Write all field names in CamelCase, to match the name given in the docs.
Diffstat (limited to 'data/mbim-service-basic-connect.json')
-rw-r--r-- | data/mbim-service-basic-connect.json | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/data/mbim-service-basic-connect.json b/data/mbim-service-basic-connect.json index 7d4e9b3..669f9c1 100644 --- a/data/mbim-service-basic-connect.json +++ b/data/mbim-service-basic-connect.json @@ -4,39 +4,39 @@ { "name" : "Device Caps", "service" : "Basic Connect", "type" : "Command", - "query" : { "output" : [ { "name" : "Device Type", + "query" : { "output" : [ { "name" : "DeviceType", "format" : "guint32", "public-format" : "MbimDeviceType" }, - { "name" : "Cellular Class", + { "name" : "CellularClass", "format" : "guint32", "public-format" : "MbimCellularClass" }, - { "name" : "Voice Class", + { "name" : "VoiceClass", "format" : "guint32", "public-format" : "MbimVoiceClass" }, - { "name" : "Sim Class", + { "name" : "SimClass", "format" : "guint32", "public-format" : "MbimSimClass" }, - { "name" : "Data Class", + { "name" : "DataClass", "format" : "guint32", "public-format" : "MbimDataClass" }, - { "name" : "Sms Caps", + { "name" : "SmsCaps", "format" : "guint32", "public-format" : "MbimSmsCaps" }, - { "name" : "Ctrl Caps", + { "name" : "ControlCaps", "format" : "guint32", "public-format" : "MbimCtrlCaps" }, - { "name" : "Max Sessions", + { "name" : "MaxSessions", "format" : "guint32" }, - { "name" : "Custom Data Class", + { "name" : "CustomDataClass", "format" : "string", "max-size" : "22" }, - { "name" : "Device ID", + { "name" : "DeviceId", "format" : "string", "max-size" : "36" }, - { "name" : "Firmware Info", + { "name" : "FirmwareInfo", "format" : "string", "max-size" : "60" }, - { "name" : "Hardware Info", + { "name" : "HardwareInfo", "format" : "string", "max-size" : "60" } ] } }, @@ -44,30 +44,30 @@ { "name" : "Subscriber Ready Status", "service" : "Basic Connect", "type" : "Command", - "query" : { "output" : [ { "name" : "Ready State", + "query" : { "output" : [ { "name" : "ReadyState", "format" : "guint32", "public-format" : "MbimSubscriberReadyState" }, - { "name" : "Subscriber ID", + { "name" : "SubscriberID", "format" : "string" }, - { "name" : "SIM ICCID", + { "name" : "SimIccId", "format" : "string" }, - { "name" : "Ready Info", + { "name" : "ReadyInfo", "format" : "guint32", "public-format" : "MbimReadyInfoFlag" }, - { "name" : "Telephone Numbers Count", + { "name" : "TelephoneNumbersCount", "format" : "guint32" }, - { "name" : "Telephone Numbers", + { "name" : "TelephoneNumbers", "format" : "string-array", - "array-size-field" : "Telephone Numbers Count" } ] } }, + "array-size-field" : "TelephoneNumbersCount" } ] } }, // ********************************************************************************* { "name" : "Radio State", "service" : "Basic Connect", "type" : "Command", - "query" : { "output" : [ { "name" : "Hardware Radio State", + "query" : { "output" : [ { "name" : "HwRadioState", "format" : "guint32", "public-format" : "MbimRadioSwitchState" }, - { "name" : "Software Radio State", + { "name" : "SwRadioState", "format" : "guint32", "public-format" : "MbimRadioSwitchState" } ] } }, @@ -75,58 +75,58 @@ { "name" : "Pin", "service" : "Basic Connect", "type" : "Command", - "set" : { "input" : [ { "name" : "Pin Type", + "set" : { "input" : [ { "name" : "PinType", "format" : "guint32", "public-format" : "MbimPinType" }, - { "name" : "Pin Operation", + { "name" : "PinOperation", "format" : "guint32", "public-format" : "MbimPinOperation" }, { "name" : "Pin", "format" : "string" }, - { "name" : "New Pin", + { "name" : "NewPin", "format" : "string" } ], - "output" : [ { "name" : "Pin Type", + "output" : [ { "name" : "PinType", "format" : "guint32", "public-format" : "MbimPinType" }, - { "name" : "Pin State", + { "name" : "PinState", "format" : "guint32", "public-format" : "MbimPinState" }, - { "name" : "Remaining Attempts", + { "name" : "RemainingAttempts", "format" : "guint32" } ] }, - "query" : { "output" : [ { "name" : "Pin Type", + "query" : { "output" : [ { "name" : "PinType", "format" : "guint32", "public-format" : "MbimPinType" }, - { "name" : "Pin State", + { "name" : "PinState", "format" : "guint32", "public-format" : "MbimPinState" }, - { "name" : "Remaining Attempts", + { "name" : "RemainingAttempts", "format" : "guint32" } ] } }, // ********************************************************************************* { "name" : "MbimDeviceServiceElement", "type" : "Struct", - "contents" : [ { "name" : "Device Service ID", + "contents" : [ { "name" : "DeviceServiceId", "format" : "uuid" }, - { "name" : "DSS Payload", + { "name" : "DssPayload", "format" : "guint32" }, - { "name" : "Max DSS Instances", + { "name" : "MaxDssInstances", "format" : "guint32" }, - { "name" : "CIDs Count", + { "name" : "CidsCount", "format" : "guint32" }, - { "name" : "CIDs", + { "name" : "Cids", "format" : "guint32-array", - "array-size-field" : "CIDs Count" } ] }, + "array-size-field" : "CidsCount" } ] }, // ********************************************************************************* { "name" : "Device Services", "service" : "Basic Connect", "type" : "Command", - "query" : { "output" : [ { "name" : "Device Services Count", + "query" : { "output" : [ { "name" : "DeviceServicesCount", "format" : "guint32" }, - { "name" : "Max DSS Sessions", + { "name" : "MaxDssSessions", "format" : "guint32" }, - { "name" : "Device Services", + { "name" : "DeviceServices", "format" : "struct-array", "struct-type" : "MbimDeviceServiceElement", - "array-size-field" : "Device Services Count" } ] } } + "array-size-field" : "DeviceServicesCount" } ] } } ] |