wclGattServerInitialize Method |
Initializes Bluetooth LE GATT Server.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int Initialize(
wclBluetoothRadio Radio
)
Public Function Initialize (
Radio As wclBluetoothRadio
) As Integer
public:
int Initialize(
wclBluetoothRadio^ Radio
)
Parameters
- Radio wclBluetoothRadio
- The wclBluetoothRadio object used
to communicate with a remote Bluetooth device.
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 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.
See Also