martinayotte wrote:In the case of the WiFiManager, it is leveraging this task to the native Espressif SDK itself, so you can get it back using wifi_station_get_config() from sdk/include/user_interface.h
What should the parameter be for the wifi_station_get_config() function?
struct station_config {
uint8 ssid[32];
uint8 password[64];
uint8 bssid_set; // Note: If bssid_set is 1, station will just connect to the router
// with both ssid[] and bssid[] matched. Please check about this.
uint8 bssid[6];
};
bool wifi_station_get_config(struct station_config *config);