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
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Title says it all. The problem is the same as the ESP8266NetBIOS library (esp8266/Arduino#8139).
If you look at the code, file NetBIOS.cpp, line 95, in the netbios answer, you can see:
nbnsa.addr = WiFi.localIP();
Which works only if WiFi is in STA mode, but not AP mode.
The fix would be something like this:
if (WiFi.getMode()==WIFI_STA)
nbnsa.addr = WiFi.localIP();
else
nbnsa.addr = WiFi.softAPIP();
The text was updated successfully, but these errors were encountered: