Function esp_idf_svc::sys::esp_wifi_get_ant
source ยท pub unsafe extern "C" fn esp_wifi_get_ant(
config: *mut wifi_ant_config_t,
) -> i32
Expand description
@brief Get current antenna configuration
@param config Antenna configuration.
@return
- 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