Apologies in advance if this is covered somewhere – I couldn’t find it.
I have the AI Thinker CAM board (ESP32) and wanted to run the CameraWebServer_Access_point code for my book. I get a strange thing. When It boots (compiles and loads ok) I get
Camera ready! Use ‘http://0.0.0.0″ to connect – I was expecting a C class ! I tried adding a direct call to WiFi.softAPIP() to get the string (in case the localIP() call somehow was in error – same result .
I also added a WiFi.mode(WIFI_AP) call before the softAP() call (just in case) no change
What makes this address? (after all there’s no DNS) and what am I missing to get a valid SoftAP address?
thanks
Hi.
What is exactly the code you’e trying to run? Is it the one from the eBook?
Did you change anything?
Have you tried ignoring the 0.0.0.0 IP address and accessing the 192.168.4.1 IP nonetheless?
Regards,
Sara
Its the CameraWebServer_Acces_ Point.ino code – I did not modify it at first, but after seeing 0.0.0.0 (and testing it) I tried adding WiFi.mode(WIFI_AP) in front of the softAP call to see if that helped and 192.168.4.1 did not connect… it didn’t. Anyway I think it was an issue with RESET (the esp32CAM has a crude RC on the switch – so always hold it for a short while (not just pulse it)…and then it worked 192.168.4.1 worked.
Q. where is that default address from? – where is DNS started (I looked into the app_httpd.cpp code and didn’t see this) – thanks for our help
Phil
PS – the images come over but streaming rarely works and the stills come across 50% of the time – is that normal?