BC95-B20/define a PDP context /configuring the APN connection

Hello,
I’m working on a very urgent project using the Sixfab Raspberry Pi NB-IoT Shield with Quectel BC95-B20 module
I want to connect it to an NBIoT cellular network, I am following the instructions in the example for manual network attachment process in pages(123-124-125) of the “Quectel BC95 At commands” document.
But when I send the following At commands to configure the APN:
(AT+CGDCONT=1,“IPV4V6”,“nbiot”) # pdp-type is IPV4 for the operator APN connection
or
(AT+CGDCONT=0,“IPV4V6”,“nbiot”)
I get the following error: (+CME ERROR: 50)
According to the 7.chapter “Error values” in the document this error refers to an (Incorrect parameters)
and when I use the AT+CGDCONT=? command I get the following response:
(+CGDCONT:(0-10),(“IP”,“NONIP”),(0),(0),(0,1))
As you can see only IP and NONIP pdp types are supported
My question is are those 2 vlaues supported by the “operator” or by the “BC95-B20” module?
How can I solve this problem? can a firmware upgrading solve this problem?
I searched a lot for a solution but unfortunately, I couldn’t find any
Your help is greatly appreciated. Thanks!

In this context, “IP” means “IPv4”. Use “IP” for the PDP_type.

1 Like

You need to confirm again whether the APN is consistent with the one provided by the SIM card provider

1 Like

Thank you for your reply.
The APN of the SIM card provider is “nbiot”
the APN type is: “default or internet”
and the pdp-type is: " IPV4 or IPV4V6".
I tried to follow the example in the document using:
AT+CGDCONT=1,“IP”,“nbiot”

but I got the following response:

AT+CGDCONT=1,“IP”,“nbiot”
OK
AT+CEREG=1
OK
AT+CSCON=1
OK
AT+CGATT=1
OK
AT+CGATT?
+CGATT:0
AT+CEREG?
+CEREG:1,2
OK
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0

I can’t understand what is the problem? Why when I set the pdp-type as IPV4V6 I get the (Incorrect parameters) error and when I set the pdp-type as IP I can’t get attached to the network?

I would appreciate your help.

AT+CGDCONT?
AT+CGDCONT=0,“IP”,“nbiot”

please try again!

1 Like

Thank you for your reply.
I tried your suggestion but unfortunately, I am getting the same result:

AT+NCONFIG?
+NCONFIG:AUTOCONNECT,FALSE
+NCONFIG:CR_0354_0338_SCRAMBLING,TRUE
+NCONFIG:CR_0859_SI_AVOID,TRUE
+NCONFIG:COMBINE_ATTACH,FALSE
+NCONFIG:CELL_RESELECTION,FALSE
+NCONFIG:ENABLE_BIP,FALSE
OK

AT+CFUN=1
OK

AT+CGDCONT?
+CGDCONT:0,“IP”,0,0,1
OK

AT+CGDCONT=0,“IP”,“nbiot”
OK

AT+CEREG=1
OK

AT+CSCON=1
OK

AT+CGATT=1
OK

+CEREG:2
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0
+CSCON:1
+CSCON:0

AT+CSQ
+CSQ:12,99

AT+NUESTATS
Signal power:-1015
Total power:-876
TX power:190
TX time:6210
RX time:77666
Cell ID:1566820
ECL:1
SNR:17
EARFCN:6446
PCI:194
RSRQ:-131
OK

AT+CGATT?
+CGATT:0
OK

AT+CEREG?
+CEREG:1,2
OK

AT+CSCON?
+CSCON:1,0
OK

Judging from the logs you uploaded, the device still failed to register the network,You will need to continue to check the APN or replace it with another SIM card for testing

Do you mean by another SIM card from a different SIM provider? Or another SIM card from the same provider?

another SIM provider