Function esp_idf_sys::ble_gatts_peer_cl_sup_feat_get

source ยท
pub unsafe extern "C" fn ble_gatts_peer_cl_sup_feat_get(
    conn_handle: u16,
    out_supported_feat: *mut u8,
    len: u8,
) -> c_int
Expand description

Gets Client Supported Features for specified connection.

@param conn_handle Connection handle identifying connection for which Client Supported Features should be saved @param out_supported_feat Client supported features to be returned.

@return 0 on success; BLE_HS_ENOTCONN if no matching connection was found BLE_HS_EINVAL if supplied buffer is empty or if any Client Supported Feature was attempted to be disabled. A BLE host core return code on unexpected error.