pub unsafe extern "C" fn bt_addr_from_str(
str_: *const u8,
addr: *mut bt_addr_t,
) -> i32
Expand description
@brief Convert Bluetooth address from string to binary.
@param[in] str The string representation of a Bluetooth address. @param[out] addr Address of buffer to store the Bluetooth address
@retval 0 Success. The parsed address is stored in @p addr. @return -EINVAL Invalid address string. @p str is not a well-formed Bluetooth address.