ESP32 (cam) in access point mode

Hi all,

Today I got an ESP32 Cam board (AI Thinker), yay :slight_smile:
But I cannot get it to act like an access point :frowning:

I set it up and put the example "CameraWebServer" on it. It connects to my wifi, I can access it and see the image stream. So far so good, everything works nicely.

Now I would like this to be an access point and that's where I'm stuck.

I brought the code down to the absolute minimum, I think:

# include "WiFi.h"

void setup()
{
  Serial.begin(115200);
  WiFi.softAP("ESP32", "pass");

  Serial.print("ESP32 online at: ");
  Serial.print(WiFi.softAPIP());
}

void loop(){}
  • The serial monitor prints it is online at 192.168.4.1
  • A wifi network does show up on my phone
  • SSID is ESP_76BBE1, this seems like a hex mac address but it's not "ESP32" as defined in the code
  • It is not password protected as defined in the code

What am I missing ?

Thanks in advance !

Ok... just found out what the problem was. SoftAP can only be set up if the password is at least 8 chars:
It's working now :slight_smile:

https://forum.arduino.cc/index.php?topic=627602.0

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.