wclGattClientConnectionReadCharacteristics Method |
The method reads all the characteristics available for the
specified service.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int ReadCharacteristics(
wclGattService Service,
wclGattOperationFlag Flag,
out wclGattCharacteristic[] Characteristics
)
Public Function ReadCharacteristics (
Service As wclGattService,
Flag As wclGattOperationFlag,
<OutAttribute> ByRef Characteristics As wclGattCharacteristic()
) As Integer
public:
int ReadCharacteristics(
wclGattService Service,
wclGattOperationFlag Flag,
[OutAttribute] array<wclGattCharacteristic>^% Characteristics
)
Parameters
- Service wclGattService
- Parent service returned by the call to
the ReadServices method.
- Flag wclGattOperationFlag
- Operation behavior flag.
- Characteristics wclGattCharacteristic
- On output a list of the service's
characteristics. 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