Whisperstream Research Group - SerialComm GSM SDK Documentation

ISerialIO Members

ISerialIO overview

Public Instance Properties

BaudRate gets the baudrate of the serial port connection
CommandPauseInterval gets/sets the minimum amound of time allowed between asynchronous AsyncSend calls
CommandTimeout get/set the max time a syncronous command has to execute before a CommandTimeoutException occurs
COMPort gets the COM port of the serial connection
ConnectionState gets teh current serial port connection state
DefaultEndTokens gets/sets the default end tokens used in a synchronous SendCommand operation
IsConnected gets whether or not the serial port connection is connected

Public Instance Methods

AsyncSend Sends data to the serial connection asynchronously and therefore does not wait for any response. To prevent the serial port becoming overwhelmed by asynchronus sending, the CommandPauseInterval property is used to control the minimum pause between asynchronous commands
Close closes the open connection to the serial port
DisableLogging disables logging, flushes any remaining data and closes the file
EnableLogging Turns logging on for all data send and received
IsLogging returns whether or not logging is enabled
Open Opens a connection to the serial port
SendCommandOverloaded. sends a command synchronously to the serial port and waits for one of the responses contained in endTokens. If no matching response is found before commandTimeout milliseconds elapse a CommandTimeoutException is thrown

Public Instance Events

OnClose event fired when a serial data connection is closed
OnCommandResponse event fired when a syncronous serial command completes
OnOpen event fired when a serial data connection is opened
OnReceive event fired when data is received on the serial data connection

See Also

ISerialIO Interface | Whisperstream.SerialComm.Framework.Interfaces Namespace