Gatt​Read​Result Gatt​Read​Result Gatt​Read​Result Class

Definition

Represents the result of an asynchronous read operation of a GATT Characteristic or Descriptor value.

public : sealed class GattReadResult : IGattReadResult, IGattReadResult2public sealed class GattReadResult : IGattReadResult, IGattReadResult2Public NotInheritable Class GattReadResult Implements IGattReadResult, IGattReadResult2
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

One of the ReadValueAsync methods is used to retrieve a GattReadResult object.

The Status property on the GattReadResult returned indicates if the result of the operation was successful.

Properties

ProtocolError ProtocolError ProtocolError

Gets the protocol error.

public : IReference<byte> ProtocolError { get; }public Nullable<byte> ProtocolError { get; }Public ReadOnly Property ProtocolError As Nullable<byte>
Value
IReference<byte> Nullable<byte> Nullable<byte>

The protocol error.

Attributes
Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Status Status Status

Gets the status of an asynchronous operation.

public : GattCommunicationStatus Status { get; }public GattCommunicationStatus Status { get; }Public ReadOnly Property Status As GattCommunicationStatus
Value
GattCommunicationStatus GattCommunicationStatus GattCommunicationStatus

The status of the asynchronous operation.

Attributes

Value Value Value

Gets the value read from the device.

public : IBuffer Value { get; }public IBuffer Value { get; }Public ReadOnly Property Value As IBuffer
Value
IBuffer IBuffer IBuffer

The value read from the device.

Attributes

See Also