Problem with esp_wifi.h
Posted: Sun Oct 28, 2018 11:23 am
Hello,
I'm working on an Arduino sketch that's using the esp_wifi.h and I have all the dependencies included. However, I get the below errors when compiling. I also get *config Any help with this would be appreciated.
esp_wifi.h:1042: error: 'wifi_csi_config_t' does not name a type
esp_err_t esp_wifi_set_csi_config(const wifi_csi_config_t *config);
^
esp_wifi.h:1067: error: 'wifi_ant_gpio_config_t' does not name a type
esp_err_t esp_wifi_set_ant_gpio(const wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1079: error: 'wifi_ant_gpio_config_t' was not declared in this scope
esp_err_t esp_wifi_get_ant_gpio(wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1079: error: 'config' was not declared in this scope
esp_err_t esp_wifi_get_ant_gpio(wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1092: error: 'wifi_ant_config_t' does not name a type
esp_err_t esp_wifi_set_ant(const wifi_ant_config_t *config);
^
esp_wifi.h:1104: error: 'wifi_ant_config_t' was not declared in this scope
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
^
esp_wifi.h:1104: error: 'config' was not declared in this scope
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
^
Thanks,
Antonio
I'm working on an Arduino sketch that's using the esp_wifi.h and I have all the dependencies included. However, I get the below errors when compiling. I also get *config Any help with this would be appreciated.
esp_wifi.h:1042: error: 'wifi_csi_config_t' does not name a type
esp_err_t esp_wifi_set_csi_config(const wifi_csi_config_t *config);
^
esp_wifi.h:1067: error: 'wifi_ant_gpio_config_t' does not name a type
esp_err_t esp_wifi_set_ant_gpio(const wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1079: error: 'wifi_ant_gpio_config_t' was not declared in this scope
esp_err_t esp_wifi_get_ant_gpio(wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1079: error: 'config' was not declared in this scope
esp_err_t esp_wifi_get_ant_gpio(wifi_ant_gpio_config_t *config);
^
esp_wifi.h:1092: error: 'wifi_ant_config_t' does not name a type
esp_err_t esp_wifi_set_ant(const wifi_ant_config_t *config);
^
esp_wifi.h:1104: error: 'wifi_ant_config_t' was not declared in this scope
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
^
esp_wifi.h:1104: error: 'config' was not declared in this scope
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
^
Thanks,
Antonio