#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <termios.h>
#include <sys/ioctl.h>
#include "config.h"
#include "error.h"
#include "logfile.h"
#include "serial.h"
Functions | |
int | serial_configure (int device, int stty_baud, char *devname) |
FIXME. | |
serdev * | serial_open (char *dev, int stty_baud, int *err) |
initializer, has t be called before the serial port can be used | |
void | serial_close (serdev *device) |
destrucor, has to be called after the seraial port has been used | |
int | serial_reopen (serdev *device) |
reopens and reconigures the unix deice file representing the serial port | |
int | serial_read_characters (int fd, char *buf, int *buffill) |
int | serial_read (serdev *device, void(*inputproc)(const char *)) |
tryes to read somethng from the serial port | |
int | serial_read_timeout (serdev *device, int timeout, char *ergstr) |
int | serial_wait_lines (serdev *device, int nr, int timeout) |
int | serial_write (serdev *device, const char *commandstr, void(*outputproc)(const char *)) |
int | serial_write_byte (serdev *device, int byte) |
void | serial_verbose (serdev *device, int nooutput) |
Copyright (C) 2001-2003 Oliver Cordes (see source file for email)
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, version 2.
|
destrucor, has to be called after the seraial port has been used
|
|
FIXME.
|
|
initializer, has t be called before the serial port can be used
|
|
tryes to read somethng from the serial port
|
|
reopens and reconigures the unix deice file representing the serial port
|