Registration successful - got IP but cannot ping
Max Rob Smith
I have a problem regarding the registration or better say, I am not quite sure if there is a problem at all.
It is possible for me to connect to the network. I am using the BG96 module from Quectel.
Unfortunately, every ping attempt fails …
und at+cgdcont? provides a somewhat irritating output
+CGDCONT: 1,“IP”,“internet.nbiot.telekom.de”,“0.0.0.0”,0,0,0,0 –
Why is it not possible to ping? (I use the internet.nbiot.telekom.de APN)
I would also like to know if the following parameter is necessary or better say what exactly is it doing?
AT + QCFG is a command to set or read different configuration parameters of the module. nbsibscramble is one such command. With the command
the so-called code scrambling is deactivated. Whether code scrambling needs to be enabled or disabled depends on the configuration of the network. In the Telekom network in Germany, the code scrambling must be activated so that the module can register with the network. To enable code scrambling, the command must be
This configuration is the default configuration by Quectel BG96 and normally does not need to be adapted.
and at+cgdcont? provides a somewhat irritating output
The output of AT + CGDCONT looks okay if you have a Public Access SIM card. The APN of the Public Access SIM card is “internet.nbiot.telekom.de”, as well as in your edition. So you should be able to ping a server.
To ping a server, BG96 uses the command AT + QPING. Before you can ping a server (or generally send data packets), the PDP context must first be activated in the module. This requires the command
1 stands for the ID of your PDP context. You can read this from the answer of the query AT + CGDCONT. The ID is important because it is possible in principle to have several PDP contexts. After the command has been answered with an OK, you can use “AT + QIACT?” read the (local) IP address of your module. An output could look like this:
Then you can ping AT + QPING a server, for example:
I hope I could help.