pub unsafe extern "C" fn dc_bluetooth_addr2str(
address: dc_bluetooth_address_t,
str_: *mut c_char,
size: usize,
) -> *mut c_char
Expand description
Convert a bluetooth address to a string.
The bluetooth address is formatted as XX:XX:XX:XX:XX:XX, where each XX is a hexadecimal number specifying an octet of the 48-bit address. The minimum size for the buffer is #DC_BLUETOOTH_SIZE bytes.
@param[in] address A bluetooth address. @param[in] str The memory buffer to store the result. @param[in] size The size of the memory buffer. @returns The null-terminated string on success, or NULL on failure.