Function esp_idf_svc::sys::esp_ble_gatts_open
source ยท pub unsafe extern "C" fn esp_ble_gatts_open(
gatts_if: u8,
remote_bda: *mut u8,
is_direct: bool,
) -> i32
Expand description
@brief Open a direct open connection or add a background auto connection
@param[in] gatts_if: GATT server access interface @param[in] remote_bda: remote device bluetooth device address. @param[in] is_direct: direct connection or background auto connection
@return - ESP_OK : success - other : failed