Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::ReadCharacteristics Method

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

Syntax
C++
int ReadCharacteristics(wclGattService Service, wclGattOperationFlag Flag, wclGattCharacteristics& Characteristics);
Parameters 
Description 
wclGattService Service 
Parent service returned by the call to the ReadServices method.  
wclGattOperationFlag Flag 
Operation behaviour flag.  
wclGattCharacteristics& Characteristics 
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.