summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-07 20:39:02 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-07 20:39:02 +0200
commit5151d67bf20d7d3211cf1022f1d7ae74cd4ee86c (patch)
tree2d5ead0c53bcaf32fceefa4a8d735c763bf6fdb5
parent187f5f3bc0708f6a4c8e0bd4a7b2b40322626e9d (diff)
downloadlibmbim-5151d67bf20d7d3211cf1022f1d7ae74cd4ee86c.tar.gz
basic-connect: fix some field names
-rw-r--r--cli/mbimcli-basic-connect.c11
-rw-r--r--data/mbim-service-basic-connect.json26
2 files changed, 18 insertions, 19 deletions
diff --git a/cli/mbimcli-basic-connect.c b/cli/mbimcli-basic-connect.c
index 6e1624c..5edc673 100644
--- a/cli/mbimcli-basic-connect.c
+++ b/cli/mbimcli-basic-connect.c
@@ -291,9 +291,8 @@ query_radio_state_ready (MbimDevice *device,
"\t HwRadioState: '%s'\n"
"\t SwRadioState: '%s'\n",
mbim_device_get_path_display (device),
- mbim_message_basic_connect_radio_state_query_response_get_hwradiostate (response) ? "on" : "off",
- mbim_message_basic_connect_radio_state_query_response_get_swradiostate (response) ? "on" : "off");
-
+ mbim_message_basic_connect_radio_state_query_response_get_hardware_radio_state (response) ? "on" : "off",
+ mbim_message_basic_connect_radio_state_query_response_get_software_radio_state (response) ? "on" : "off");
mbim_message_unref (response);
shutdown (TRUE);
@@ -397,10 +396,10 @@ pin_ready (MbimDevice *device,
"\t RemainingAttempts: '%u'\n",
mbim_device_get_path_display (device),
mbim_pin_type_get_string (
- mbim_message_basic_connect_pin_set_response_get_pintype (response)),
+ mbim_message_basic_connect_pin_set_response_get_pin_type (response)),
mbim_pin_state_get_string (
- mbim_message_basic_connect_pin_set_response_get_pinstate (response)),
- mbim_message_basic_connect_pin_set_response_get_remainingattempts (response));
+ mbim_message_basic_connect_pin_set_response_get_pin_state (response)),
+ mbim_message_basic_connect_pin_set_response_get_remaining_attempts (response));
mbim_message_unref (response);
shutdown (TRUE);
}
diff --git a/data/mbim-service-basic-connect.json b/data/mbim-service-basic-connect.json
index fbc6f5f..0d922f6 100644
--- a/data/mbim-service-basic-connect.json
+++ b/data/mbim-service-basic-connect.json
@@ -62,13 +62,13 @@
"array-size-field" : "Telephone Numbers Count" } ] } },
// *********************************************************************************
- { "name" : "Radio State",
+ { "name" : "Radio State",
"service" : "Basic Connect",
"type" : "Command",
- "query" : { "output" : [ { "name" : "HwRadioState",
+ "query" : { "output" : [ { "name" : "Hardware Radio State",
"format" : "guint32",
"public-format" : "MbimReadyInfoFlag" },
- { "name" : "SwRadioState",
+ { "name" : "Software Radio State",
"format" : "guint32",
"public-format" : "MbimReadyInfoFlag" } ] } },
@@ -76,37 +76,37 @@
{ "name" : "Pin",
"service" : "Basic Connect",
"type" : "Command",
- "set" : { "input" : [ { "name" : "PinType",
+ "set" : { "input" : [ { "name" : "Pin Type",
"format" : "guint32",
"public-format" : "MbimPinType" },
- { "name" : "PinOperation",
+ { "name" : "Pin Operation",
"format" : "guint32",
"public-format" : "MbimPinOperation" },
{ "name" : "Pin",
"format" : "string" },
- { "name" : "NewPin",
+ { "name" : "New Pin",
"format" : "string" } ],
- "output" : [ { "name" : "PinType",
+ "output" : [ { "name" : "Pin Type",
"format" : "guint32",
"public-format" : "MbimPinType" },
- { "name" : "PinState",
+ { "name" : "Pin State",
"format" : "guint32",
"public-format" : "MbimPinState" },
- { "name" : "RemainingAttempts",
+ { "name" : "Remaining Attempts",
"format" : "guint32" } ] },
- "query" : { "output" : [ { "name" : "PinType",
+ "query" : { "output" : [ { "name" : "Pin Type",
"format" : "guint32",
"public-format" : "MbimPinType" },
- { "name" : "PinState",
+ { "name" : "Pin State",
"format" : "guint32",
"public-format" : "MbimPinState" },
- { "name" : "RemainingAttempts",
+ { "name" : "Remaining Attempts",
"format" : "guint32" } ] } },
// *********************************************************************************
{ "name" : "MbimDeviceServiceElement",
"type" : "Struct",
- "contents" : [ { "name" : "Device service ID",
+ "contents" : [ { "name" : "Device Service ID",
"format" : "uuid" },
{ "name" : "DSS Payload",
"format" : "guint32" },