Click or drag to resize

wclGattServerClientSetConnectionParams(wclBluetoothLeConnectionParametersValue) Method

Request the connection parameters change to the specified preferred connection parameters.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int SetConnectionParams(
	wclBluetoothLeConnectionParametersValue Params
)

Parameters

Params  wclBluetoothLeConnectionParametersValue
The preferred Bluetooth LE connection parameters value.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks

If the connection parameters were changed successfully the OnConnectionParamsChanged even fires.

This feature is supported with Microsoft Bluetooth drivers on Windows 11 and above.

See Also