Bluetooth Framework C++ Edition

◆ SetConnectionParams() [2/2]

int SetConnectionParams ( const wclBluetoothLeConnectionParametersValue Params)

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

Parameters
ParamsThe preferred Bluetooth LE connection parameters value.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

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

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

See also
wclBluetoothLeConnectionParametersValue