hello everyone,
i am using Neoway-N58 GSM module interface with esp32 wrover E kit and pppos with ESP NAT router murge example code run when i compile and execute code than its get below output,
First i connect wifi with esp NAT router than i enter show command in consol than PPPos start but after pppos start by ATD*99# command than AT0 command execute i want to know how this happen,
and also please let me know how can we work on pppos and esp_NAT_router wifi mode simultaneously,
please check below attached consol output,
after uart_write cmd =AT+CSQ
I (28034) pppos_example: rssi: 26, ber: 99
before uart_write
after uart_write cmd =AT+CGDCONT=1,"IP","CMNET"
before uart_write
after uart_write cmd =ATD*99#
before uart_write
after uart_write cmd =ATO
E (34034) sim800: sim800_set_working_mode(320): enter ppp mode failed
E (34034) esp-modem: esp_modem_dte_change_mode(397): set new working mode:1 failed
E (34044) esp-modem: esp_modem_start_ppp(578): enter ppp mode failed
E (34044) esp_netif_lwip: Post-attach callback of driver(0x3ffd8734) failed with -1
I (172684) wifi
<6,2>, old:<6,0>, ap:<6,2>, sta:<6,0>, prof:1
I (172694) wifi
20:e2:02:0b:c9:cf join, AID=1, bgn, 40D
I (172694) ESP32 NAT router: 1. station connected
I (172714) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2
I (175124) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2
2) after i restart GSM module and check output than MQTT is working but after sometime got below error,please let me know how to resolve this error also,
I (121894) pppos_example: sent publish successful, msg_id=0
I (122284) pppos_example: MQTT_EVENT_DATA
TOPIC=/topic/esp-pppos
DATA=esp32-pppos
E (140544) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (140544) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
***ERROR*** A stack overflow in task uart_event has been detected.
Backtrace:0x400885b7:0x3ffd8730 0x40088c61:0x3ffd8750 0x40088f09:0x3ffd8770 0x40089d45:0x3ffd87f0 0x40088ffc:0x3ffd8810 0x40088fb2:0x0000000c |<-CORRUPTED
0x400885b7: panic_abort at C:/Users/Frank/Desktop/esp-idf/components/esp_system/panic.c:330
thanks & regard,
PIYUSH