Function esp_idf_hal::sys::esp_wifi_set_ant_gpio
source ยท pub unsafe extern "C" fn esp_wifi_set_ant_gpio(
config: *const wifi_ant_gpio_config_t,
) -> i32
Expand description
@brief Set antenna GPIO configuration
@param config Antenna GPIO 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, invalid GPIO number etc