Function esp_idf_hal::sys::esp_supplicant_str_to_mac
source ยท pub unsafe extern "C" fn esp_supplicant_str_to_mac(
str_: *const i8,
dest: *mut u8,
) -> i32
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