diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-27 12:20:14 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-27 14:28:32 +0200 |
commit | 50ea36c6996c31b829a65af27ac4755264fb2956 (patch) | |
tree | b84793f888244c1abc1860736b7a0f1666a8553d | |
parent | fed55d03d20202cded5306e6c918bbbd3f2eed97 (diff) |
nas: Ec/Io given always as a signed integer
-rw-r--r-- | cli/qmicli-nas.c | 2 | ||||
-rw-r--r-- | data/qmi-service-nas.json | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/cli/qmicli-nas.c b/cli/qmicli-nas.c index 1884483..434a51a 100644 --- a/cli/qmicli-nas.c +++ b/cli/qmicli-nas.c @@ -189,7 +189,7 @@ get_signal_info_ready (QmiClientNas *client, QmiMessageNasGetSignalInfoOutput *output; GError *error = NULL; gint8 rssi; - guint16 ecio; + gint16 ecio; QmiNasEvdoSinrLevel sinr_level; gint32 io; gint8 rsrq; diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json index d76b73c..e6b8e2b 100644 --- a/data/qmi-service-nas.json +++ b/data/qmi-service-nas.json @@ -198,7 +198,7 @@ "type" : "TLV", "format" : "sequence", "contents" : [ { "name" : "ECIO", - "format" : "guint8" }, + "format" : "gint8" }, { "name" : "Radio Interface", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ] }, @@ -401,7 +401,7 @@ "array-element" : { "name" : "Element", "format" : "struct", "contents" : [ { "name" : "ECIO", - "format" : "guint8" }, + "format" : "gint8" }, { "name" : "Radio Interface", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ] } }, @@ -2537,7 +2537,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" } ] }, + "format" : "gint16" } ] }, { "name" : "HDR Signal Strength", "id" : "0x11", "mandatory" : "no", @@ -2546,7 +2546,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" }, + "format" : "gint16" }, { "name" : "SINR", "format" : "guint8", "public-format" : "QmiNasEvdoSinrLevel" }, @@ -2565,7 +2565,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" } ] }, + "format" : "gint16" } ] }, { "name" : "LTE Signal Strength", "id" : "0x14", "mandatory" : "no", @@ -2664,7 +2664,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" } ] }, + "format" : "gint16" } ] }, { "name" : "HDR Signal Strength", "id" : "0x11", "mandatory" : "no", @@ -2673,7 +2673,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" }, + "format" : "gint16" }, { "name" : "SINR", "format" : "guint8", "public-format" : "QmiNasEvdoSinrLevel" }, @@ -2692,7 +2692,7 @@ "contents" : [ { "name" : "RSSI", "format" : "gint8" }, { "name" : "ECIO", - "format" : "guint16" } ] }, + "format" : "gint16" } ] }, { "name" : "LTE Signal Strength", "id" : "0x14", "mandatory" : "no", |