[][src]Function esp_idf_bindgen::esp_wifi_get_channel

pub unsafe extern "C" fn esp_wifi_get_channel(
    primary: *mut u8,
    second: *mut wifi_second_chan_t
) -> esp_err_t

@brief Get the primary/secondary channel of ESP32

@attention 1. API return false if try to get a interface that is not enable

@param primary store current primary channel @param[out] second store current second channel

@return