I am now experiencing what seems to be a bug (though I'm guessing is just a misunderstanding or change in the API): I set an SSID for the ESP in AP mode like so:
#define ACCESS_POINT_NAME "Mitchine Houghton"
#define ACCESS_POINT_PASSWORD "mitchinesecret"
then below I start the wifi AP as follows:
if (AdminEnabled)
{
WiFi.mode(WIFI_AP_STA);
WiFi.softAP( ACCESS_POINT_NAME , ACCESS_POINT_PASSWORD);
}
Which, previously resulted in an AP with the appropriate name/SSID being created. However, with the updated library, it seems to disregard this name and instead just use the generic "ESP_XXXXXXX" type name, unprotected. Is there an updated call for setting the network name/ssid/password/key?
I'm going to step through the code a bit tonight. An initial readthrough shows me that the code I'm using should still work, and I don't see that this feature/method/function is depreciated anywhere:
/* Set up a WPA2-secured access point
*
* param ssid: Pointer to the SSID string.
* param passphrase: Pointer to passphrase, 8 characters min.
* param channel: WiFi channel number, 1 - 13.
* param ssid_hidden: Network cloaking? 0 = broadcast SSID, 1 = hide SSID
*/
void softAP(const char* ssid, const char* passphrase, int channel = 1, int ssid_hidden = 0);