mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
WIFI API: esp_err_t esp_wifi_set_storage(wifi_storage_t storage);
1. Add the parameter type of api esp_wifi_set_storage. 2. WIFI_STORAGE_RAM means storing profiles in ram. WIFI_STORAGE_FLASH means storing profiles in flash.
This commit is contained in:
parent
b56ca86571
commit
869fe1647d
@ -234,7 +234,12 @@ esp_err_t esp_wifi_get_station_list(struct station_info **station);
|
|||||||
|
|
||||||
esp_err_t esp_wifi_free_station_list(void);
|
esp_err_t esp_wifi_free_station_list(void);
|
||||||
|
|
||||||
esp_err_t esp_wifi_set_storage(uint8_t storage);
|
typedef enum {
|
||||||
|
WIFI_STORAGE_RAM,
|
||||||
|
WIFI_STORAGE_FLASH,
|
||||||
|
} wifi_storage_t;
|
||||||
|
|
||||||
|
esp_err_t esp_wifi_set_storage(wifi_storage_t storage);
|
||||||
|
|
||||||
typedef esp_err_t (*wifi_rxcb_t)(void *buffer, uint16_t len, void* eb);
|
typedef esp_err_t (*wifi_rxcb_t)(void *buffer, uint16_t len, void* eb);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user