Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClient::Connect Method

Connects to a remote Bluetooth LE device.

Syntax
C++
int Connect(CwclBluetoothRadio* Radio);
Parameters 
Description 
CwclBluetoothRadio* Radio 
The CwclBluetoothRadio object used to communicate with a remote Bluetooth device.  

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

The method starts connection to a remote Bluetooth LE device. When connection operation completed the OnConnected event will fire. The operation result will be passed into the OnConnected event.

Copyright (c) 2006-2019. All rights reserved.