Connecting BG95-M3 modem to a GSM network

Hi,
I am using BG95-M3 modem. I am trying to force the modem to connect to a GSM network.
By issuing the sequence of commands below. Does the sequence look correct to connect to a GSM network?
For some reason, the modem fails to register.
AT+QCFG=“iotopmode”, 0
AT+QCFG=“nwscanmode”,1
AT+QCFG=“nwscanseq”,“010203”

Hi ,
Do you use AT+QCFG=“band” to correctly configure GSMband? Do you check whether the USIM card supports GSM network?
BR
tabor

1 Like

I left the GSM band at a default setting. I believe there is GSM 1800 and 850 in my area. I am using KORE wireless SIM card and it supports a GSM network. I wonder if there is a way to verify if a GSM network is available in my area. Is there a command I could issue to the modem to check for a GSM network?

Thank you

  1. You can query the current network through the following command:

AT+QNWINFO

+QNWINFO: < AcT> ,< oper> ,< band> ,< channel>

  1. If you want to try to force your modem to connect to the GSM network, you can run the following command:

AT+QCFG=“nwscanseq”,010203

AT+QCFG=“nwscanmode”,1

To check what network (GSM or LTE) is available in your area:
AT+COPS=?
Read the AT command document for more details.

1 Like

Hi,
I sent the following commands to the modem (as you recommended):
AT+QCFG=“nwscanseq”,010203
AT+QCFG=“nwscanmode”,1
AT+QNWINFO

And the response is - +QNWINFO: “GSM”,“310260”,“GSM 1800”,584
Does it mean the modem is connected to a GSM network?

You can use AT+CREG? Command to check whether the module has registered with the GSM network.If the return value is 0,1 or 0,5, the module has successfully registered with the network.

AT+CREG?

+CREG: < n> ,< stat>
< n>Integer type.
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code: +CREG:
2 Enable network registration and location information unsolicited result code:
+CREG: < stat> [,[<lac>],[<ci>],[<AcT>]
< stat> Integer type. Circuit mode registration status.
0 Not registered. MT is not currently searching an operator to register to
1 Registered, home network
2 Not registered, but MT is currently trying to attach the network or searching an
operator to register to
3 Registration denied
4 Unknown
5 Registered, roaming

1 Like

I actually use this command and the modem response is always +CEREG: 0,2 or +CEREG: 0,4 when I force it to connect to the GSM.
When the modem connects to the eMTC network the response is +CEREG: 0,1 and everything works, but not when I am making to connect to the GSM (+CEREG: 0,2 or +CEREG: 0,4)

1 Like

Check whether the GSM network is registered successfully. Do I need to use AT+CREG? Instead of AT+CEREG? Please use AT+CREG? Command to query information.

1 Like

Try AT+CGREG? for GPRS/EDGE connection and AT+CEREG? for LTE.

Hi, I would like to continue on this topic.
It looks like I am registered to the following network:
AT+QNWINFO
+QNWINFO: “GSM”,“310260”,“GSM 1900”,584
OK
AT+CREG?
+CREG: 0,5
OK
When I send AT+QIACT=1 I get an ERROR from the modem. Why do I get an error?

Check AT+QIACT? first.

1 Like

Hi,
I ran the command AT+QIACT? and got OK in response.

Was the context configured by AT+QICSGP ?

I get an ERROR in response to AT+QICSGP? At the same time, I get +CREG 0,5 in response to AT+CREG?
I see this issue only when I force the modem to connect to a GSM network:
+QNWINFO: “EDGE”,“310260”,“GSM 1900”,584

There is no read command for +QICSGP, only test and write.
If the context has not been previously configured using the write syntax, I suggest doing so and re-test.

The modem is still unable to activate PDP on my GSM network, even though the modem is registered.
AT+QNWINFO
+QNWINFO: “GSM”,“310260”,“GSM 1900”,584
OK
AT+CREG?
+CREG: 0,5
OK
I still get an error when issuing the AT+QIACT=1 command.

Apologies for the typo in my previous response.
Please show your complete AT+QICSGP= command and successive AT+QIACT? response.

AT+QICSGP=1,1,“data.apn.name”,“”,“”,1
OK
AT+QIACT?
OK

With empty username and password I suppose the <authentication> value should be None, e.g. last parameter should be 0.
Unfortunately I do not have a suitable Quectel module to experiment with.