Hello all.
I am trying to connect to the internet with the SIM 7020E. I use an IoT sim card for this. I managed to establish an APN connection, but unfortunately don’t get an IP address. Can someone tell me how to continue the code?
```
Serial.println(“********* Init Connection START ***********”);
toggleEchoMode(false, true);
runCommand("AT+COPS=?", "Operator Selection");
runCommand("AT+CGDCONT=?", "APN Selection");
runCommand("AT+CGDCONT=1,\"IPV4V6\",\"internet.m2mportal.de\"", "Set the APN internet.m2mportal.de for your carrier");
runCommand("AT+IPCONFIG", "Show IP Config");
runCommand("AT+CGPADDR=?", "Get the IP address assigned by the carrier");
Here ist the Reply i get:
08:40:17.245 -> ********* Init Connection START ***********
08:40:17.311 -> disable echo mode
08:40:17.311 -> Executing: >ATE0<
08:41:30.071 -> Response: >+COPS: (1,"","","26201",9),(1,"vodafone","voda D2","26202",9),(1,"E-Plus","E-Plus","26203",9),,(0-4),(0-2) OK OK OK<
08:41:30.201 -> Operator Selection
08:41:30.239 -> Executing: >AT+COPS=?<
08:42:50.372 -> Response: >+COPS: (1,"","","26201",9),(1,"vodafone","voda D2","26202",9)<
08:42:50.470 -> APN Selection
08:42:50.470 -> Executing: >AT+CGDCONT=?<
08:42:51.761 -> Response: >+CGDCONT: (1-15),"IP",,,(0-2),(0-4),(0),,,,(0-1),,(0-1),,(0-1),(0-4),(0),,,,(0-1),,(0-1),,(0-1) OK<
08:42:51.860 -> Set the APN internet.m2mportal.de for your carrier
08:42:51.925 -> Executing: >AT+CGDCONT=1,"IPV4V6","internet.m2mportal.de"<
08:42:53.227 -> Response: >OK<
08:42:53.227 -> Show IP Config
08:42:53.272 -> Executing: >AT+IPCONFIG<
08:42:54.484 -> Response: >+IPCONFIG: 127.0.0.1 OK<
08:42:54.517 -> Get the IP address assigned by the carrier
08:42:54.550 -> Executing: >AT+CGPADDR=?<
08:42:55.787 -> Response: >OK<
I would be very thankful for your help!
Kind regards
Aron