serial_cmd.c File Reference


Detailed Description

Send commands to serial camera over AIA serial lines.

Primarily a utility program, and a bit complex for example code since it tries to address all number of serial methods. Nevertheless it does have usefulness as example code.

Copyright (c) 1998-2007, EDT, Inc.

Definition in file serial_cmd.c.

#include "edtinc.h"

Go to the source code of this file.

Defines

#define SERBUFSIZE   512

Functions

void print_ascii_string (char *buf)
long MainHelp (int argc, char *argv[], char *edt_devname)
long PdvSerialWriteRead (int argc, char *argv[], int unit, int hexin, int do_wait, int inter, int timeout, int verbose, int foiunit, int baud, int readonly, int channel)
long isascii_str (u_char *buf, int n)
long ack_nak_str (u_char *buf, int n)
int print_inter_help ()
void printify (u_char *buf, u_char *dest, int n, int show_nonprint)
int main (int argc, char **argv)

Variables

int pnum = 0
int basler_framing = 0
int duncan_framing = 0


Generated on Mon Mar 21 14:15:06 2011 by  doxygen 1.4.7