Serial Communications Library
Copyright (c) 2005, Brian E. Heilig
Eiffel Forum License v2 (see license.txt)
-- Current control parameters for this device
-- Last Boolean read by the device
-- Last character read by the device.
-- Last double read by the device
-- Last integer read by the device
-- Number of bytes actually read during last read operation.
-- Last real read by the device
-- Last string read by the device.
-- Number of bytes actually written during last write operation.
-- Name of the communications device
-- Current timeout properties for this device
-- Is the device open for reading and writing?
-- Did the last read/write operation timeout?
-- Close the device.
-- Configures the device according to the specifications in a_settings.
-- Settings will be immediately applied; input and output queues will
-- not be emptied.
-- Read count bytes into the data buffer. Set last_read_count
-- to the number of bytes read. Set timed_out if less than count
-- bytes were read. See timeouts to determine when read will
-- be completed.
-- Read characters until a new line is received or a time
-- out occurs. Make result available in last_string.
-- Read characters until a Nul character is received or
-- a time out occurs. Make result available in
-- last_string. Do not include the Nul character.
-- Write b to the device.
-- Write c to medium.
-- Write data to the device. Set last_write_count with the
-- number of bytes written. Set timed_out if the write operation
-- timed out.
-- Write d to the device.
-- Write i to the device.
-- Write a new line character to medium
-- Write r to the device.
-- Write count bytes of s to medium.
-- Write a null terminated string s to medium. All count
-- characters of s will be written, followed by a null.
Objects that perform I/O operations on a communications device.