Odp: ZTE MF289F - Porting OpenWRT
@MIG, kolega @stich86 robiąc wsparcie modyfikuje też skrypty dla 3ginfo, więc jak masz ochotę i czas to możesz zerknąć czy działa poprawnie ![]()
https://github.com/4IceG/luci-app-3ginf … ses/latest
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Sprzęt / Hardware → ZTE MF289F - Porting OpenWRT
Strony Poprzednia 1 2 3 4 5 6 … 45 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
@MIG, kolega @stich86 robiąc wsparcie modyfikuje też skrypty dla 3ginfo, więc jak masz ochotę i czas to możesz zerknąć czy działa poprawnie ![]()
https://github.com/4IceG/luci-app-3ginf … ses/latest
Sprawdzę , natomiast na pewno ten modem jest w stanie agregować 4 pasma ( jak nie pięć - ale takich nadajników to ma tylko T-Mobile w kilku miejscach) , więc może jesteś w stanie wyświetlać te linie tylko wtedy ,jak faktycznie ta agregacja większej ilości bandów jest.
Sprawdzę , natomiast na pewno ten modem jest w stanie agregować 4 pasma ( jak nie pięć - ale takich nadajników to ma tylko T-Mobile w kilku miejscach) , więc może jesteś w stanie wyświetlać te linie tylko wtedy ,jak faktycznie ta agregacja większej ilości bandów jest.
Changing some files on the nvram it can do 5CA. We are working with other guys in Italy to see if it can be done.
Regarding the plug-in, as I’ve said this modem present itself as MF286/A I’d, so the 3ginfo form 4IceG is using the addon for that modem that display wrong data for the awk filter that doesn’t match the output of AT commands on the MF289F modem. I’ve added some checks and also the other bands to display. The plug-in was already tested on another AT2 version, but if other people can test it and give us feedback is better ![]()
Fajnie że do kolekcji dochodzi następny model ZTE (i nawiązaniu do mojej delikatnej sugestii - nie, ZTE się nie odezwało
) Już bliżej jest końca, więc panowie - rozglądajcie się za kolejnym modelem.
To może teraz LBR20 ![]()
Tam siedzi quectel i ipq4xx, o ile nie namieszali z bootloaderem to też powinno się dać to zrobić w skończonym czasie.
Fajnie że do kolekcji dochodzi następny model ZTE (i nawiązaniu do mojej delikatnej sugestii - nie, ZTE się nie odezwało
) Już bliżej jest końca, więc panowie - rozglądajcie się za kolejnym modelem.
I should have access on the next month to a ZTE MC7070 (outdoor MC801a variant?)
Let’s see what’s inside ![]()
Nie udało mi się powtórzyć braku podłączenia Plusha ( więc do sieci) PLUS. ofw nawet przy ustawieniu ustawień fabrycznych nie dodał kolejnych linii APNów , a jak ręcznie utworzyłem identycznie , to i tak się już łączy:
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","internet","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
+CGDCONT: 6,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
OKTakże był to definitywnie problem APN , ale ręczne ustawianie w oryginale różnych kombinacji w web nic nie dawało , dopiero wyczyszczenie listy ożywiło połczenie.
Cezary napisał/a:Fajnie że do kolekcji dochodzi następny model ZTE (i nawiązaniu do mojej delikatnej sugestii - nie, ZTE się nie odezwało
) Już bliżej jest końca, więc panowie - rozglądajcie się za kolejnym modelem.
I should have access on the next month to a ZTE MC7070 (outdoor MC801a variant?)
Let’s see what’s inside
You mean MC7010 - yes , it can be called like this , outdoor and without wifi.
I have MC801a ,and was not able to find serial there... assumed ,that there is something else then Qualcomm System
On 4PDA they also nothing mentioned about possibility to conect to terminal.
MiG25 napisał/a:And what about adding microusb ? from list there are identical no of usb ports...
i've to buy micro-USB smd connector. There is a pad near the nanoSIM\reset button that should
You can use also bigger pads just above. From left they are: GND , VCC , D- , D+
But from my tests looks like there is something missing (starting from that , that there is no +5VDC on VCC). Maybe the easiest way ,is that just above of this D- and D+ is ending with very small pads ,and also near of it there are next pads. Perhaps some resistors are missing there....
Ok i solved the 6h reboot.. was watchcat plugin ![]()
@IceG, 3ginfor from @stich86 missing infos about CellID , LAC and TAC...
It has also default 3 of agregated bands.... what if somone will have 4....
Also good solution about EARFCN &PCI ....

