Eg18 restore all supported band AT+QCFG

after blocking bands 1+3+7 with the command:

AT+QCFG=“band”,0,45,1

I would like to be able to restore the starting situation with all the bands chosen automatically by the module. Which command should I use?

I tried with the command:

AT+QCFG=“band”,0,0x7FFFFFFFFFFFFFFF,1

but it doesn’t work (and sorry if the question might be stupid).

LTE module information:
ATI
Quectel
EG18
Revision: EG18EAPAR01A12M4G

You don’t need to add 0x, see your own example.
If it doesn’t work with FFs - check the allowed values for “band” with AT+QCFG=?

Some doubts:

at
OK
ATI
Quectel
EG18
Revision: EG18EAPAR01A12M4G

OK
AT+QCFG=“band”
+QCFG: “band”,0x8d0,0x45,0x1

OK
AT+QCFG=“band”,0,7fffffffffffffff,1
ERROR

AT+QCFG=?
+QCFG: “gprsattach”,(0,1)
+QCFG: “nwscanmode”,(0-8),(0,1)
+QCFG: “nwscanseq”,(00-0102030405),(0,1)
+QCFG: “servicedomain”,(0,1,2),(0,1)
+QCFG: “roamservice”,(1,2)
+QCFG: “band”,(0-200),(0-7FFFFFFFFFFFFFFF),(0-7FFFFFFFFFFFFFFF),(0,1)
+QCFG: “rrc”,(0-5)
+QCFG: “msc”,(0-2)
+QCFG: “sgsn”,(0-2)
+QCFG: “hsdpacat”,(6,8,10-24)
+QCFG: “hsupacat”,(5,6)
+QCFG: “pdp/duplicatechk”,(0,1)
+QCFG: “hotswap”,(0,1)
+QCFG: “ppp/remoteip”,(0,1)
+QCFG: “ledmode”,(0,1)
+QCFG: “urc/ri/ring”,(“off”,“pulse”,“always”,“auto”,“wave”),(1-2000),(1-10000),(1-10000),(“off”,“on”),(1-5)
+QCFG: “urc/ri/smsincoming”,(“off”,“pulse”,“always”),(1-2000),(1-5)
+QCFG: “urc/ri/other”,(“off”,“pulse”),(1-2000),(1-5)
+QCFG: “risignaltype”,(“respective”,“physical”)
+QCFG: “urc/delay”,(0,1)
+QCFG: “cdmaruim”,(0,1)
+QCFG: “ltesms/format”[,(0-2)]
+QCFG: “ModemRstLevel”,(0,1)
+QCFG: “ApRstLevel”,(0,1)
+QCFG: “nwscanmodeex”,(1-63)
+QCFG: “ppp/termframe”,(0,1)
+QCFG: “ims”,,<volte_status>
+QCFG: “pcmclk”,(0,1)
+QCFG: “tone/incoming”,(0,2)
+QCFG: “sim/recovery”,(3-300),(0,5-300),(0,300)
+QCFG: “urc/cache”,(0,1)
+QCFG: “thermal/modem”[,,,]
+QCFG: “thermal/limit_rates”[,]
+QCFG: “thermal/txpwrlmt”[,<on_off>,,<temp_threshold>,,<trig_cnt>,<crl_cnt>]
+QCFG: “lte/bandprior”,(1-255),(1-255),(1-255)
+QCFG: “vts/async”,(0,1)
+QCFG: “urc/ri/pin”,(“uart_ri”,“uart_dcd”)
+QCFG: “stkauto/setupmenutr”,(0,1)
+QCFG: “sim/onchip”,(0,1)
+QCFG: “powerup/regctl”,(0,1)
+QCFG: “sim/clk_freq”,(0,1)
+QCFG: “attach/ims”,(0,1)
+QCFG: “diversity/config”,<0-5>,<0-7>,<0-2>
+QCFG: “usbid”,,
+QCFG: “usbcfg”,,,,,<at_port>,,,,
+QCFG: “usbnet”,<0-3>
+QCFG: “usbserial”,string<1-16>
+QCFG: “sarcfg”,,,<max_power>,<row_grads>
+QCFG: “etws”,(0,1)
+QCFG: “dbgctl”,(0,1,2)
+QCFG: “fast_dormancy”,(0,1,2),(1-65535)
+QCFG: “cdrx_enable”,(0,1)
+QCFG: “rf/maxpower”,,,<max_power>
+QCFG: “sms_control”,(0,1),(0,1)
+QCFG: “call_control”,(0,1),(0,1)
+QCFG: “netmaskset”,(0,1)[,]
+QCFG: “urc/smd”,(0-4),(0,1)
+QCFG: “sunset_plmn”,“List”
+QCFG: “sunset_plmn”,“Add”,
+QCFG: “sunset_plmn”,“Delete”,(,“all”)
+QCFG: “sunset_plmn”,“EnableAll”[,(0,1)]

OK

Try at+qcfg="band",0,1A0080800D5

Thank you

AT
OK
ATI
Quectel
EG18
Revision: EG18EAPAR01A12M4G

OK
at+qcfg=“band”,0,1A0080800D5
OK
AT+QCFG=“band”
+QCFG: “band”,0x8d0,0x1a0080800d5,0x1

OK

a follow up question why this command doesn’t work?

AT+QCFG=“band”,0,7fffffffffffffff,1

Make sure you use correct quotation marks. Try to copy/paste this:
at+qcfg="band",0,7FFFFFFFFFFFFFFF

picocom /dev/ttyUSB2
picocom v3.1

port is : /dev/ttyUSB2
flowcontrol : none
baudrate is : 9600
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no

Type [C-a] [C-h] to see available commands
Terminal ready
at
OK
ATI
Quectel
EG18
Revision: EG18EAPAR01A12M4G

OK
at+qcfg=“band”,0,7FFFFFFFFFFFFFFF
ERROR

ps: copy/paste your command

Well, then it is probably a firmware bug or limitation.

I think this is it…

1 Like

thanks for the help :grinning: