Max of 5.
wifi_station_ap_number_set
Function:
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
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_setCode: 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?
those according to some schema. Scan for available APs, lookup data and configure it.
Cal