From 5067a2283dc34ec52656e20dfe2b18c5b38c6f33 Mon Sep 17 00:00:00 2001 From: "Frank Singleton, VK3FCS" Date: Mon, 4 Sep 2000 03:19:25 +0000 Subject: [PATCH] initial capabilities stuff git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@78 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- common/rig.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 common/rig.h diff --git a/common/rig.h b/common/rig.h new file mode 100644 index 000000000..5f6fd2c3b --- /dev/null +++ b/common/rig.h @@ -0,0 +1,33 @@ +/* + * Basic rig type, can store some useful + * info about different radios. Each lib must + * be able to populate this structure, so we can make + * useful enquiries about capablilities. + */ + + +#define RIG_PARITY_ODD 0 +#define RIG_PARITY_EVEN 1 +#define RIG_PARITY_NONE 2 + +struct rig_caps { + char rig_name[30]; /* eg ft847 */ + unsigned short int serial_rate_min; /* eg 4800 */ + unsigned short int serial_rate_max; /* eg 9600 */ + unsigned char serial_data_bits; /* eg 8 */ + unsigned char serial_stop_bits; /* eg 2 */ + unsigned char serial_parity; /* */ + +}; + + + + + + + + + + + +