BG95-M3 bands restore

Hi,
I am using BG95-M3. When trying to connect to the network (LTE-M), I am getting response (registration status) either 0 or 2, no success for roaming registration (as I am using a “foreign” SIM).
I checked the configuration and got the following output:
+QCFG: “nwscanmode”,(0,1,3),(0,1)
+QCFG: “servicedomain”,(1,2),(0,1)
+QCFG: “nwscanseq”,(00-010203),(0,1)
+QCFG: “band”,(0-F),(0-7FFFFFFFFFFFFFFF),(0-7FFFFFFFFFFFFFFF),(0,1)
+QCFG: “iotopmode”,(0-2)
+QCFG: “celevel”,(0-2)
+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: “ledmode”,(0,1,3)
+QCFG: “gpio”,,[,[,,]/[][,]]
+QCFG: “airplanecontrol”,(0,1)
+QCFG: “cmux/urcport”,(0-4)
+QCFG: “apready”,(0,1),(0,1),(100-3000)
+QCFG: “nccconf”,(0-1FF)
+QCFG: “psm/enter”,(0,1)
+QCFG: “psm/urc”,(0,1)
+QCFG: “simeffect”,(0,1)
+QCFG: “lapiconf”,(0-2),(0,1)
+QCFG: “snrscan”,(0-2)
+QCFG: “nasconfig”,(0-7FFF)
+QCFG: “apn/display”,(0,1)
+QCFG: “irat/timer”,(5-300),(5-20)
+QCFG: “nb1/bandprior”,<band_priority_seq>

What I suspect as a problem is band setup. I am trying to get the band setup as:
AT+QCFG=“band”,0xf,0x100002000000000f0e189f,0x10004200000000090e189f,1

After issuing the command I am always getting the same band configuration. The problem I see here is probably the fact that 0 means no change and 1 means setting, in the setup string. The intended setup string has no effect against “all ones” in the existing band setup.

The above band setup is a result of AT+QCFG=“bandrestore” command, so this doesnt help.

My question is:

  • how to overwrite the “all ones” string by the new one or how to get the intended band setup applied
  • the length of the 7FFFFFFFFFFFFFFF is not the same as of 0x100002000000000f0e189f or 0x10004200000000090e189f

Any advise is appreciated.
Thanx.
Best regards,
peter

First, if you haven’t changed the configuration, I recommend saving the current configuration:

AT+QCFG="band"

should return a string of the current lte module setting (so that it can be brought back to this state in case of problems).

According to this document:

It should look like this:

AT+QCFG="band",0,4001C2000000000F0E389F,0,1

Here’s an example, on my EG18-EU form:

I check the current setting:

atcmd 'AT+QCFG="band"'
AT+QCFG="band"
+QCFG: "band",0x8d0,0x1a0080800d5,0x0

OK

Assign a new setting:

atcmd 'AT+QCFG="band",0,45,1'; # band only 1+3+7

restore the initial configuration:

atcmd 'AT+QCFG="band",8d0,1A0080800D5'; # all bands supported eg18-eu

you see that the initial “0x” is missing.

Hi compact,
thanx for your advises. It helped me to fix the band setup problem, now I am getting:

Current configuration: “band”,0xf,0x100002000000000f0e189f,0x10004200000000090e189f

I moved to another problem that I am going to open in a different / new topic.
Thanx.
Best regards,
peter

You’re welcome, it’s better to live in a collaborative world…