Function bt_addr_le_from_str

Source
pub unsafe extern "C" fn bt_addr_le_from_str(
    str_: *const c_char,
    type_: *const c_char,
    addr: *mut bt_addr_le_t,
) -> c_int
Expand description

@brief Convert LE Bluetooth address from string to binary.

@param[in] str The string representation of an LE Bluetooth address. @param[in] type The string representation of the LE Bluetooth address type. @param[out] addr Address of buffer to store the LE Bluetooth address

@return Zero on success or (negative) error code otherwise.