s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
931 stars 214 forks source link

Spaces in SSID are being dropped #285

Closed dsldsl1980 closed 1 year ago

dsldsl1980 commented 1 year ago

After the first reboot, I was able to log into the device from my laptop and set my wifi information.

SSID: "The Comp-IOT"

After the reboot, I received an error on the serial monitor that said it couldn't connect

..[21:49:23.509 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_E44F4F1B5AE0 [21:49:23.513 WARN startWifi] SSID TheComp-IOT unable to connect [21:49:23.514 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_E44F4F1B5AE0 started, use 'http://192.168.4.1' to connect

After trying to reset the SSID a number of times I stood up a new network with the SSID it was looking for in the log "TheComp-IOT" and everything worked fine.

Something is dropping spaces from the SSID that it tries to connect to

s60sc commented 1 year ago

In appGlobals.h change ALLOW_SPACES to true