Headers Index Help Within this page: Functions Constants Variables
This function is used by the SerialPort server, spd and included in the C client interface library, libspd.a.
It is used to extract the individual values from the value string used to pass the complete set of values between a client program and spd.
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
#include "paramdecode.h"
void paramdecode(char *s, int *baud, /* baud..txdelay are return values */ int *databits, char *parity, int *stopbits);
Decode the serial parameters string, e.g. "9600,8,N,1,1500" (baud,databits,parity,stopbits,max message size) and return them via arguments that are passed by reference.
In: paramdecode.c
Return to the top
Public constants were not declared.
Public variables were not declared.
Return to the top