Class Device
Represents an observable source of messages from the Harp device connected at the specified serial port.
public class Device : Source<HarpMessage>, INamedElement
- Inheritance
-
Device
- Implements
- Derived
- Inherited Members
Constructors
- Device(int)
Initializes a new instance of the Device class accepting connections only from Harp devices with the specified identifier.
- Device(int, FirmwareMetadata)
Initializes a new instance of the Device class accepting connections only from Harp devices with the specified identifier and firmware version.
Properties
- DumpRegisters
Gets or sets a value indicating whether the device should send the content of all registers during initialization.
- Heartbeat
Gets or sets a value indicating whether the Device sends the Timestamp event each second.
- IgnoreErrors
Gets or sets a value indicating whether error messages parsed during acquisition should be ignored or raise an exception.
- OperationLed
Gets or sets a value specifying the state of the LED reporting device operation.
- OperationMode
Gets or sets a value specifying the operation mode of the device at initialization.
- PortName
Gets or sets the name of the serial port used to communicate with the Harp device.
- RegisterMap
Gets a read-only mapping from address to register type.
- VisualIndicators
Gets or sets a value specifying the state of all the visual indicators in the device.
Methods
- Generate()
Connects to the specified serial port and returns an observable sequence of Harp messages coming from the device.
- Generate(IObservable<HarpMessage>)
Connects to the specified serial port and sends the observable sequence of Harp messages. The return value is an observable sequence of Harp messages coming from the device.