dc_bluetooth_open

Function dc_bluetooth_open 

Source
pub unsafe extern "C" fn dc_bluetooth_open(
    iostream: *mut *mut dc_iostream_t,
    context: *mut dc_context_t,
    address: dc_bluetooth_address_t,
    port: c_uint,
) -> dc_status_t
Expand description

Open an bluetooth connection.

@param[out] iostream A location to store the bluetooth connection. @param[in] context A valid context object. @param[in] address The bluetooth device address. @param[in] port The bluetooth port number. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.