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'm struggling with sta+ap mode and SNTP. When I upload sketch with ap+sta mode I can't connect to remote NTP server. DNS of server gets resolved (LAN connectivity works fine), but after DNS resolving station calls udp_sendto with with result ERR_RTE (so no route to host). When I upload the same FW but with STATION mode I can connect to NTP server without any problem. Is it bug or feature? I mean, is just Internet connection from station forbidden when AP is working simultaneously?
The text was updated successfully, but these errors were encountered:
With lwip v2 #389 it is now possible to bind a pcb to an interface and doing so might be a solution, so adding the following to sntp_init gets this working in sta+ap mode: udp_bind_netif(sntp_pcb, sdk_system_get_netif(0));
I'm struggling with sta+ap mode and SNTP. When I upload sketch with ap+sta mode I can't connect to remote NTP server. DNS of server gets resolved (LAN connectivity works fine), but after DNS resolving station calls udp_sendto with with result ERR_RTE (so no route to host). When I upload the same FW but with STATION mode I can connect to NTP server without any problem. Is it bug or feature? I mean, is just Internet connection from station forbidden when AP is working simultaneously?
The text was updated successfully, but these errors were encountered: