pub unsafe extern "C" fn esp_wifi_get_protocol(
    ifx: u32,
    protocol_bitmap: *mut u8,
) -> i32Expand description
@brief Get the current protocol bitmap of the specified interface
@param ifx interface @param[out] protocol_bitmap store current WiFi protocol bitmap of interface ifx
@return
- ESP_OK: succeed
 - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
 - ESP_ERR_WIFI_IF: invalid interface
 - ESP_ERR_INVALID_ARG: invalid argument
 - others: refer to error codes in esp_err.h