zephyr::raw

Function bt_addr_le_to_str

source
pub unsafe extern "C" fn bt_addr_le_to_str(
    addr: *const bt_addr_le_t,
    str_: *mut i8,
    len: usize,
) -> i32
Expand description

@brief Converts binary LE Bluetooth address to string.

@param addr Address of buffer containing binary LE Bluetooth address. @param str Address of user buffer with enough room to store formatted string containing binary LE address. @param len Length of data to be copied to user string buffer. Refer to BT_ADDR_LE_STR_LEN about recommended value.

@return Number of successfully formatted bytes from binary address.