Bluetooth Framework C++ Edition

◆ Connect()

int Connect ( const __int64 Address,
const unsigned long Timeout )

Connects to a remote device.

Parameters
AddressThe remote Bluetooth device address.
TimeoutThe connect timeout in milliseconds.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The method starts a connection operation to a remote device. If the method success that does not mean that the connection was established. That just means that the connection operation was started. The real connection result will be passed to the OnConnect event handler.

NOTE: BlueSoleil does not support Authentication and Encryption parameters per connection.