Click or drag to resize

ISerialProtocol Interface

A basic serial protocol interface which has an encoding, data-available, send and receive method It is also clonable so that it can be copied and assigned to multiple ports

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: (
public interface ISerialProtocol : IProtocol, 

The ISerialProtocol type exposes the following members.

Public propertyDataAvailable Indicates whether data is available, can be 0, for no data, 1 for 1 or more bytes, or a number representing the precise number of bytes
Public propertyEncoding The character encoding used to send and receive data
Public propertyStream The stream on which the protocol acts
(Inherited from IProtocol)
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodReceive Receive data from the serial port
Public methodSend Send data down the serial port
See Also