Table of Contents

Class GattReadRequest

Namespace
nanoFramework.Device.Bluetooth.GenericAttributeProfile
Assembly
nanoFramework.Device.Bluetooth.dll

This class represents a Bluetooth GATT read request.

public class GattReadRequest
Inheritance
GattReadRequest
Inherited Members
Extension Methods

Properties

Length

Gets the buffer length of the read request.

public uint Length { get; }

Property Value

uint

Methods

RespondWithProtocolError(byte)

Responds to the read request with a protocol error.

public void RespondWithProtocolError(byte protocolError)

Parameters

protocolError byte

The protocol error to send. A list of errors with the byte values can be found in GattProtocolError.

RespondWithValue(Buffer)

Responds to a read request with a value.

public void RespondWithValue(Buffer value)

Parameters

value Buffer

The value to respond with.