00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00032 #ifndef _TENTEC_H
00033 #define _TENTEC_H 1
00034
00035 #include <hamlib/rig.h>
00036
00040 struct tentec_priv_data {
00041 rmode_t mode;
00042 freq_t freq;
00043 pbwidth_t width;
00044 int cwbfo;
00045 int pbt;
00046 float lnvol;
00047 float spkvol;
00048 int agc;
00050
00051 int ctf;
00052 int ftf;
00053 int btf;
00054 };
00055
00056 int tentec_transaction(RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len);
00057
00058 int tentec_init(RIG *rig);
00059 int tentec_init(RIG *rig);
00060 int tentec_cleanup(RIG *rig);
00061 int tentec_trx_open(RIG *rig);
00062 int tentec_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
00063 int tentec_get_freq(RIG *rig, vfo_t vfo, freq_t *freq);
00064 int tentec_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
00065 int tentec_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width);
00066 int tentec_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val);
00067 int tentec_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val);
00068 const char* tentec_get_info(RIG *rig);
00069
00070 extern const struct rig_caps rx320_caps;
00071 extern const struct rig_caps rx340_caps;
00072 extern const struct rig_caps rx350_caps;
00073 extern const struct rig_caps tt516_caps;
00074 extern const struct rig_caps tt538_caps;
00075 extern const struct rig_caps tt588_caps;
00076 extern const struct rig_caps tt550_caps;
00077 extern const struct rig_caps tt565_caps;
00078
00079
00080 #endif
00081