If you are asking a question, please follow this template:
- My goal is: pppos (AT commands) communicate with MC60 module to get GNSS fixed message
module :esp32_dev_kitc && MC20(MC60) EVK - My actions are:
add thiese to mos.yml based on GitHub - mongoose-os-apps/demo-c: A demo Mongoose OS firmware for C/C++
config_schema:
- ["mqtt.server", "iot.eclipse.org:1883"]
- ["pppos.enable", "b", true, {title: "Enable PPPoS"}]
- ["pppos.uart_no", "i", 1, {title: "Which UART to use"}]
# These depend on the operator and are usually well known.
- ["pppos.apn", "s", "cmnet", {title: "APN name"}]
- ["pppos.user", "s", "", {title: "User name"}]
- ["pppos.pass", "s", "", {title: "Password"}]
- ["pppos.connect_on_startup", "b", false, {title: "Connect immediately on startup"}]
add
libs:
- origin: https://github.com/mongoose-os-libs/boards
- origin: https://github.com/mongoose-os-libs/demo-bundle
- origin: https://github.com/mongoose-os-libs/pppos
add #include “mgos_pppos.h” to main.c
- The result I see is:
There are log from esp32 ,these logs repeat every few seconds.
[Apr 16 10:21:40.126] mgos_pppos.c:776 Command failed: AT+COPS=0
[Apr 16 10:21:40.126] mgos_net.c:86 PPP: connecting
[Apr 16 10:21:40.126] main.c:93 Net connecting...
[Apr 16 10:21:40.203] mgos_pppos.c:664 Connecting (UART1, APN 'cmnet')...
[Apr 16 10:21:40.203] mgos_pppos.c:707 Automatic operator selection
[Apr 16 10:21:42.507] mgos_pppos.c:279 Quectel_Ltd
[Apr 16 10:21:42.507] Quectel_MC20
[Apr 16 10:21:42.507] Revision: MC20CAR01A10, IMEI: 861929041270065
[Apr 16 10:21:42.807] mgos_pppos.c:349 SIM is ready, IMSI: , ICCID: +CPIN: READY
[Apr 16 10:21:42.807]
[Apr 16 10:21:42.807] +CCID: "89860042191894350323"
[Apr 16 10:21:43.515] mgos_sntp.c:96 SNTP query to time.google.com
- My expectation & question is:
What’s the meaning of these log, what should I do to get GNSS msg from MC60 module ?