BG95-M3 Not connecting to LTE 4G network

Hello. I am trying to connect to 4G network but having a lot of issues. I use auto initialization in QNavigator and get the following results:

/* Start AT SYNC: Send AT every 500ms, if receive OK, SYNC success, if no OK return after sending AT 10 times, SYNC fail */
[2022-07-29 11:20:23:622_S:] AT
[2022-07-29 11:20:23:683_R:] AT
[2022-07-29 11:20:23:683_R:] OK
[2022-07-29 11:20:23:704_S:] ATI
[2022-07-29 11:20:23:767_R:] ATI
[2022-07-29 11:20:23:767_R:] Quectel
[2022-07-29 11:20:23:767_R:] BG95M3
[2022-07-29 11:20:23:767_R:] Revision: BG95M3LAR02A02

[2022-07-29 11:20:23:767_R:] OK
[2022-07-29 11:20:23:783_S:] ATI
[2022-07-29 11:20:23:845_R:] ATI
[2022-07-29 11:20:23:845_R:] Quectel
[2022-07-29 11:20:23:845_R:] BG95M3
[2022-07-29 11:20:23:845_R:] Revision: BG95M3LAR02A02

[2022-07-29 11:20:23:845_R:] OK

/* Use ATV1 to set the response format */
[2022-07-29 11:20:23:861_S:] ATV1
[2022-07-29 11:20:23:930_R:] ATV1
[2022-07-29 11:20:23:930_R:] OK

/* Use ATE1 to enable echo mode */
[2022-07-29 11:20:24:184_S:] ATE1
[2022-07-29 11:20:24:246_R:] ATE1
[2022-07-29 11:20:24:246_R:] OK

/* Use AT+CMEE=2 to enable result code and use verbose values */
[2022-07-29 11:20:24:401_S:] AT+CMEE=2
[2022-07-29 11:20:24:463_R:] AT+CMEE=2
[2022-07-29 11:20:24:463_R:] OK

/* Get the baudrate, if the value is 0 (auto baudrate), then it will be set to 115200 (fixed baudrate) to assure reliable communication and avoid any problems caused by undetermined baudrate between DCE and DTE, value of IPR should be saved with AT&W */
[2022-07-29 11:20:24:717_S:] AT+IPR?
[2022-07-29 11:20:24:786_R:] AT+IPR?
[2022-07-29 11:20:24:786_R:] +IPR: 115200

[2022-07-29 11:20:24:786_R:] OK

/* Use ATI to get module information of Manufacturer ID, Device module and Firmware version */
[2022-07-29 11:20:24:833_S:] ATI
[2022-07-29 11:20:24:902_R:] ATI
[2022-07-29 11:20:24:902_R:] Quectel
[2022-07-29 11:20:24:902_R:] BG95M3
[2022-07-29 11:20:24:902_R:] Revision: BG95M3LAR02A02

[2022-07-29 11:20:24:902_R:] OK

/* Use AT+GSN to query the IMEI of module */
[2022-07-29 11:20:25:011_S:] AT+GSN
[2022-07-29 11:20:25:086_R:] AT+GSN
[2022-07-29 11:20:25:086_R:] 864475040015231

[2022-07-29 11:20:25:086_R:] OK
[2022-07-29 11:20:25:086_S:] AT+QURCCFG="URCPORT","usbmodem"
[2022-07-29 11:20:25:149_R:] AT+QURCCFG="URCPORT","usbmodem"
[2022-07-29 11:20:25:149_R:] OK

/* Use AT+CPIN? to query the SIM card status : SIM card inserted or not, locked or unlocked */
[2022-07-29 11:20:25:665_S:] AT+CPIN?
[2022-07-29 11:20:25:734_R:] AT+CPIN?
[2022-07-29 11:20:25:734_R:] +CPIN: READY

[2022-07-29 11:20:25:734_R:] OK

/* Use AT+CIMI to query the IMSI of SIM card */
[2022-07-29 11:20:25:850_S:] AT+CIMI
[2022-07-29 11:20:25:919_R:] AT+CIMI
[2022-07-29 11:20:25:919_R:] 246012102668111

[2022-07-29 11:20:25:919_R:] OK

