Function esp_idf_svc::sys::esp_ble_gattc_open
source ยท pub unsafe extern "C" fn esp_ble_gattc_open(
gattc_if: u8,
remote_bda: *mut u8,
remote_addr_type: u32,
is_direct: bool,
) -> i32
Expand description
@brief Open a direct connection or add a background auto connection
@param[in] gattc_if: Gatt client access interface. @param[in] remote_bda: remote device bluetooth device address. @param[in] remote_addr_type: remote device bluetooth device the address type. @param[in] is_direct: direct connection or background auto connection(by now, background auto connection is not supported).
@return - ESP_OK: success - other: failed