You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
idf5.2.2
Espressif SoC revision.
esp32s3
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32s3
Power Supply used.
External 5V
What is the expected behavior?
I have tested idf 5.2.2, 5.3.1 with or without PSRAM support, when PSRAM enabled, I also tested "allocate memories of wifi and LWIP in SPRAM first" and "allow .bss in external" etc. but the result is similar:
If I used my phone to connect the router, and view viedo stream, it will hang up after around 5 minutes, and then you can not access any internet.
If I used my phone to connect the router, and not view viedo stream, but visit internet not heavily, it will hang up after a couple of hours, and then you can not access any internet.
What is the actual behavior?
it hangs up.
Steps to reproduce.
A log is like below, but it not always reports "esp-netif_lwip-ppp: pppos_input_tcpip failed with -1" before hanging up.
Debug Logs.
I (4901) IOT_USBH: Set Device Configuration = 1
I (4906) IOT_USBH: Set Device Configuration Done
I (4911) IOT_USBH: Pipe init succeed, addr: 84
I (4916) IOT_USBH: Pipe init succeed, addr: 02
I (4922) USB_HCDC: CDC Device Connected
I (4926) esp-modem: --------- Modem PreDefined Info ------------------
I (4933) esp-modem: Model: User Defined
I (4938) esp-modem: Modem itf: IN Addr:0x84, OUT Addr:0x02
I (4944) esp-modem: ----------------------------------------------------
I (4952) USB_HCDC: rx0 flush -19 = 19
I (4952) modem_board: DTE reconnect, reconnecting ...
I (5961) modem_board: reconnect after 5s...
I (6961) modem_board: reconnect after 4s...
I (7961) modem_board: reconnect after 3s...
I (8961) modem_board: reconnect after 2s...
I (9961) modem_board: reconnect after 1s...
I (9961) modem_board: Modem state STAGE_SYNC, Start
I (9975) modem_board: Network Auto reconnecting ...
W (9975) 4g_main: Modem Board Event: Network disconnected
I (9975) modem_board: Modem state STAGE_SYNC, Success!
I (10081) modem_board: Modem state STAGE_CHECK_SIM, Start
I (10084) modem_board: SIM Card Ready
I (10084) 4g_main: Modem Board Event: SIM Card Connected
I (10084) modem_board: Modem state STAGE_CHECK_SIM, Success!
I (10192) modem_board: Modem state STAGE_CHECK_SIGNAL, Start
I (10195) modem_board: Signal quality: rssi=27, ber=0
I (10195) modem_board: Modem state STAGE_CHECK_SIGNAL, Success!
I (10299) modem_board: Modem state STAGE_CHECK_REGIST, Start
I (10302) modem_board: Network registered, Operator: "46011"
I (10302) modem_board: Modem state STAGE_CHECK_REGIST, Success!
I (10407) modem_board: Modem state STAGE_START_PPP, Start
I (10539) modem_board: Modem state STAGE_START_PPP, Success!
W (10540) modem_board: Modem event! 0
I (10554) esp-netif_lwip-ppp: Connected
I (10554) modem_board: IP event! 6
I (10554) modem_board: Modem Connected to PPP Server
I (10557) modem_board: ppp ip: 10.137.25.246, mask: 255.255.255.255, gw: 10.64.64.64
I (10566) modem_board: Main DNS: 222.66.251.8
I (10571) modem_board: Backup DNS: 116.236.159.8
I (10576) esp-modem-netif: PPP state changed event 0: (NETIF_PPP_ERRORNONE)
I (10584) 4g_router_server: ssid : Can't find in NVS!
I (10589) 4g_router_server: password : Can't find in NVS!
I (10595) 4g_router_server: auth_mode : Can't find in NVS!
I (10602) 4g_router_server: channel : Can't find in NVS!
I (10608) 4g_router_server: hide_ssid : Can't find in NVS!
I (10614) 4g_router_server: bandwidth : Can't find in NVS!
I (10620) 4g_router_server: max_connection : Can't find in NVS!
I (10639) modem_board: Modem state STAGE_WAIT_IP, Start
I (10639) 4g_main: Modem Board Event: Network connected
I (10639) modem_board: Modem state STAGE_WAIT_IP, Success!
I (10673) 4g_router_server: Partition size: total: 956561, used: 184736
I (10673) 4g_router_server: Starting server on port: '80'
I (10677) 4g_router_server: Registering URI handlers
I (10681) 4g_router_server: Starting webserver
I (10687) pp: pp rom version: e7ae62f
I (10691) net80211: net80211 rom version: e7ae62f
I (10697) wifi:wifi driver task: 3fcc6710, prio:23, stack:6656, core=0
I (10711) wifi:wifi firmware version: ccaebfa
I (10711) wifi:wifi certification version: v7.0
I (10711) wifi:config NVS flash: enabled
I (10714) wifi:config nano formating: disabled
I (10718) wifi:Init data frame dynamic rx buffer num: 32
I (10723) wifi:Init static rx mgmt buffer num: 5
I (10728) wifi:Init management short buffer num: 32
I (10732) wifi:Init dynamic tx buffer num: 32
I (10737) wifi:Init tx cache buffer num: 32
I (10740) wifi:Init static tx FG buffer num: 2
I (10744) wifi:Init static rx buffer size: 1600
I (10749) wifi:Init static rx buffer num: 10
I (10753) wifi:Init dynamic rx buffer num: 32
I (10757) wifi_init: accept mbox: 6
I (10761) wifi_init: tcpip mbox: 32
I (10765) wifi_init: udp mbox: 6
I (10769) wifi_init: tcp mbox: 6
I (10773) wifi_init: tcp tx win: 5760
I (10777) wifi_init: tcp rx win: 5760
I (10782) wifi_init: tcp mss: 1440
I (10786) wifi_init: WiFi/LWIP prefer SPIRAM
I (10791) wifi_init: WiFi IRAM OP enabled
I (10795) wifi_init: WiFi RX IRAM OP enabled
I (10800) wifi_init: LWIP IRAM OP enabled
I (10805) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
I (10842) wifi:mode : softAP (24:58:7c:d0:6b:91)
I (10845) wifi:Total power save buffer number: 16
I (10845) wifi:Init max length of beacon: 752/752
I (10846) wifi:Init max length of beacon: 752/752
I (10850) modem_wifi: Wi-Fi AP started
I (10850) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (10867) wifi:Total power save buffer number: 16
I (10868) modem_wifi: softap ssid: esp_4g_router password: 12345678
I (10869) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (10883) modem_wifi: ap dns addr(default): 8.8.8.8
I (10889) 4g_main: changed: ap dns addr (auto): 222.66.251.8
I (10895) 4g_main: Ping addr 8.8.8.8 Restart..
I (11048) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=147 ms
I (20900) 4g_main: Ping addr 8.8.8.8 Restart..
I (21031) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=130 ms
I (23985) wifi:new:<6,2>, old:<6,2>, ap:<6,2>, sta:<255,255>, prof:6, snd_ch_cfg:0x0
I (23985) wifi:station: 72:64:f8:6d:c2:e2 join, AID=1, bgn, 40D
I (24026) 4g_router_server: station 72:64:f8:6d:c2:e2 join, AID=1
I (24026) 4g_router_server: 7264f86dc2e2 : Can't find in NVS!
I (24029) modem_wifi: NAT is enabled
I (24033) 4g_main: Modem Board Event: Station connected
I (24252) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (24252) modem_board: IP event! 2
I (24254) 4g_router_server: 7264f86dc2e2 : Can't find in NVS!
I (24260) 4g_router_server: MAC is 72:64:f8:6d:c2:e2, IP is 192.168.4.2, start_time is 23163366
I (24269) modem_wifi: Get IP addr
E (24985) 4g_router_server: No auth header received
E (24987) 4g_router_server: rest_common_get_handler(901): not login yet
I (30900) 4g_main: Ping addr 8.8.8.8 Restart..
I (30963) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=62 ms
E (33824) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33827) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33830) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33832) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33840) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33845) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33853) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33860) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33865) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (33874) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
I (40900) 4g_main: Ping addr 8.8.8.8 Restart..
W (42900) 4g_main: From 8.8.8.8 icmp_seq=1 timeout
I (50900) 4g_main: Ping addr 8.8.8.8 Restart..
I (52015) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=1114 ms
I (60900) 4g_main: Ping addr 8.8.8.8 Restart..
I (61438) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=537 ms
I (70900) 4g_main: Ping addr 8.8.8.8 Restart..
W (72900) 4g_main: From 8.8.8.8 icmp_seq=1 timeout
I (80900) 4g_main: Ping addr 8.8.8.8 Restart..
I (80900) 4g_main: 64 bytes from 8.8.8.8 icmp_seq=1 ttl=112 time=0 ms
I (90901) 4g_main: Ping addr 8.8.8.8 Restart..
W (92901) 4g_main: From 8.8.8.8 icmp_seq=1 timeout
I (100901) 4g_main: Ping addr 8.8.8.8 Restart..
W (102901) 4g_main: From 8.8.8.8 icmp_seq=1 timeout
More Information.
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
hang up and can not access internet after certain time with usb_cdc_4g_module
hang up and can not access internet after certain time with usb_cdc_4g_module (AEGHB-841)
Oct 10, 2024
Answers checklist.
IDF version.
idf5.2.2
Espressif SoC revision.
esp32s3
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32s3
Power Supply used.
External 5V
What is the expected behavior?
I have tested idf 5.2.2, 5.3.1 with or without PSRAM support, when PSRAM enabled, I also tested "allocate memories of wifi and LWIP in SPRAM first" and "allow .bss in external" etc. but the result is similar:
What is the actual behavior?
it hangs up.
Steps to reproduce.
A log is like below, but it not always reports "esp-netif_lwip-ppp: pppos_input_tcpip failed with -1" before hanging up.
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: