Whisperstream Research Group - SerialComm GSM SDK Documentation

SerialIO Methods

The methods of the SerialIO class are listed below. For a complete list of SerialIO class members, see the SerialIO Members topic.

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
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
DisableLogging disables logging, flushes any remaining data and closes the file
DisposeOverloaded. called when during garbage collection, this closes the serial connection if it is still open and calls the base class's dispose method
EnableLogging Turns logging on for all data send and received
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
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
ToString (inherited from Component)

Protected Instance Methods

Dispose (inherited from Component)Overloaded. Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SerialIO Class | Whisperstream.SerialComm.IO Namespace