esp_wifi_get_ant() function
Get current antenna configuration
Arguments
config
Antenna configuration.
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument, e.g. parameter is NULL