I belive also in parallel somone with MF286 (A) should test it -since this modem have the same vid/pid.....
@IceG, 3ginfor from @stich86 missing infos about CellID , LAC and TAC...
It has also default 3 of agregated bands.... what if somone will have 4....Also good solution about EARFCN &PCI ....
The script get cellid/tac from AT+CREG, but MF289F doesn’t give these informations thru that command.
I think we need to get it from uqmi
EDIT: Why do you say that is only 3? You have all 4 bands in both lines..
I think it should replace “/“ with “+” on the 4th band and add EARFCN&PCI on the CA addon Banda
I belive AT+ZCELLINFO? gives CellID ....
BTW @stich86 , do you know why in your compilation SMS Messages not works ?
@MiG25 pokaż wynik
sh -x /usr/share/3ginfo-lite/3ginfo.sh
I belive AT+ZCELLINFO? gives CellID ....
I’ll try to take a look tomorrow and fix that one, then send PR to 4IceG
Regarding TAC/LAC we should get from another part
If you have suggestion are welcome ![]()
Ok we should add AWKFILTER also on ZCELLINFO, missing “;”
root@OpenWrt:/#
root@OpenWrt:/# sh -x /usr/share/3ginfo-lite/3ginfo.sh
+ RES=/usr/share/3ginfo-lite
+ uci -q get '3ginfo.@3ginfo[0].device'
+ DEVICE=/dev/ttyUSB1
+ '[' x/dev/ttyUSB1 '=' x ]
+ echo /dev/ttyUSB1
+ '[' x/dev/ttyUSB1 '=' x ]
+ '[' x/dev/ttyUSB1 '=' x ]
+ uci -q get '3ginfo.@3ginfo[0].network'
+ SEC=wan
+ '[' -z wan ]
+ CONN_TIME=-
+ RX=-
+ TX=-
+ ifstatus wan
+ grep '"up": true'
+ NETUP=' "up": true,'
+ '[' -n ' "up": true,' ]
+ uci -q -P /var/state/ get network.wan.connect_time
+ CT=
+ '[' -z ]
+ ifstatus wan
+ + awkxargs '-F[:,]'
'/uptime/ {print $2}'
+ CT=503
+ '[' '!' -z 503 ]
+ expr 503 / 60 / 60 / 24
+ D=0
+ expr 503 / 60 / 60 '%' 24
+ H=0
+ expr 503 / 60 '%' 60
+ M=8
+ expr 503 '%' 60
+ S=23
+ printf '%dd, %02d:%02d:%02d' 0 0 8 23
+ CONN_TIME='0d, 00:08:23'
+ ifstatus wan
+ awk '-F"' '/l3_device/ {print $4}'
+ IFACE=wwan0
+ '[' -n wwan0 ]
+ ifconfig wwan0
+ awk '-F[()]' '/bytes/ {printf "%s",$2}'
+ RX='941.9 KiB'
+ ifconfig wwan0
+ awk '-F[()]' '/bytes/ {printf "%s",$4}'
+ TX='408.0 KiB'
+ sms_tool -D -d /dev/ttyUSB1 at 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS ?;+CREG=2;+CREG?'
+ O='AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F[, ]' '/^\+CSQ/ {print $2}'
+ CSQ=18
+ '[' x18 '=' x ]
+ '[' 18 -ge 0 -a 18 -le 31 ]
+ CSQ_PER=58
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F["]' '/^\+COPS: .,2/ {print $2}'
+ COPS_NUM=26002
+ '[' x26002 '=' x ]
+ COPS_MCCB=260
+ echo 260
+ tr '\n' ' '
+ sed 's/ //g'
+ COPS_MCC=260
+ COPS_MNCB=02
+ echo 02
+ tr '\n' ' '
+ sed 's/ //g'
+ COPS_MNC=02
+ awk '-F[;]' '/26002/ {print $2}' /usr/share/3ginfo-lite/mccmnc.dat
+ COPS=T-Mobile/ERA
+ '[' xT-Mobile/ERA '=' x ]
+ '[' -z ]
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F["]' '/^\+COPS: .,0/ {print $2}'
+ T='T-Mobile T-Mobile.pl'
+ '[' 'xT-Mobile T-Mobile.pl' '!=' x ]
+ COPS='T-Mobile T-Mobile.pl'
+ echo T-Mobile T-Mobile.pl
+ sed ':s;s/\(\<\S*\>\)\(.*\)\<\1\>/\1\2/g;ts'
+ COPZ='T-Mobile .pl'
+ echo T-Mobile .pl
+ awk '{for(i=1;i<=NF;i++){ $i=toupper(substr($i,1,1)) substr($i,2) }}1'
+ COPS='T-Mobile .pl'
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ + xargsawk
'-F[, ]' '/^\+CPIN:/ {print $0;exit}'
+ T='+CPIN: READY'
+ '[' -n '+CPIN: READY' ]
+ '[' '+CPIN: READY' '=' '+CPIN: READY' ]
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F[, ]' '/^\+CME ERROR:/ {print $0;exit}'
+ T=
+ '[' -n ]
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F[,]' '/^\+CREG/ {gsub(/[[:space:]"]+/,"");printf "T=\"%d\";LAC_HEX=\"%X \";CID_HEX=\"%X\";LAC_DEC=\"%d\";CID_DEC=\"%d\";MODE_NUM=\"%d\"", $2, "0x"$3, "0 x"$4, "0x"$3, "0x"$4, $5}'
+ eval 'T="1";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"'
+ T=1
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM=0
+ REG=1
+ '[' -z 0 ]
+ '[' x0 '=' x0 ]
+ echo 'AT+CSQ;+CPIN?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CSQ: 18,99
+CPIN: READY
+COPS: 0,0,"T-Mobile T-Mobile.pl",7
+COPS: 0,2,"26002",7
+CREG: 2,1
'K
+ awk '-F[,]' '/^\+COPS/ {print $4;exit}'
' MODE_NUM='7
+ MODE=LTE
+ sms_tool -d /dev/ttyUSB1 at at+cereg
' OTX='at+cereg
' echo 'at+cereg
+ awk '-F[,]'+ '/^\+CEREG/ {printf "%s", toupper($3)}'sed
's/[^A-F0-9]//g'
+ TAC=
+ '[' x '!=' x ]
+ TAC=-
+ TAC_HEX=-
+ uci -q get '3ginfo.@3ginfo[0].device'
+ DEVICE=/dev/ttyUSB1
+ echo x/dev/ttyUSB1
+ grep -q 192.168.
+ awk '/Vendor=/{gsub(/.*Vendor=| ProdID=| Rev.*/,"");print}' /sys/kernel/debug/ usb/devices
+ sort -u
+ _DEVS='19d21432
1d6b0002
1d6b0003'
+ '[' -e /usr/share/3ginfo-lite/3ginfo-addon/19d21432 ]
+ . /usr/share/3ginfo-lite/3ginfo-addon/19d21432
+ sms_tool -d /dev/ttyUSB1 at 'at+zrssi;+zcellinfo?;+zcainfo?'
+ O='at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ sms_tool -d /dev/ttyUSB2 at ati
+ grep -i Model
+ awk '{print $2}'
+ MODEL=MF289F
+ '[' MF289F '=' MF289F ]
+ AWK_FILTER='[,:\;]'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ + awkxargs '-F[,:]'
'/^\+ZRSSI/ {print $2}'
+ T=-111
+ '[' -n ]
+ RSRP=-111
+ ADDON='{"RSRP":"-111 dBm"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ + awkxargs '-F[,:]'
'/^\+ZRSSI/ {print $3}'
+ T=-17
+ '[' -n '{"RSRP":"-111 dBm"}' ]
+ ADDON='{"RSRP":"-111 dBm"},'
+ RSRQ=-17
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:]'xargs '/^\+ZRSSI/ {print $4}'
+ T=-78
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},'
+ RSSI=-78
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:]'xargs '/^\+ZRSSI/ {print $5}'
+ T=-1.4
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},'
+ SINR=-1.4
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCELLINFO/ {print $4}'xargs
+ T='LTE B20'
+ band 20 'LTE '
+ echo 'LTE B20 (800 MHz)'
+ MODE='LTE B20 (800 MHz)'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]' '/^\+ZCAINFO/ {print $9}'+
xargs
+ T=3
+ '[' -n 3 ]
+ band 3
+ echo 'B3 (1800 MHz)'
+ MODE='LTE_A B20 (800 MHz) / B3 (1800 MHz)'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:;]'+ '/^\+ZCAINFO/ {print $14}'xargs
+ T=1
+ '[' -n 1 ]
+ band 1
+ echo 'B1 (2100 MHz)'
+ MODE='LTE_A B20 (800 MHz) / B3 (1800 MHz) / B1 (2100 MHz)'
+ echo LTE_A B20 '(800' 'MHz)' / B3 '(1800' 'MHz)' / B1 '(2100' 'MHz)'
+ sed 's/LTE_A/LTE-A |/g'
+ sed s,/,+,
+ MODE='LTE-A | B20 (800 MHz) + B3 (1800 MHz) / B1 (2100 MHz)'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ + xargsawk
'-F[,:;]' '/^\+ZCAINFO/ {print $19}'
+ T=
+ '[' -n ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:\;]'xargs
'/^\+ZCAINFO/ {print $3}'
+ T=20
+ '[' -n 20 ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ xargs+
awk '-F[,:\;]' '/^\+ZCAINFO/ {print $6}'
+ T1=10.0
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},'
+ band 20
+ echo 'B20 (800 MHz)'
+ PBAND='B20 (800 MHz) @10.0 MHz'
+ band 20
+ echo 'B20 (800 MHz)'
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:\;]'xargs '/^\+ZCAINFO/ {print $2}'
+ T=262
+ '[' -n 262 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},'
+ PCI=262
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]' '/^\+ZCAINFO/ {print $5}'
+ xargs
+ T=6350
+ '[' -n 6350 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},'
+ EARFCN=6350
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCAINFO/ {print $9}'xargs
+ T=3
+ '[' -n 3 ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]' '/^\+ZCAINFO/ {print $11}'+
xargs
+ T1=10.0
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, '
+ band 3
+ echo 'B3 (1800 MHz)'
+ S1BAND='B3 (1800 MHz) @10.0 MHz'
+ band 3
+ echo 'B3 (1800 MHz)'
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCAINFO/ {print $7}'xargs
+ T=100
+ '[' -n 100 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ,{"(S) band":"B3 (1800 MHz), 10.0 MHz"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},'
+ S1PCI=100
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"}'
+ echo+ 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'awk
'-F[,:\;]' '/^\+ZCAINFO/ {print $10}'
+ xargs
+ T=1599
+ '[' -n 1599 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ,{"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},'
+ S1EARFCN=1599
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]' '/^\+ZCAINFO/ {print $14}'
+ xargs
+ T=1
+ '[' -n 1 ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCAINFO/ {print $16}'xargs
+ T1=15.0
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ,{"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},'
+ band 1
+ echo 'B1 (2100 MHz)'
+ S2BAND='B1 (2100 MHz) @15.0 MHz'
+ band 1
+ echo 'B1 (2100 MHz)'
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},{ "(T) band":"B1 (2100 MHz), 15.0 MHz"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCAINFO/ {print $12}'xargs
+ T=367
+ '[' -n 367 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ,{"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"}, {"(T) band":"B1 (2100 MHz), 15.0 MHz"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},{ "(T) band":"B1 (2100 MHz), 15.0 MHz"},'
+ S2PCI=367
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},{ "(T) band":"B1 (2100 MHz), 15.0 MHz"},{"(T) PCI":"367"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:\;]'xargs '/^\+ZCAINFO/ {print $15}'
+ T=225
+ '[' -n 225 ]
+ '[' -n '{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"} ,{"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"}, {"(T) band":"B1 (2100 MHz), 15.0 MHz"},{"(T) PCI":"367"}' ]
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},{ "(T) band":"B1 (2100 MHz), 15.0 MHz"},{"(T) PCI":"367"},'
+ S2EARFCN=225
+ ADDON='{"RSRP":"-111 dBm"},{"RSRQ":"-17 dB"},{"RSSI":"-78 dBm"},{"SINR":"-1.4 dB"},{"Primary band":"B20 (800 MHz), 10.0 MHz"},{"PCI":"262"},{"EARFCN":"6350"}, {"(S) band":"B3 (1800 MHz), 10.0 MHz"},{"(S) PCI":"100"},{"(S) EARFCN":"1599"},{ "(T) band":"B1 (2100 MHz), 15.0 MHz"},{"(T) PCI":"367"},{"(T) EARFCN":"225"}'
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]'+ '/^\+ZCAINFO/ {print $19}'xargs
+ T=
+ '[' -n ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk+ '-F[,:\;]'xargs '/^\+ZCAINFO/ {print $17}'
+ T=
+ '[' -n ]
+ echo 'at+zrssi;+zcellinfo?;+zcainfo?
+ZRSSI: -111,-17,-78,-1.4
+ZCELLINFO: 48907532, 262, LTE B20, 6350
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 3 67, 1, 1, 225, 15.0;
'
+ awk '-F[,:\;]' '/^\+ZCAINFO/ {print $20}'+
xargs
+ T=
+ '[' -n ]
+ sms_tool -d /dev/ttyUSB1 at ati
+ OF='ati
Manufacturer: ZTE CORPORATION
Model: MF289F
Revision: BD_VDFDEMF289FMODV1.0.0B07
SVN: 04
IMEI: 8647810xxxxxxxx
+GCAP: +CGSM
'
' 'GCAP: '+CGSM05082501789FMODV1.0.0B07
+ tr -s '\n'
+ xargs
+ DEVV='ati Manufacturer: ZTE CORPORATION Model: MF289F Revision: BD_VDFDEMF289F MODV1.0.0B07 SVN: 04 IMEI: 864781050825017 +GCAP: +CGSM'
+ sms_tool -d /dev/ttyUSB1 at AT+GMR
+ tr -s '\n'
+ xargs
+ FWA='AT+GMR BD_VDFDEMF289FMODV1.0.0B07'
+ echo AT+GMR BD_VDFDEMF289FMODV1.0.0B07
+ cut -c 8-
+ FW=BD_VDFDEMF289FMODV1.0.0B07
+ echo ati Manufacturer: ZTE CORPORATION Model: MF289F Revision: BD_VDFDEMF289FM ODV1.0.0B07 SVN: 04 IMEI: 864781050825017 +GCAP: +CGSM
+ awk -F 'Revision: ' '{print $1}'
+ xargs
+ MODELA='ati Manufacturer: ZTE CORPORATION Model: MF289F'
+ echo ati Manufacturer: ZTE CORPORATION Model: MF289F
+ awk -F 'Manufacturer: |CORPORATION' '{print $2}'
+ xargs
+ MODELB=ZTE
+ sms_tool -d /dev/ttyUSB1 at AT+CGMM
+ tr -s '\n'
+ xargs
+ MODELD='AT+CGMM MF289F'
+ echo AT+CGMM MF289F
+ cut -c 9-
+ MODELDCUT=MF289F
+ MODEL='ZTE MF289F'
+ cat /sys/kernel/debug/usb/devices
+ PV='
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.131 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.131 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=19d2 ProdID=1432 Rev=58.11
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE Mobile Broadband
S: SerialNumber=P685M135MZTED000000
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E: Ad=86(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.131 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 0
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.131 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms'
+ awk -F 'Vendor=19d2 ProdID=1432' '{print $2}'
+ cut -c-1220
+ echo T: 'Bus=01' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=480' 'Mx Ch=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 2.00 'Cls= 09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=000 2' 'Rev=' 5.10 S: 'Manufacturer=Linux' 5.10.131 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.0.auto' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=0 0' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms' T: 'Bus=02' ' Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00 ' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.10 S: ' Manufacturer=Linux' 5.10.131 xhci-hcd S: 'Product=xHCI' Host Controller S: 'Seri alNumber=xhci-hcd.0.auto' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms' T: 'Bus=02' 'Lev=01' 'Prnt=01' ' Port=00' 'Cnt=01' 'Dev#=' 2 'Spd=5000' 'MxCh=' 0 D: 'Ver=' 3.20 'Cls=00(>ifc' ') ' 'Sub=00' 'Prot=00' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=19d2' 'ProdID=1432' 'Rev=58 .11' S: 'Manufacturer=ZTE,Incorporated' S: 'Product=ZTE' Mobile Broadband S: 'Se rialNumber=P685M135MZTED000000' 'C:*' '#Ifs=' 5 'Cfg#=' 1 'Atr=80' 'MxPwr=896mA' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=op tion' E: 'Ad=81(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=01(O)' 'Atr=02(B ulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 1 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'S ub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=83(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32 ms' E: 'Ad=82(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=02(O)' 'Atr=02(Bul k)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 2 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub =ff' 'Prot=ff' 'Driver=option' E: 'Ad=85(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32ms ' E: 'Ad=84(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=03(O)' 'Atr=02(Bulk) ' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 3 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub=f f' 'Prot=ff' 'Driver=qmi_wwan' E: 'Ad=86(I)' 'Atr=03(Int.)' 'MxPS=' 8 'Ivl=32ms' E: 'Ad=8e(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=0f(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 4 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=42 ' 'Prot=01' 'Driver=(none)' E: 'Ad=04(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E : 'Ad=87(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' T: 'Bus=03' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=480' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%), ' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 2.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS= 64' '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0002' 'Rev=' 5.10 S: 'Manufacturer=Linux ' 5.10.131 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd. 1.auto' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03 (Int.)' 'MxPS=' 4 'Ivl=256ms' T: 'Bus=04' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 0 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso= ' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: ' Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.10 S: 'Manufacturer=Linux' 5.10.131 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.1.auto' 'C:*' '#Ifs =' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(h ub' ')' 'Sub=00' 'Prot=00' 'Driver=(none)' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms'
+ PVCUT=' Rev=58.11 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Mobile Broad band S: SerialNumber=P685M135MZTED000000 C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=896mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* I f#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=83(I) Atr= 03(Int.) MxPS= 10 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O ) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr =02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=86(I) Atr=03 (Int.) MxPS= 8 Ivl=32ms E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) A tr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Pro t=01 Driver=(none) E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=87(I) Atr=02 (Bulk) MxPS=1024 Ivl=0ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Su b=00 Prot=01 MxPS=64 #Cfgs= 1'
+ echo ' Rev=58.11 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Mobile Broadb and S: SerialNumber=P685M135MZTED000000 C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=896mA I :* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If #= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=83(I) Atr=0 3(Int.) MxPS= 10 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff P rot=ff Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr= 02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=86(I) Atr=03( Int.) MxPS= 8 Ivl=32ms E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) At r=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot =01 Driver=(none) E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=87(I) Atr=02( Bulk) MxPS=1024 Ivl=0ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub =00 Prot=01 MxPS=64 #Cfgs= 1'
+ grep -q 'Driver=qmi_wwan'
+ PROTO=qmi
+ break
+ cat
{
"connt":"0d, 00:08:23",
"conntx":"408.0 KiB",
"connrx":"941.9 KiB",
"modem":"ZTE MF289F",
"mtemp":"",
"firmware":"BD_VDFDEMF289FMODV1.0.0B07",
"cport":"/dev/ttyUSB1",
"protocol":"qmi",
"csq":"18",
"signal":"58",
"operator_name":"T-Mobile .pl",
"operator_mcc":"260",
"operator_mnc":"02",
"mode":"LTE-A | B20 (800 MHz) + B3 (1800 MHz) / B1 (2100 MHz)",
"registration":"1",
"lac_dec":"0",
"lac_hex":"0",
"tac_dec":"",
"tac_hex":"-",
"cid_dec":"0",
"cid_hex":"0",
"pci":"262",
"earfcn":"6350",
"pband":"B20 (800 MHz) @10.0 MHz",
"s1band":"B3 (1800 MHz) @10.0 MHz",
"s1pci":"100",
"s1earfcn":"1599",
"s2band":"B1 (2100 MHz) @15.0 MHz",
"s2pci":"367",
"s2earfcn":"225",
"s3band":"",
"s3pci":"",
"s3earfcn":"",
"rsrp":"-111",
"rsrq":"-17",
"rssi":"-78",
"sinr":"-1.4"
}
+ exit 0
root@OpenWrt:/#MiG25 napisał/a:I belive AT+ZCELLINFO? gives CellID ....
I’ll try to take a look tomorrow and fix that one, then send PR to 4IceG
Regarding TAC/LAC we should get from another part
If you have suggestion are welcome
TAC is 3rd no from ZCAINFO , in this case 59100
+ZCAINFO: 262, 20, 59100, 6350, 10.0; 100, 2, 3, 1599, 10.0; 367, 1, 1, 225, 15.0;Ale to t-mobile a nie plus jak na screenshocie. Zmieniłeś kartę?
Tak,zmieniłem , na 3ginfo chciałem pokazać agregację 4pasm ![]()
A na tej T-Mobile mam jakiś tam transfer jeszcze.
OK, dzięki, dorobiłem sobie do mifi. Będzie na przyszłość.
Moge dodać jeszcze jedną linijke, aby "czekalo CA band (S4)". Podwojnego plusa też latwo usunąć, a dalej myslcie jak macie modemy, co jeszcze kuleje
.
@MiG25 wybór bandów jest bez zmian?
Tak , identycznie jak w MF286D działa komenda AT+ZNLOCKBAND , i ma identyczną defaultową wartość ( choć @stich86 coś wspominał ,że z włoskiego Vodaphone defaultowo nie ma B20 , ale dało się to włączyć).
czyli np
AT+ZNLOCKBAND=1,0,45,0ustawi B1+B3+B7
Strony Poprzednia 1 2 3 4 5 6 … 45 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Sprzęt / Hardware → ZTE MF289F - Porting OpenWRT
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc