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
Hi. I have encountered an issue when working with AP mode. We call WiFi.startProvision() to put the device into provision mode and we pass a custom SSID to this function. WiFi.status() is checked in a loop and if it becomes WL_DISCONNECTED(probably wrong credentials are submitted), we put the device into AP mode again by calling WiFi.startProvision(). The issue is the custom SSID isn't respected when re-entering AP mode. It became the default wifi101-xxxx.
Am I doing anything wrong? Any help will be appreciated. Thanks.
do {
WiFi.startProvision(customSsid, customUrl, 1);
while (WiFi.status() == WL_PROVISIONING)
{
delay(10);
}
// out of provisioning mode
} while (WiFi.status() != WL_CONNECTED); // if not connected, put it back to provisioning mode
The text was updated successfully, but these errors were encountered:
Hi. I have encountered an issue when working with AP mode. We call WiFi.startProvision() to put the device into provision mode and we pass a custom SSID to this function. WiFi.status() is checked in a loop and if it becomes WL_DISCONNECTED(probably wrong credentials are submitted), we put the device into AP mode again by calling WiFi.startProvision(). The issue is the custom SSID isn't respected when re-entering AP mode. It became the default wifi101-xxxx.
Am I doing anything wrong? Any help will be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: