wclGattClientConnectionReadServices Method |
Reads available services from a remote Bluetooth LE
device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int ReadServices(
wclGattOperationFlag Flag,
out wclGattService[] Services
)
Public Function ReadServices (
Flag As wclGattOperationFlag,
<OutAttribute> ByRef Services As wclGattService()
) As Integer
public:
int ReadServices(
wclGattOperationFlag Flag,
[OutAttribute] array<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