Function esp_idf_svc::sys::esp_wifi_get_max_tx_power
source ยท pub unsafe extern "C" fn esp_wifi_get_max_tx_power(
power: *mut i8,
) -> i32
Expand description
@brief Get maximum transmiting power after WiFi start
@param power Maximum WiFi transmitting power, unit is 0.25dBm.
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
- ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
- ESP_ERR_INVALID_ARG: invalid argument