TwclGattServer.Uninitialize Method

Unintializes the Bluetooth LE GATT Server.

Namespace: wclBluetooth
public
 function Uninitialize: Integer;

Return Value

Type: Integer

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

An application must call this method after stopping the server to release all allocated resources.

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