Function esp_idf_sys::esp_supplicant_str_to_mac

source ยท
pub unsafe extern "C" fn esp_supplicant_str_to_mac(
    str_: *const c_char,
    dest: *mut u8,
) -> esp_err_t
Expand description

@brief Convert user input colon separated MAC Address into 6 byte MAC Address

@param[in] str User input colon separated MAC Address. @param[out] dest Output 6 byte MAC Address.

@return

  • ESP_OK: Succeed
  • ESP_FAIL: Invalid input format