Class GattReadRequest
- 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
Methods
RespondWithProtocolError(byte)
Responds to the read request with a protocol error.
public void RespondWithProtocolError(byte protocolError)
Parameters
protocolError
byteThe 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
BufferThe value to respond with.