diff options
author | Walter Hagstrom <walter.hagstrom@digi.com> | 2020-06-17 11:13:21 -0400 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-06-23 14:35:30 +0200 |
commit | beb70cb89c6665db4466f68d165a778e0f7cd5dc (patch) | |
tree | 2dd00470123762bcaa0769bad2c35369c98c9e16 /data/qmi-service-nas.json | |
parent | 2e5040a9f48a2adda270bb390bf9702fcbe73098 (diff) |
nas, qmicli: Added 5G signal info TLV's
Added 5G signal info and 5G signal info extended TLV's, which contain
RSRP, RSRQ and SNR when the 5G signal is active, if the signal
is not active the value -32768 is returned.
This has been tested with a Quectel RM500Q modem connected to a 5G
Amari callbox in 5G NSA mode, the values returned by the TLV's where
verified against the AT+ENG="servingcell" command.
> qmicli -d /dev/cdc-wdm0 -p --nas-get-signal-info
[/dev/cdc-wdm0] Successfully got signal info
LTE:
RSSI: '-47 dBm'
RSRQ: '-5 dB'
RSRP: '-70 dBm'
SNR: '30.0 dB'
5G:
RSRP: '-75 dBm'
SNR: '18.5 dB'
RSRQ: '-11 dB'
>mmcli -m 0 --command=+qeng=\"servingcell\"
response: '+QENG: "servingcell","NOCONN"
+QENG: "LTE","FDD",1,01,1A2D001,1,1575,3,3,3,1,-70,-9,-46,25,-
+QENG:"NR5G-NSA",1,01,500,-75,180,-11'
(cherry picked from commit 0137a0c4c466c4e1dd18b30bb3fb57a1a9926aac)
Diffstat (limited to 'data/qmi-service-nas.json')
-rw-r--r-- | data/qmi-service-nas.json | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json index 60d7d28..b490a4d 100644 --- a/data/qmi-service-nas.json +++ b/data/qmi-service-nas.json @@ -3263,7 +3263,34 @@ "id" : "0x15", "type" : "TLV", "since" : "1.0", - "format" : "gint8" } ] }, + "format" : "gint8" } , + { "name" : "TDMA Signal Strength Extended", + "id" : "0x16", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "RSSI", + "format" : "gint32" }, + { "name" : "RSCP", + "format" : "gint32" }, + { "name" : "ECIO", + "format" : "gint32" }, + { "name" : "SINR", + "format" : "gint32" } ] }, + { "name" : "5G Signal Strength", + "id" : "0x17", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "RSRP", + "format" : "gint16" }, + { "name" : "SNR", + "format" : "gint16" } ] }, + { "name" : "5G Signal Strength Extended", + "id" : "0x18", + "type" : "TLV", + "since" : "1.28", + "format" : "gint16" } ] }, // ********************************************************************************* { "name" : "Config Signal Info", |