Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattServer::Initialize Method

Initializes Bluetooth LE GATT Server.

Syntax
C++
int Initialize(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.

Before adding services and characteristics an application must initialize the server by calling this method.  

This feature is supported on Windows 10 with the Microsoft Bluetooth drivers or on any other Windows platform with BlueSoleil Bluetooth drivers.  

 

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