Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClient::ReadServices Method

Reads available services from a remote Bluetooth LE device.

Syntax
C++
int ReadServices(wclGattOperationFlag Flag, wclGattServices& Services);
Parameters 
Description 
wclGattOperationFlag Flag 
Operation behaviour flag.  
wclGattServices& Services 
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.

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