pub unsafe extern "C" fn esp_wifi_internal_get_negotiated_channel(
ifx: wifi_interface_t,
aid: u8,
primary: *mut u8,
second: *mut u8,
) -> esp_err_t
Expand description
@brief Get the negotiated channel info after WiFi connection established
@param ifx : WiFi interface @param aid : the connection number when a STA connects to the softAP @param primary : store the negotiated primary channel @param second : store the negotiated second channel @attention the aid param is only works when the device in softAP/softAP+STA mode
@return
- ESP_OK: succeed