Hi, I’m trying to evaluate Mbed and Pelion using the C030-R412M eval board. I have started with the “mbed-os-example-pelion” program and simply modified the json with my APN:
"nsapi.default-cellular-apn" : "\"iot0119.com.attz\"",
"nsapi.default-cellular-sim-pin" : null,
"nsapi.default-cellular-username" : null,
"nsapi.default-cellular-password" : null
It compiles and runs, but it hangs on the cell connection. Here is the serial sniffer log:
AT+CFUN=4
OK
+CREG: 0
+CGREG: 0
ATE0
OK
OK
OK
OK
OK
+CPIN: READY
OK
+COPS: 0
OK
OK
OK
+CGACT: 1,0
OK
+CGATT: 0
OK
OK
+CSQ: 99,99
OK
+CSQ: 99,99
OK
+CGREG: 2,4
OK
+COPS: 0
OK
+CREG: 2
+CGREG: 2
+CSQ: 99,99
OK
+CGREG: 2,4
OK
If I manually send the following cmds to the ublox modem, it seems to find available connections:
AT+CGDCONT=1,“IP”,“iot0119.com.attz”
AT+COPS=?
+COPS: (1,“AT&T”,“AT&T”,“310410”,7),(3,“313 100”,“313 100”,“313100”,7),(3,“311 480”,“311 480”,“311480”,7),(1,“310 260”,“310 260”,“310260”,0),(3,“311 480”,“311 480”,“311480”,9),(1,“AT&T”,“AT&T”,“310410”,9),(1,“310 260”,“310 260”,“310260”,9),(0,1,2,3,4),(0,1,2)
What am I missing in the “mbed-os-example-pelion” configuration?
Thanks for your help.