Function esp_idf_svc::hal::sys::esp_wifi_get_event_mask

source ยท
pub unsafe extern "C" fn esp_wifi_get_event_mask(
    mask: *mut u32,
) -> i32
Expand description

@brief Get mask of WiFi events

@param mask WiFi event mask.

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_INVALID_ARG: invalid argument