espressif / esp-hosted

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)
Other
706 stars 169 forks source link

esp_hosted_fg :cannot connect to the Internet in softap mode #322

Closed wky19971002 closed 6 months ago

wky19971002 commented 9 months ago

We are now having a problem.We used the 4g modulus as the dhcp server,esp32 successfully obtains the dhcp arp broadcast message,and dhcp arp ack message from 4g modulus is sent to esp32,it seems get a right IP address,but it still cannot work. esp log: C)D5_ F3{I_D31LC}`3`ZAP esp_log.zip

when I ping 8.8.8.8, I can see this packet's log in wlan_ap_rx_callback(),it released by this judgment, }Q%$J KNU6ZX 9UQ5U7(YT1 esp log: image

So I wonder if the broadcast package is handled differently than the icmp package.

mantriyogesh commented 9 months ago

Hello @wky19971002 ,

Thanks for the raising this issue.

Can you please comment; https://github.com/espressif/esp-hosted/blob/fc02a0abee729dc374ed9e565eda56c884a1d52a/esp_hosted_fg/esp/esp_driver/network_adapter/main/app_main.c#L224-L229

and try again? We are going to remove this in master.

wky19971002 commented 9 months ago

Hello @wky19971002 ,

Thanks for the raising this issue.

Can you please comment;

https://github.com/espressif/esp-hosted/blob/fc02a0abee729dc374ed9e565eda56c884a1d52a/esp_hosted_fg/esp/esp_driver/network_adapter/main/app_main.c#L224-L229

and try again? We are going to remove this in master.

thanks,I'll try.

mantriyogesh commented 7 months ago

Any update @wky19971002 ?

mantriyogesh commented 6 months ago

Closing due to inactivity