Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClientConnection.HalReadServices Method

Implements a hardware depended code for reading available services from a remote Bluetooth LE device.

Syntax
Pascal
function HalReadServices(const Flag: TwclGattOperationFlag; out Services: TwclGattServices): Integer; virtual; abstract;
Parameters 
Description 
const Flag: TwclGattOperationFlag 
Operation behaviour flag.  
out Services: TwclGattServices 
On output a list of available GATT services. An application is responsible to clean up a memory allocated for the dynamic array.  

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.