The Serial type exposes the following members.

Methods

  NameDescription
Public methodClearBuffers
Clears the ASCOM serial port receive and transmit buffers
Public methodDispose
Disposes of resources used by the profile object
Public methodLogMessage
Adds a message to the ASCOM serial trace file
Public methodReceive
Receive at least one text character from the ASCOM serial port
Public methodReceiveByte
Receive one binary byte from the ASCOM serial port
Public methodReceiveCounted
Receive exactly the given number of characters from the ASCOM serial port and return as a string
Public methodReceiveCountedBinary
Receive exactly the given number of characters from the ASCOM serial port and return as a byte array
Public methodReceiveTerminated
Receive characters from the ASCOM serial port until the given terminator string is seen
Public methodReceiveTerminatedBinary
Receive characters from the ASCOM serial port until the given terminator bytes are seen, return as a byte array
Public methodTransmit
Transmits a string through the ASCOM serial port
Public methodTransmitBinary
Transmit an array of binary bytes through the ASCOM serial port

See Also