If you are asking a question, please follow this template:
- My goal is: Connect to the internet through A9G GSM&GPS module using pppos library of Mongoose OS.
- My actions are: I followed the tutorial in this link: https://medium.com/google-cloud/gps-cellular-asset-tracking-using-google-cloud-iot-core-firestore-and-mongooseos-4dd74921f582.
My config schema is:
- ["mqtt.server", "iot.eclipse.org:1883"]
- ["i2c.enable", true]
- ["pppos.enable", true]
- ["pppos.uart_no", 2]
- ["pppos.rx_gpio", 16]
- ["pppos.tx_gpio", 17]
- ["pppos.baud_rate", 115200]
- ["pppos.connect_cmd", "ATD*99***1#"]
- ["pppos.apn", "APN"]
- ["pppos.user", "USER"]
- ["pppos.pass", "PWD"]
- The result I see is: I get this error message.
[Aug 6 21:52:10.255] A9/A9G
[Aug 6 21:52:10.258] V02.02.20190915R, IMEI: 867959034204627
[Aug 6 21:52:10.563] mgos_pppos.c:336 SIM is not ready (EADY), proceeding anyway
[Aug 6 21:52:10.749] mgos_pppos.c:388 Connected to mobile network (home)
[Aug 6 21:52:11.040] mgos_pppos.c:406 Operator: GLOBE
[Aug 6 21:52:11.147] mgos_pppos.c:416 RSSI: -89
[Aug 6 21:52:11.361] mgos_pppos.c:702 Command failed: AT+CGDCONT=1,"IP","APN"
[Aug 6 21:52:11.361] mgos_net.c:86 PPP: connecting
[Aug 6 21:52:11.363] mgos_pppos.c:613 Connecting (UART2, APN 'APN')...
[Aug 6 21:52:11.757] mgos_pppos.c:263 Ai_Thinker_Co._Ltd.
- My expectation & question is: My expectation is to connect to the GCP IoT Core through GPRS. Somehow I get this certain message Command failed: AT+CGDCONT=1,âIPâ,âAPNâ. I canât connect to my GCP server as well.