Skip to content

Creating a unique AP SSID #1869

Description

@Assamita81

Hi everyone. I'm starting to work on these boards, as I have an IoT project in mind. I want the ESP32 to be connected in dual mode, to be connected to the internet and retreive basically the time from it, and also keep an AP network constantly open to access to it's features (for the purpose of the explanation, imagine I have an oled display with the time and date, and also I want to access it to push a button and turn on and off an led).

Since I want it to be permanently enabled as AP, if I have two devices with the same SSID, that would be a problem, so I want to do a concatenation of the SSID + the chip ID. In the basic example, I've used this code:

res = wm.autoConnect("AutoConnectAP_" + String(WIFI_getChipId(),HEX)); // anonymous ap

But doesn't seem to be working. How would I do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions