CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
Fas Manager for serial port data. More...
Public Member Functions | |
SerialTransport () | |
Default constructor. | |
void | Initialize () |
Initializes this object. | |
bool | StartListening () |
Connects to a serial port defined through the current settings. | |
bool | Open () |
Opens the serial port. | |
bool | IsConnected () |
bool | PortExists () |
Queries if a given port exists. | |
bool | Close () |
Closes the serial port. | |
bool | IsOpen () |
Query ifthe serial port is open. | |
bool | StopListening () |
Stops listening to the serial port. | |
void | Write (byte[] buffer) |
Writes a parameter to the serial port. | |
bool | UpdateBaudRateCollection () |
Retrieves the possible baud rates for the currently selected serial port. | |
byte[] | Read () |
Reads the serial buffer into the string buffer. | |
int | BytesInBuffer () |
Gets the bytes in buffer. | |
void | Kill () |
Kills this object. | |
bool | Join (int millisecondsTimeout) |
Joins the thread. | |
Protected Member Functions | |
void | ProcessQueue () |
override void | Dispose (bool disposing) |
Remove all references and remove children. | |
Properties | |
ThreadRunStates | ThreadRunState [get, set] |
Gets or sets the run state of the thread . | |
SerialSettings | CurrentSerialSettings [get, set] |
Gets or sets the current serial port settings. | |
SerialPort | SerialPort [get] |
Gets the serial port. | |
Events | |
EventHandler | NewDataReceived |
Fas Manager for serial port data.
Default constructor.
Gets the bytes in buffer.
Implements CommandMessenger.TransportLayer.ITransport.
Closes the serial port.
override void CommandMessenger.TransportLayer.SerialTransport.Dispose | ( | bool | disposing | ) | [protected, virtual] |
Remove all references and remove children.
disposing | If true, cleanup |
Reimplemented from CommandMessenger.DisposableObject.
Initializes this object.
Query ifthe serial port is open.
bool CommandMessenger.TransportLayer.SerialTransport.Join | ( | int | millisecondsTimeout | ) |
Joins the thread.
millisecondsTimeout | The milliseconds timeout. |
Kills this object.
Opens the serial port.
Queries if a given port exists.
Reads the serial buffer into the string buffer.
Implements CommandMessenger.TransportLayer.ITransport.
Connects to a serial port defined through the current settings.
Implements CommandMessenger.TransportLayer.ITransport.
Stops listening to the serial port.
Implements CommandMessenger.TransportLayer.ITransport.
Retrieves the possible baud rates for the currently selected serial port.
void CommandMessenger.TransportLayer.SerialTransport.Write | ( | byte[] | buffer | ) |
Writes a parameter to the serial port.
buffer | The buffer to write. |
Implements CommandMessenger.TransportLayer.ITransport.
Gets or sets the current serial port settings.
The current serial settings.
Gets the serial port.
The serial port.
ThreadRunStates CommandMessenger.TransportLayer.SerialTransport.ThreadRunState [get, set] |
Gets or sets the run state of the thread .
The thread run state.