initial capabilities stuff

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@78 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.0
Frank Singleton, VK3FCS 2000-09-04 03:19:25 +00:00
rodzic cb5feb52ae
commit 5067a2283d
1 zmienionych plików z 33 dodań i 0 usunięć

33
common/rig.h 100644
Wyświetl plik

@ -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; /* */
};