能否实现PPP拨号功能+构建HTTP服务器?
Posted: Tue Apr 26, 2022 8:52 am
1、我已经通过修改usb_cdc_4g_module demo实现PPP拨号上网,但是加上HTTP服务器后,HTTP服务器会访问不了,PPP拨号上网也会异常。
2、单独构建HTTP服务器,不使用PPP拨号上网,HTTP服务器没问题
3、日志,PPP+HTTP功能,在访问HTTP服务器会返回错误:esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
2、单独构建HTTP服务器,不使用PPP拨号上网,HTTP服务器没问题
3、日志,PPP+HTTP功能,在访问HTTP服务器会返回错误:esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
Code: Select all
I (00:02:13.398) 4G_MODUAL_TASK: < NAT is enabled! >
I (00:02:13.398) 4G_MODUAL_TASK: < http_server_is_open >
E (00:02:13.430) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:13.445) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:13.719) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
=================================================
wifi_mode=3
=================================================
E (00:02:13.827) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:14.174) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:14.238) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:14.263) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:14.278) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1
E (00:02:14.358) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1