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


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
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)


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.


ProtocolError ProtocolError ProtocolError

Gets the protocol error.

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

The protocol error.

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
GattCommunicationStatus GattCommunicationStatus GattCommunicationStatus

The status of the asynchronous operation.


Value Value Value

Gets the value read from the device.

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

The value read from the device.


See Also