kopia lustrzana https://github.com/Hamlib/Hamlib
- removed EOM, it's handled by kenwood_transaction
- fixed tabs and spaces - added generic routine for vfo errors - set_mem: do not switch vfo if already in mem mode - simplified invocation of some commands - buffer optimizations - added PARM_BEEP and PARM_APO - fixed getting of LEVEL_RFPOWER - fixed get_ant git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2886 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
328e67a44d
commit
2edfec12db
2118
kenwood/th.c
2118
kenwood/th.c
Plik diff jest za duży
Load Diff
|
@ -23,7 +23,7 @@
|
|||
#define __TH_H__ 1
|
||||
#include "idx_builtin.h"
|
||||
|
||||
#define TH_VER "0.3"
|
||||
#define TH_VER "0.4"
|
||||
|
||||
extern int th_transaction (RIG *rig, const char *cmdstr, char *data, size_t datasize);
|
||||
extern int th_decode_event (RIG *rig);
|
||||
|
@ -33,12 +33,14 @@ extern int th_set_mode (RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
|
|||
extern int th_get_mode (RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width);
|
||||
extern int th_set_vfo(RIG *rig, vfo_t vfo);
|
||||
extern int th_get_vfo(RIG *rig, vfo_t *vfo);
|
||||
extern int th_get_vfo_char(RIG *rig, vfo_t *vfo, char *vfoch);
|
||||
extern int th_set_trn(RIG *rig, int trn);
|
||||
extern int th_get_trn (RIG *rig, int *trn);
|
||||
extern int th_set_powerstat (RIG *rig, powerstat_t status);
|
||||
extern int th_get_powerstat (RIG *rig, powerstat_t *status);
|
||||
extern int th_set_func (RIG *rig, vfo_t vfo, setting_t func, int status);
|
||||
extern int th_get_func (RIG *rig, vfo_t vfo, setting_t func, int *status);
|
||||
extern int th_set_parm (RIG *rig, setting_t parm, value_t val);
|
||||
extern int th_get_parm (RIG *rig, setting_t parm, value_t *val);
|
||||
extern int th_get_level (RIG *rig, vfo_t vfo, setting_t level, value_t *val);
|
||||
extern int th_set_level (RIG *rig, vfo_t vfo, setting_t level, value_t val);
|
||||
|
@ -54,6 +56,7 @@ extern int th_get_channel(RIG *rig, channel_t *chan);
|
|||
extern int th_set_channel(RIG *rig, const channel_t *chan);
|
||||
extern int th_set_ant (RIG * rig, vfo_t vfo, ant_t ant);
|
||||
extern int th_get_ant (RIG * rig, vfo_t vfo, ant_t * ant);
|
||||
extern int th_reset(RIG *rig, reset_t reset);
|
||||
|
||||
|
||||
#define TH_CHANNEL_CAPS \
|
||||
|
|
Ładowanie…
Reference in New Issue