Chat freely about anything...

User avatar
By helpme
#17917 I would like the ESP8266 module to connect up to multiple Access Points but don't want to send the SSID/password every time. I hope ESP8266 can remember as many SSID/password as possible. May I know how many SSID/passwords can ESP8266 store?
User avatar
By metalphreak
#18050 It is all in the SDK Programming Guide PDF starting on page 34 (SDK v1.0.1).

Max of 5.

wifi_station_ap_number_set
Code: Select allFunction: 

Sets the number of APs that will be cached for ESP8266 station mode. Whenever ESP8266 station connects to an AP, it keeps caches a record of this AP's SSID and password. The cached ID index starts from 0.
   This configuration will be saved in flash system parameter area if changed.
Prototype: 

bool wifi_station_ap_number_set (uint8 ap_number)

Parameters: 

uint8 ap_number: the number of APs can be recorded (MAX: 5)
Return:

true: succeed
 false: fail


wifi_station_get_ap_info

wifi_station_ap_change

wifi_station_get_current_ap_id
User avatar
By helpme
#20137
metalphreak wrote:It is all in the SDK Programming Guide PDF starting on page 34 (SDK v1.0.1).

Max of 5.

wifi_station_ap_number_set
Code: Select allFunction: 

Sets the number of APs that will be cached for ESP8266 station mode. Whenever ESP8266 station connects to an AP, it keeps caches a record of this AP's SSID and password. The cached ID index starts from 0.
   This configuration will be saved in flash system parameter area if changed.
Prototype: 

bool wifi_station_ap_number_set (uint8 ap_number)

Parameters: 

uint8 ap_number: the number of APs can be recorded (MAX: 5)
Return:

true: succeed
 false: fail


wifi_station_get_ap_info

wifi_station_ap_change

wifi_station_get_current_ap_id


Thanks. Can the maximum number of APs that can be cached be increased further? Can the code for the SDK be modified to raise the maximum?