Click or drag to resize

wclGattClientReadServices Method

Reads available services from a remote Bluetooth LE device.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int ReadServices(
	wclGattOperationFlag Flag,
	out wclGattService[] Services
)

Parameters

Flag  wclGattOperationFlag
Operation behavior flag.
Services  wclGattService
On output a list of available GATT services. An application is responsible to clean up a memory allocated for the dynamic array.

Return Value

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