zephyr::raw

Function bt_addr_le_from_str

source
pub unsafe extern "C" fn bt_addr_le_from_str(
    str_: *const i8,
    type_: *const i8,
    addr: *mut bt_addr_le_t,
) -> i32
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.