Function esp_idf_sys::esp_ble_gattc_open
source ยท pub unsafe extern "C" fn esp_ble_gattc_open(
gattc_if: esp_gatt_if_t,
remote_bda: *mut u8,
remote_addr_type: esp_ble_addr_type_t,
is_direct: bool,
) -> esp_err_t
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