Function esp_idf_sys::esp_ble_gatts_open

source ยท
pub unsafe extern "C" fn esp_ble_gatts_open(
    gatts_if: esp_gatt_if_t,
    remote_bda: *mut u8,
    is_direct: bool,
) -> esp_err_t
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