wclGattClientReadDescriptorValue Method |
The method reads the value of the specified
descriptor.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int ReadDescriptorValue(
wclGattDescriptor Descriptor,
wclGattOperationFlag Flag,
out wclGattDescriptorValue Value,
wclGattProtectionLevel Protection = wclGattProtectionLevel.plNone
)
Public Function ReadDescriptorValue (
Descriptor As wclGattDescriptor,
Flag As wclGattOperationFlag,
<OutAttribute> ByRef Value As wclGattDescriptorValue,
Optional Protection As wclGattProtectionLevel = wclGattProtectionLevel.plNone
) As Integer
public:
int ReadDescriptorValue(
wclGattDescriptor Descriptor,
wclGattOperationFlag Flag,
[OutAttribute] wclGattDescriptorValue% Value,
wclGattProtectionLevel Protection = wclGattProtectionLevel::plNone
)
Parameters
- Descriptor wclGattDescriptor
- A wclGattDescriptor obtained
by previous call to the ReadDescriptors method.
- Flag wclGattOperationFlag
- Operation behavior flag.
- Value wclGattDescriptorValue
- A descriptor's value.
- Protection wclGattProtectionLevel (Optional)
- Describes the required protection
level.
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