WiFi set configuration ERROR. (property not defined)

Serg1987
Posts: 3
Joined: Fri Apr 03, 2020 3:33 am

WiFi set configuration ERROR. (property not defined)

Postby Serg1987 » Fri Apr 03, 2020 3:42 am

Hello. I use IDF v4.0
And I simple try to set configuration using wifi_init_config_t structure:

Code: Select all

wifi_init_config_t wifiInitializationConfig = WIFI_INIT_CONFIG_DEFAULT();
esp_wifi_init(&wifiInitializationConfig);
esp_wifi_set_mode(WIFI_MODE_APSTA);
But WIFI_INIT_CONFIG_DEFAULT() highlited with red
(CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM not defined
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM not defined
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE not defined)

I'm going to esp_wifi.h and actually I see, that this properties really not defined in file :?
I'm able to customize library, but it not true way.
How can I fix this?

Who is online

Users browsing this forum: No registered users and 47 guests