Click or drag to resize
Solid Soils Solutions

EnhancedSerialConnection Class

[This is preliminary documentation and is subject to change.]

Represents a serial port connection, supporting Mono.
Inheritance Hierarchy

Namespace:  Solid.Arduino
Assembly:  Solid.Arduino (in Solid.Arduino.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class EnhancedSerialConnection : EnhancedSerialPort, 
	ISerialConnection, IDisposable

The EnhancedSerialConnection type exposes the following members.

Constructors
  NameDescription
Public methodEnhancedSerialConnection
Initializes a new instance of EnhancedSerialConnection class using the highest serial port available at 115,200 bits per second.
Public methodEnhancedSerialConnection(String, SerialBaudRate)
Initializes a new instance of EnhancedSerialConnection class on the given serial port and at the given baud rate.
Top
Methods
  NameDescription
Public methodClose
Public methodStatic memberFindSerialConnection
Finds a serial connection to a device supporting the Firmata protocol.
Public methodStatic memberCode exampleFindSerialConnection(String, String)
Finds a serial connection to a device supporting plain serial communications.
Public methodOpen (Inherited from EnhancedSerialPort.)
Top
Explicit Interface Implementations
Remarks
This class is a workaround for Mono's SerialPort implementation of event OnDataReceived(SerialDataReceivedEventArgs).

Copyright 2013 Antanas Veiverys

See Also