Bluetooth Framework C++ Edition

◆ SetEncryption()

void SetEncryption ( const bool  Value)

Sets the Encryption property for the connection.

Parameters
ValueTrue if Encryption is enabled for the connection.

If an application changes the property when connection is active the wclEBluetoothClient exception raises.

The Encryption can be turned on (True) only if the Authentication property is also set to True.

Exceptions
wclEBluetoothClient
wclEInvalidArgument