BG95-M3 not accept APN

Hi

I’ve been working for two days to connect ESP32 using a BG95-M3 modem and a monogoto sim card and today the modem stopped accepting the APN command
AT+CGDCONT=1,“IP”,“data.mono”
ERROR

but this one works AT+CGDCONT=1,“IP”,“mono”
OK

Below is the log from the modem
ATI
Quectel
BG95-M3
Revision: BG95M3LAR02A03OK
AT+GSN
869616064576336OK
AT+CPIN?
+CPIN: READYOK
AT+COPS?
+COPS: 0,0,“vodafone ES”,8OK
AT+QNWINFO
+QNWINFO: “eMTC”,“21401”,“LTE BAND 20”,6300OK
AT+QNWINFO
+QNWINFO: “eMTC”,“21401”,“LTE BAND 20”,6300OK
AT+QNWINFO
+QNWINFO: “eMTC”,“21401”,“LTE BAND 20”,6300OK
AT+QCSQ
+QCSQ: “eMTC”,-69,-99,83,-16OK
AT+CGDCONT=1,“IP”,“data.mono”
ERROR
AT+CGDCONT=1,“IP”,“mono”
OK
AT+CGDCONT=1,“IP”,“data.mono”
ERROR

Firmware version:
BG95M3LAR02A03_01.017.01.017

What can this error be related to, yesterday the modem accepted this command ?

Hi
According to the query result of AT+QCSQ instruction, the SINR of your current network is very poor. Is your test network environment yesterday the same as today? In addition, AT+CEREG? What is the result of the command?
BR
Tabor

Check that the quotation marks used throughout your command are ASCII (character 34 decimal) and not unicode.

If you’ve done a copy-and-paste of the APN with quotes at some point, it’s easy for the copied quotation marks to end up incorrect.

They’re always incorrect when copying from posts on this forum, unless they were posted as “Preformatted text”.

Like this: AT+CGDCONT=1,"IP","data.mono"

1 Like

If you want to restart the modem, run AT+CFUN=0 and then AT+CFUN=1

You can do AT+QIACT, right? Query whether data.mono is activated.

Here’s some AT commands for you to try:

AT+CGDCONT=2,“IP”,“data.mono”

and this sequence:

AT+CFUN=0
AT+CGDCONT=1,“IP”,“data.mono”
AT+CFUN=1

Same problem
AT+CGDCONT=1,“IP”,“data.mono”
ERROR

How I can chec what APN is set to BG95 ?

What happened when you tried setting data.mono as the APN for context 2?

O found why I recived error

Modem already have this APN in config

With of them will by used when I use ppp connection and ATD*99# command ?
Or how I can delete them from configuration ?

Context 1 is used by default.

ATD*99# is equivalent to specifying context 1 explicitly like this: ATD*99***1#

To use context 3 you want ATD*99***3#

how I can delete this entries and set from begining ?

To remove contexts 1 through 4:

AT+CGDCONT=1
AT+CGDCONT=2
AT+CGDCONT=3
AT+CGDCONT=4