Skip to main content

Class Descriptor

Represents a Bluetooth descriptor.

Assembly: Meadow.dll
View Source
Declaration
public class Descriptor : IDescriptor, IJsonSerializable

Implements:
Meadow.Gateways.Bluetooth.IDescriptor

Properties

Handle

Gets or sets the handle for the descriptor.

View Source
Declaration
public ushort Handle { get; set; }

Uuid

Gets the 128-bit unique ID for the descriptor

View Source
Declaration
public string Uuid { get; }

Methods

ToJson()

Converts the descriptor to a JSON string.

View Source
Declaration
public string ToJson()
Returns

System.String: A JSON representation of the descriptor.

Implements