Skip to main content

Class Definition

Represents the definition of a Bluetooth device.

Assembly: Meadow.dll
View Source
public class Definition : IDefinition

Implements:
Meadow.Gateways.Bluetooth.IDefinition

Properties

DeviceName

Gets the device name.

View Source
public string DeviceName { get; }

Services

Gets the collection of services associated with this device definition.

View Source
public ServiceCollection Services { get; }

Methods

ToJson()

Converts the device definition to a JSON string.

View Source
public string ToJson()
Returns

System.String: A JSON representation of the device definition.

Implements