/* Use AT+QCCID to query ICCID number of SIM card */
[2022-07-29 11:20:26:088_S:] AT+QCCID
[2022-07-29 11:20:26:151_R:] AT+QCCID
[2022-07-29 11:20:26:151_R:] +QCCID: 89370010100026681111

[2022-07-29 11:20:26:151_R:] OK

/* Use AT+CSQ to query current signal quality */
[2022-07-29 11:20:26:205_S:] AT+CSQ
[2022-07-29 11:20:26:267_R:] AT+CSQ
[2022-07-29 11:20:26:267_R:] +CSQ: 25,99

[2022-07-29 11:20:26:267_R:] OK

/* Use AT+CREG? /AT+CGREG? to query the network registration status. */
[2022-07-29 11:20:26:267_S:] AT+CREG?
[2022-07-29 11:20:26:336_R:] AT+CREG?
[2022-07-29 11:20:26:336_R:] +CREG: 0,1

[2022-07-29 11:20:26:336_R:] OK
[2022-07-29 11:20:26:352_S:] AT+CGREG?
[2022-07-29 11:20:26:421_R:] AT+CGREG?
[2022-07-29 11:20:26:421_R:] +CGREG: 0,1

[2022-07-29 11:20:26:421_R:] OK

/* Use AT+COPS? to query current Network Operator */
[2022-07-29 11:20:26:473_S:] AT+COPS?
[2022-07-29 11:20:26:536_R:] AT+COPS?
[2022-07-29 11:20:26:536_R:] +COPS: 0,0,"Telia LT Telia LT",0

[2022-07-29 11:20:26:536_R:] OK

/*Use AT+CEREG? to query current EPS Network Registration Status*/
[2022-07-29 11:20:26:590_S:] AT+CEREG?
[2022-07-29 11:20:26:652_R:] AT+CEREG?
[2022-07-29 11:20:26:652_R:] +CEREG: 0,4

[2022-07-29 11:20:26:652_R:] OK

I would like to know what else I need to do to connect to the 4g network with my modem.

I have a PDP context setup:

[2022-07-29 11:21:10:191_S:] AT+CGDCONT?
[2022-07-29 11:21:10:269_R:] AT+CGDCONT?
[2022-07-29 11:21:10:269_R:] +CGDCONT: 1,"IP","omnitel","0.0.0.0",0,0,0
  1. How can I delete existing PDP context? I have tried the following:
[2022-07-29 11:23:08:291_S:] AT+CGDEL=1
[2022-07-29 11:23:08:355_R:] AT+CGDEL=1
[2022-07-29 11:23:08:355_R:] ERROR

and

[2022-07-29 11:23:51:950_S:] AT+CGDCONT=1
[2022-07-29 11:23:52:019_R:] AT+CGDCONT=1
[2022-07-29 11:23:52:019_R:] ERROR
  1. What other commands I need to execute to get modem to connect to the 4g?

Hi,
For BG95M3 series module, first PDP cannot delete, and for LTE registration, pls check following commands:

AT+QCFG="iotopmode",0 <for CATM only>
AT+QCFG="iotopmode",1 <for CAT-NB only>
AT+QCFG="nwscanmode",3 < LTE Only>
AT+QCFG="band"[,<GSM_bandval>,<eMTC_bandval>,<NB-IoT_bandval>[,<effect>]]

Hey. Thanks for response. Could you explain a little more? Do I need to execute these commands in order? What parameters should I use with AT+QCFG=“band”

Do I need to reboot modem after these commands?

[2022-07-29 12:08:50:638_S:] AT+QCFG="iotopmode",0
[2022-07-29 12:08:50:695_R:] AT+QCFG="iotopmode",0
[2022-07-29 12:08:50:695_R:] OK
[2022-07-29 12:08:57:942_S:] AT+QCFG="nwscanmode",3
[2022-07-29 12:08:58:003_R:] AT+QCFG="nwscanmode",3
[2022-07-29 12:08:58:003_R:] OK
[2022-07-29 12:09:10:727_S:] AT+CEREG?
[2022-07-29 12:09:10:812_R:] AT+CEREG?
[2022-07-29 12:09:10:812_R:] +CEREG: 0,4

