Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClientConnection.ReadCharacteristics Method

The method reads all the characteristics available for the specified service.

Syntax
Pascal
function ReadCharacteristics(const Service: TwclGattService; const Flag: TwclGattOperationFlag; out Characteristics: TwclGattCharacteristics): Integer;
Parameters 
Description 
const Service: TwclGattService 
Parent service returned by the call to the ReadServices method.  
const Flag: TwclGattOperationFlag 
Operation behaviour flag.  
out Characteristics: TwclGattCharacteristics 
On output a list of the service's characteristics. 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.

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