Closed patrakov closed 1 year ago
Ok, I'll add this when I have some free time for the week. TAC will probably double with LAC if it can't be read.
LAC is actually retrieved successfully, but TAC is missing.
I have tried the latest release, it works. Now it says:
Primary band | PCI & EARFCN B1 (2100 MHz) DL: @15 MHz UL: @15 MHz | - 425
So PCI is missing. I have tried the commands from the PDF that might return it, but they all fail (because the PDF is for a different Huawei modem), so well, it is not obtainable.
All other information that I requested is correctly reported.
Oops, the chip temperature is missing.
# sms_tool -d /dev/ttyUSB1 at "AT^CHIPTEMP?"
AT^CHIPTEMP?
^CHIPTEMP: 473,473,65535,35,65535
I have manually copy-pasted the awk command, and it prints the correct temperature. So the bug must be not in the parsing of the AT command response, but in how it is propagated to the json.
The problem is due to the inappropriate reuse of the $O
variable:
O=$(sms_tool -d $DEVICE at "at^chiptemp?;^hcsq?")
...
O=$(sms_tool -d $DEVICE at "AT+CIMI" | xargs)
...
T=$(echo "$O" | awk ...) # of course it won't find the temperature in the AT+CIMI response
Ok thanks for the tests. I'll fix it tomorrow.
Can't find a command for reading PCI so left blank.
It should be OK.
Huawei E3372 reflashed to stick mode is already supported and has its own 3ginfo-addon file:
Currently, it is missing the display of IMEI, IMSI, ICCID, TAC, and the active band.
It can provide IMEI either as a part of its response to
ATI
, or as a response toAT+GSN
.Regarding IMSI:
Regarding ICCID:
I could not find how to request TAC.
There is no dedicated command to display the band used, but there is
AT^HFREQINFO?
which displays frequency information which can be a (more detailed) substitute. I could not find any documentation specific to E3372, but http://download-c.huawei.com/download/downloadCenter?downloadId=100630 contains this command....which means: no unsolicited reporting, LTE mode, LTE band 1, downlink frequency point (EARFCN) 425, downlink frequency 2152.5 MHz, downlink bandwidth 15 MHz, uplink frequency point (EARFCN) 18425, downlink frequency 1962.5 MHz, downlink bandwidth 15 MHz.