Headers Index Help Within this page: Functions Constants Variables
This is a test harness for libsp.a, the C SerialPort interface and spd, the serial port server. It is designed for regression testing within the spd_regress script.
The program runs one or more test scripts, which are files named on the command line. The only acceptable option, apart from -?, is the debug option, -d. This causes diagnostic output on stderr. Progressively more debug options cause additional diagnostic detail to be output.
Within a script blank lines and comment lines starting with # are ignored. The commands prefixed by sp_ correspond to the functions in the C SerialPort interface though the parameters may differ in number and order. The other commands have been added to make the scripting language easier to use. Commands must be written on a single line and may be followed by a comment which starts with a #. A command consists of a command word that may be followed by a number of space separated parameters. Commands are documented below:
SerialPort - serial connections for Java
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Copyright (C) 2005 Martin C Gregorie
Contact Martin Gregorie at martin@gregorie.org
Public functions were not declared.
Public constants were not declared.
Public variables were not declared.
Return to the top