Merge branch 'fixi-first-wifi' of https://github.com/jpirnay/crosspoint-reader into mybuild
This commit is contained in:
@@ -219,7 +219,7 @@ void WifiSelectionActivity::attemptConnection() {
|
|||||||
|
|
||||||
WiFi.persistent(false); // Credentials are managed by WifiCredentialStore; suppress SDK NVS auto-connect
|
WiFi.persistent(false); // Credentials are managed by WifiCredentialStore; suppress SDK NVS auto-connect
|
||||||
WiFi.mode(WIFI_STA);
|
WiFi.mode(WIFI_STA);
|
||||||
WiFi.disconnect(true); // Abort any in-progress SDK auto-connect and clear NVS-saved SSID
|
WiFi.disconnect(true, true); // Abort any in-progress SDK auto-connect and clear NVS-saved SSID
|
||||||
delay(100);
|
delay(100);
|
||||||
|
|
||||||
// Set hostname so routers show "CrossPoint-Reader-AABBCCDDEEFF" instead of "esp32-XXXXXXXXXXXX"
|
// Set hostname so routers show "CrossPoint-Reader-AABBCCDDEEFF" instead of "esp32-XXXXXXXXXXXX"
|
||||||
|
|||||||
Reference in New Issue
Block a user