[2022-07-29 12:09:10:812_R:] OK
[2022-07-29 12:13:24:475_S:] AT+QCFG="band",0,100002000000000F0E189F,10004200000000090E189F
[2022-07-29 12:13:24:538_R:] AT+QCFG="band",0,100002000000000F0E189F,10004200000000090E189F
[2022-07-29 12:13:24:538_R:] OK
[2022-07-29 12:13:49:533_S:] AT+QCFG=?
[2022-07-29 12:13:49:596_R:] AT+QCFG=?
[2022-07-29 12:13:49:596_R:] +QCFG: "nwscanmode",(0,1,3),(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "servicedomain",(1,2),(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "nwscanseq",(00-010203),(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "band",(0-F),(0-7FFFFFFFFFFFFFFF),(0-7FFFFFFFFFFFFFFF),(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "iotopmode",(0-2)
[2022-07-29 12:13:49:596_R:] +QCFG: "urc/ri/ring",("off","pulse","always","auto","wave"),(1-2000),(1-10000),(1-10000),("off","on"),(1-5)
[2022-07-29 12:13:49:596_R:] +QCFG: "urc/ri/smsincoming",("off","pulse","always"),(1-2000),(1-5)
[2022-07-29 12:13:49:596_R:] +QCFG: "urc/ri/other",("off","pulse"),(1-2000),(1-5)
[2022-07-29 12:13:49:596_R:] +QCFG: "risignaltype",("respective","physical")
[2022-07-29 12:13:49:596_R:] +QCFG: "urc/delay",(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "ledmode",(0,1,3)
[2022-07-29 12:13:49:596_R:] +QCFG: "gpio",<mode>,<pin>[,[<dir>,<pull>,<drv>]/[<val>][,<save>]]
[2022-07-29 12:13:49:596_R:] +QCFG: "airplanecontrol",(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "apready",(0,1),(0,1),(100-3000)
[2022-07-29 12:13:49:596_R:] +QCFG: "nccconf",(0-1FF)
[2022-07-29 12:13:49:596_R:] +QCFG: "psm/enter",(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "psm/urc",(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "simeffect",(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "lapiconf",(0-2),(0,1)
[2022-07-29 12:13:49:596_R:] +QCFG: "snrscan",(0-2)
[2022-07-29 12:13:49:596_R:] +QCFG: "nasconfig",(0-7FFF)

[2022-07-29 12:13:49:596_R:] OK

Hi, There is no order for these command, It’s better to reboot module,
for band settings, keep default value is ok but will take a bit longer to search network,
which band you used?
maybe you can refer this application document.
Quectel_BG95&BG77&BG600L_Series_QCFG_AT_Commands_Manual_V2.0.pdf (465.7 KB)

Unfortunately, it is still not clear for me how can I setup 4G connection on the BG95-M3 modem. I have picked up a new card, could you clarify how can I completely reset modem to the default settings (reset all parameters that I might have changed). I would like to start with fresh factory settings

I have tried the following:

I have sent AT&F to the modem:

[2022-07-29 14:00:33:156_S:] AT&F
[2022-07-29 14:00:33:224_R:] AT&F
[2022-07-29 14:00:33:224_R:] OK

But when I try to read some settings for example CGDCONT?, I still get some settings that I have set long time ago. I expect everything to be wiped out:

[2022-07-29 13:59:05:531_S:] AT+CGDCONT?
[2022-07-29 13:59:05:588_R:] AT+CGDCONT?
[2022-07-29 13:59:05:588_R:] +CGDCONT: 1,"IP","omnitel","0.0.0.0",0,0,0
[2022-07-29 13:59:05:588_R:] +CGDCONT: 2,"IP","TEST","0.0.0.0",0,0,0

I have also read somewhere about the following command:

AT+QPRTPARA=3

but it does not seem to work:

[2022-07-29 14:28:26:078_S:] AT+QPRTPARA=3
[2022-07-29 14:28:26:143_R:] AT+QPRTPARA=3
[2022-07-29 14:28:26:143_R:] ERROR

Hi,
For BG95 series module, there is no command to restore all settings currently,
for restore band setting you can try: AT+QCFG="bandrestore"
for CGDCONT default setting: AT+CGDCONT=1,"IPV4V6",""
also, AT+CGDCONT=x, will delete PDP x, except first PDP.

if you want register to LTE newtork:

AT+QCFG="iotopmode",2
AT+QCFG="nwscanmode",3
AT+CFUN=0
AT+CFUN=1

B R,

Linkin