Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClientConnection.HalSubscribe Method

Subscribes for the characteristic changes notifications.

Syntax
Pascal
function HalSubscribe(const Characteristic: TwclGattCharacteristic; out Hdl: HANDLE): Integer; virtual; abstract;
Parameters 
Description 
const Characteristic: TwclGattCharacteristic 
A characteristic object in that changes an application is interested.  
out Hdl: HANDLE 
On output the subscription handle.  

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

A derived class muts override this method.

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