wclGattClientConnectionSetConnectionParams(wclBluetoothLeConnectionParametersValue) Method |
Request the connection parameters change to the specified
preferred connection parameters.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int SetConnectionParams(
wclBluetoothLeConnectionParametersValue Params
)
Public Function SetConnectionParams (
Params As wclBluetoothLeConnectionParametersValue
) As Integer
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 BLED112 dongle and with
Microsoft Bluetooth drivers on Windows 11 and
above.
See Also