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 trying to provision with SoftAP, letting this library establish the WiFi connection as well (using device.connectWiFiDevice(name, password). Most of the time I'm getting the above error. Rarely it succeeds, and device.scanNetworks(...) also works, but the provisioning always fails with this error.
The problem most probably is that it tries to reach the SoftAP endpoint from the external address as suggested by the error message.
Any ideas how to force it to connect from the WiFi interface?
The text was updated successfully, but these errors were encountered:
It seems like when I use the default method connectWiFiDevice() after manually connecting to the wifi network, it seems to work (for a minute or so).
However, if I use connectWiFiDevice(name, password), it fails with the above error all the time. It looks like if connectivityManager.bindProcessToNetwork(network); didn't do its job, and the library tries to connect to the device through the cellular interface. Any ideas why this would happen?
I'm in API level 28 (P), so no WifiNetworkSpecifier.
I'm trying to provision with SoftAP, letting this library establish the WiFi connection as well (using
device.connectWiFiDevice(name, password)
. Most of the time I'm getting the above error. Rarely it succeeds, anddevice.scanNetworks(...)
also works, but the provisioning always fails with this error.The problem most probably is that it tries to reach the SoftAP endpoint from the external address as suggested by the error message.
Any ideas how to force it to connect from the WiFi interface?
The text was updated successfully, but these errors were encountered: