kopia lustrzana https://github.com/Hamlib/Hamlib
Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
Modify testrigcaps.c to test new data tag This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structurepull/913/head
rodzic
3fd5198a57
commit
01b7f81119
|
@ -1713,6 +1713,7 @@ struct rig_spectrum_line
|
|||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
#define RIG_MODEL(arg) .rig_model=arg,.macro_name=#arg
|
||||
#define HAMLIB_CHECK_RIG_CAPS "HAMLIB_CHECK_RIG_CAPS"
|
||||
struct rig_caps {
|
||||
rig_model_t rig_model; /*!< Rig model. */
|
||||
const char *model_name; /*!< Model name. */
|
||||
|
@ -2004,6 +2005,8 @@ struct rig_caps {
|
|||
int (*process_async_frame)(RIG *rig,
|
||||
size_t frame_length,
|
||||
const unsigned char *frame);
|
||||
// this will be used to check rigcaps structure is compatible with client
|
||||
const char *hamlib_check_rig_caps; // a constant value we can check for hamlib integrity
|
||||
};
|
||||
//! @endcond
|
||||
|
||||
|
|
|
@ -2473,7 +2473,8 @@ struct rig_caps dummy_caps =
|
|||
.power2mW = dummy_power2mW,
|
||||
.mW2power = dummy_mW2power,
|
||||
.set_clock = dummy_set_clock,
|
||||
.get_clock = dummy_get_clock
|
||||
.get_clock = dummy_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
};
|
||||
|
||||
struct rig_caps dummy_no_vfo_caps =
|
||||
|
@ -2641,7 +2642,8 @@ struct rig_caps dummy_no_vfo_caps =
|
|||
.power2mW = dummy_power2mW,
|
||||
.mW2power = dummy_mW2power,
|
||||
.set_clock = dummy_set_clock,
|
||||
.get_clock = dummy_get_clock
|
||||
.get_clock = dummy_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
};
|
||||
|
||||
DECLARE_INITRIG_BACKEND(dummy)
|
||||
|
|
|
@ -212,7 +212,8 @@ const struct rig_caps flrig_caps =
|
|||
.set_ext_parm = flrig_set_ext_parm,
|
||||
.get_ext_parm = flrig_get_ext_parm,
|
||||
.power2mW = flrig_power2mW,
|
||||
.mW2power = flrig_mW2power
|
||||
.mW2power = flrig_mW2power,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
//Structure for mapping flrig dynmamic modes to hamlib modes
|
||||
|
|
|
@ -2726,4 +2726,5 @@ struct rig_caps netrigctl_caps =
|
|||
.power2mW = netrigctl_power2mW,
|
||||
.mW2power = netrigctl_mW2power,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -212,7 +212,8 @@ const struct rig_caps tci1x_caps =
|
|||
.get_ext_parm = tci1x_get_ext_parm,
|
||||
#endif
|
||||
.power2mW = tci1x_power2mW,
|
||||
.mW2power = tci1x_mW2power
|
||||
.mW2power = tci1x_mW2power,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
//Structure for mapping tci1x dynmamic modes to hamlib modes
|
||||
|
|
|
@ -178,7 +178,8 @@ struct rig_caps trxmanager_caps =
|
|||
.set_split_vfo = trxmanager_set_split_vfo,
|
||||
.get_split_vfo = trxmanager_get_split_vfo,
|
||||
.set_split_freq_mode = trxmanager_set_split_freq_mode,
|
||||
.get_split_freq_mode = trxmanager_get_split_freq_mode
|
||||
.get_split_freq_mode = trxmanager_get_split_freq_mode,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -163,6 +163,7 @@ const struct rig_caps delta2_caps =
|
|||
.decode_event = icom_decode_event,
|
||||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -141,5 +141,6 @@ const struct rig_caps ic1275_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -151,5 +151,6 @@ const struct rig_caps ic271_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -209,4 +209,5 @@ const struct rig_caps ic2730_caps =
|
|||
.set_split_mode = icom_set_split_mode,
|
||||
.get_split_mode = icom_get_split_mode,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -144,5 +144,6 @@ const struct rig_caps ic275_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -150,5 +150,6 @@ const struct rig_caps ic471_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -142,7 +142,8 @@ const struct rig_caps ic475_caps =
|
|||
|
||||
.decode_event = icom_decode_event,
|
||||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op
|
||||
.vfo_op = icom_vfo_op,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
static const struct icom_priv_caps ic575_priv_caps =
|
||||
|
|
|
@ -374,4 +374,5 @@ const struct rig_caps ic7000_caps =
|
|||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = NULL,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -225,6 +225,7 @@ const struct rig_caps ic703_caps =
|
|||
.get_split_mode = icom_get_split_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -274,6 +274,7 @@ const struct rig_caps ic706_caps =
|
|||
.set_split_vfo = icom_set_split_vfo,
|
||||
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
@ -614,7 +615,7 @@ const struct rig_caps ic706mkiig_caps =
|
|||
.get_split_mode = icom_get_split_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = icom_mem_get_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -168,5 +168,6 @@ const struct rig_caps ic707_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -510,5 +510,6 @@ const struct rig_caps ic7100_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.set_clock = ic7100_set_clock,
|
||||
.get_clock = ic7100_get_clock
|
||||
.get_clock = ic7100_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -206,6 +206,7 @@ const struct rig_caps ic718_caps =
|
|||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = icom_mem_get_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -281,6 +281,7 @@ const struct rig_caps ic7200_caps =
|
|||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = NULL,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
int ic7200_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||
|
|
|
@ -164,5 +164,6 @@ const struct rig_caps ic725_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -172,5 +172,6 @@ const struct rig_caps ic726_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -769,7 +769,8 @@ const struct rig_caps ic7300_caps =
|
|||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.set_clock = ic7300_set_clock,
|
||||
.get_clock = ic7300_get_clock
|
||||
.get_clock = ic7300_get_clock,
|
||||
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
|
||||
};
|
||||
|
||||
const struct rig_caps ic9700_caps =
|
||||
|
@ -1074,7 +1075,8 @@ const struct rig_caps ic9700_caps =
|
|||
.send_morse = icom_send_morse,
|
||||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps ic705_caps =
|
||||
|
@ -1333,7 +1335,8 @@ const struct rig_caps ic705_caps =
|
|||
.send_morse = icom_send_morse,
|
||||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = icom_send_voice_mem
|
||||
.send_voice_mem = icom_send_voice_mem,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
int ic7300_set_parm(RIG *rig, setting_t parm, value_t val)
|
||||
|
|
|
@ -170,5 +170,6 @@ const struct rig_caps ic735_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -189,5 +189,6 @@ const struct rig_caps ic736_caps =
|
|||
.get_split_mode = icom_get_split_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -182,5 +182,6 @@ const struct rig_caps ic737_caps =
|
|||
.get_split_mode = icom_get_split_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -185,5 +185,6 @@ const struct rig_caps ic738_caps =
|
|||
.get_split_mode = icom_get_split_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -288,5 +288,6 @@ const struct rig_caps ic7410_caps =
|
|||
.get_split_vfo = icom_mem_get_split_vfo,
|
||||
.send_morse = icom_send_morse,
|
||||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -332,6 +332,7 @@ const struct rig_caps ic746_caps =
|
|||
.set_ptt = icom_set_ptt,
|
||||
.get_ptt = icom_get_ptt,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
@ -583,6 +584,7 @@ const struct rig_caps ic746pro_caps =
|
|||
.get_ext_parm = ic746pro_get_ext_parm,
|
||||
.get_channel = ic746pro_get_channel,
|
||||
.set_channel = ic746pro_set_channel,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -228,4 +228,5 @@ const struct rig_caps ic751_caps =
|
|||
|
||||
.get_level = icom_get_level,
|
||||
.set_ptt = icom_set_ptt,/* Piexx UX-14px has no get_ptt only set_ptt */
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -275,7 +275,7 @@ const struct rig_caps ic756_caps =
|
|||
.get_split_freq_mode = icom_get_split_freq_mode,
|
||||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = NULL,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
@ -448,6 +448,7 @@ const struct rig_caps ic756pro_caps =
|
|||
.set_split_vfo = icom_set_split_vfo,
|
||||
.get_split_vfo = NULL,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -691,6 +692,7 @@ const struct rig_caps ic756pro2_caps =
|
|||
|
||||
.set_ext_parm = ic756pro2_set_ext_parm,
|
||||
.get_ext_parm = ic756pro2_get_ext_parm,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
@ -1131,4 +1133,5 @@ const struct rig_caps ic756pro3_caps =
|
|||
|
||||
.set_ext_parm = ic756pro2_set_ext_parm,
|
||||
.get_ext_parm = ic756pro2_get_ext_parm,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -449,5 +449,6 @@ const struct rig_caps ic7600_caps =
|
|||
.get_powerstat = icom_get_powerstat,
|
||||
.send_morse = icom_send_morse,
|
||||
.set_clock = ic7600_set_clock,
|
||||
.get_clock = ic7600_get_clock
|
||||
.get_clock = ic7600_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -191,5 +191,6 @@ const struct rig_caps ic761_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -584,5 +584,6 @@ const struct rig_caps ic7610_caps =
|
|||
.wait_morse = rig_wait_morse,
|
||||
.send_voice_mem = rig_send_voice_mem,
|
||||
.set_clock = ic7610_set_clock,
|
||||
.get_clock = ic7610_get_clock
|
||||
.get_clock = ic7610_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -186,5 +186,6 @@ const struct rig_caps ic765_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -430,5 +430,6 @@ const struct rig_caps ic7700_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.set_clock = ic7700_set_clock,
|
||||
.get_clock = ic7700_get_clock
|
||||
.get_clock = ic7700_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -183,5 +183,6 @@ const struct rig_caps ic775_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -186,6 +186,7 @@ const struct rig_caps ic78_caps =
|
|||
.scan = icom_scan,
|
||||
.get_dcd = icom_get_dcd,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -333,6 +333,7 @@ const struct rig_caps ic7800_caps =
|
|||
.wait_morse = rig_wait_morse,
|
||||
.set_clock = ic7300_set_clock,
|
||||
.get_clock = ic7300_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -191,5 +191,6 @@ const struct rig_caps ic781_caps =
|
|||
|
||||
/* TODO: more capabilities */
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -475,7 +475,8 @@ const struct rig_caps ic785x_caps =
|
|||
.stop_morse = icom_stop_morse,
|
||||
.wait_morse = rig_wait_morse,
|
||||
.set_clock = ic7300_set_clock,
|
||||
.get_clock = ic7300_get_clock
|
||||
.get_clock = ic7300_get_clock,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
int ic785x_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||
|
|
|
@ -174,5 +174,6 @@ const struct rig_caps ic820h_caps =
|
|||
.vfo_op = icom_vfo_op,
|
||||
.scan = icom_scan,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -213,5 +213,6 @@ const struct rig_caps ic821h_caps =
|
|||
.vfo_op = icom_vfo_op,
|
||||
.scan = icom_scan,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -358,4 +358,5 @@ const struct rig_caps ic910_caps =
|
|||
.set_rptr_offs = icom_set_rptr_offs,
|
||||
.get_rptr_offs = icom_get_rptr_offs,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -285,4 +285,5 @@ const struct rig_caps ic9100_caps =
|
|||
.set_split_mode = icom_set_split_mode,
|
||||
.get_split_mode = icom_get_split_mode,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -217,6 +217,7 @@ const struct rig_caps ic92d_caps =
|
|||
|
||||
.get_info = ic92d_get_info,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const char *ic92d_get_info(RIG *rig)
|
||||
|
|
|
@ -160,5 +160,6 @@ const struct rig_caps ic970_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -410,4 +410,5 @@ const struct rig_caps icf8101_caps =
|
|||
.set_split_freq_mode = icf8101_set_split_freq_mode,
|
||||
.get_split_freq_mode = icf8101_get_split_freq_mode,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -152,6 +152,7 @@ const struct rig_caps icr10_caps =
|
|||
.get_level = icom_get_level,
|
||||
.get_dcd = icom_get_dcd,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -158,6 +158,7 @@ const struct rig_caps icr20_caps =
|
|||
.get_level = icom_get_level,
|
||||
.get_dcd = icom_get_dcd,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -277,4 +277,5 @@ const struct rig_caps icr30_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -173,4 +173,5 @@ const struct rig_caps icr6_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -161,6 +161,7 @@ const struct rig_caps icr7000_caps =
|
|||
.decode_event = icom_decode_event,
|
||||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -141,6 +141,7 @@ const struct rig_caps icr71_caps =
|
|||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -157,5 +157,6 @@ const struct rig_caps icr72_caps =
|
|||
.get_ts = icom_get_ts,
|
||||
.scan = icom_scan,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -244,6 +244,7 @@ const struct rig_caps icr75_caps =
|
|||
.set_channel = icr75_set_channel,
|
||||
.get_channel = icr75_get_channel,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -201,6 +201,7 @@ const struct rig_caps icr8500_caps =
|
|||
.set_ts = icom_set_ts,
|
||||
.get_ts = icom_get_ts,
|
||||
.get_dcd = icom_get_dcd,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
int icr8500_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
|
||||
|
|
|
@ -335,4 +335,5 @@ const struct rig_caps icr8600_caps =
|
|||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -194,4 +194,5 @@ const struct rig_caps icr9000_caps =
|
|||
.vfo_op = icom_vfo_op,
|
||||
.scan = icom_scan,
|
||||
.get_dcd = icom_get_dcd,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -225,6 +225,7 @@ const struct rig_caps icr9500_caps =
|
|||
.vfo_op = icom_vfo_op,
|
||||
.scan = icom_scan,
|
||||
.get_dcd = icom_get_dcd,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -149,5 +149,6 @@ const struct rig_caps icrx7_caps =
|
|||
.get_level = icom_get_level,
|
||||
.get_dcd = icom_get_dcd,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -198,5 +198,6 @@ const struct rig_caps id1_caps =
|
|||
.set_rptr_offs = icom_set_rptr_offs,
|
||||
.get_rptr_offs = icom_get_rptr_offs,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -207,4 +207,5 @@ const struct rig_caps id31_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -217,4 +217,5 @@ const struct rig_caps id4100_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -222,4 +222,5 @@ const struct rig_caps id51_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -217,4 +217,5 @@ const struct rig_caps id5100_caps =
|
|||
.get_ctcss_sql = icom_get_ctcss_sql,
|
||||
.set_dcs_sql = icom_set_dcs_sql,
|
||||
.get_dcs_sql = icom_get_dcs_sql,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -178,6 +178,7 @@ const struct rig_caps omnivip_caps =
|
|||
.decode_event = icom_decode_event,
|
||||
.set_mem = icom_set_mem,
|
||||
.vfo_op = icom_vfo_op,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -186,5 +186,6 @@ const struct rig_caps os456_caps =
|
|||
|
||||
.scan = optoscan_scan,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -178,5 +178,6 @@ const struct rig_caps os535_caps =
|
|||
|
||||
.scan = optoscan_scan,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
|
|
@ -172,6 +172,7 @@ const struct rig_caps perseus_caps =
|
|||
.set_level = icom_set_level,
|
||||
.get_level = icom_get_level,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -320,6 +320,7 @@ const struct rig_caps x108g_caps =
|
|||
.set_split_vfo = x108g_set_split_vfo,
|
||||
.get_split_vfo = NULL,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps x6100_caps =
|
||||
|
|
|
@ -1198,6 +1198,7 @@ const struct rig_caps f6k_caps =
|
|||
.get_level = kenwood_get_level,
|
||||
//.set_ant = kenwood_set_ant_no_ack,
|
||||
//.get_ant = kenwood_get_ant,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -244,7 +244,8 @@ const struct rig_caps k2_caps =
|
|||
.set_ant = kenwood_set_ant,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -328,8 +328,9 @@ const struct rig_caps k3_caps =
|
|||
.set_ant = kenwood_set_ant_no_ack,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps k3s_caps =
|
||||
|
@ -478,7 +479,8 @@ const struct rig_caps k3s_caps =
|
|||
.set_ant = kenwood_set_ant_no_ack,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
// How similar is this to the K3S?
|
||||
|
@ -628,7 +630,8 @@ const struct rig_caps k4_caps =
|
|||
.set_ant = kenwood_set_ant_no_ack,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps kx3_caps =
|
||||
|
@ -777,7 +780,8 @@ const struct rig_caps kx3_caps =
|
|||
.set_ant = kenwood_set_ant_no_ack,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps kx2_caps =
|
||||
|
@ -926,7 +930,8 @@ const struct rig_caps kx2_caps =
|
|||
.set_ant = kenwood_set_ant_no_ack,
|
||||
.get_ant = kenwood_get_ant,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.wait_morse = rig_wait_morse
|
||||
.wait_morse = rig_wait_morse,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -298,6 +298,7 @@ const struct rig_caps pihpsdr_caps =
|
|||
.get_info = kenwood_get_info,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -161,6 +161,7 @@ const struct rig_caps r5000_caps =
|
|||
.get_info = ic10_get_info,
|
||||
.decode_event = ic10_decode_event,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -199,6 +199,7 @@ const struct rig_caps thd7a_caps =
|
|||
.get_dcd = th_get_dcd,
|
||||
|
||||
.decode_event = th_decode_event,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -1743,4 +1743,5 @@ const struct rig_caps thd72a_caps =
|
|||
.get_channel = thd72_get_channel,
|
||||
//.get_chan_all_cb = thd72_get_chan_all_cb, this doesn't work yet
|
||||
.get_info = th_get_info,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -1763,4 +1763,5 @@ const struct rig_caps thd74_caps =
|
|||
//.get_chan_all_cb = thd74_get_chan_all_cb, this doesn't work yet
|
||||
|
||||
.get_info = th_get_info,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -278,6 +278,7 @@ const struct rig_caps thf6a_caps =
|
|||
.get_ant = th_get_ant,
|
||||
|
||||
.reset = th_reset,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -272,6 +272,7 @@ const struct rig_caps thf7e_caps =
|
|||
.get_ant = th_get_ant,
|
||||
|
||||
.reset = th_reset,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -206,6 +206,7 @@ const struct rig_caps thg71_caps =
|
|||
.set_ptt = th_set_ptt,
|
||||
.get_dcd = th_get_dcd,
|
||||
.decode_event = thg71_decode_event,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -240,6 +240,7 @@ const struct rig_caps tmd700_caps =
|
|||
.scan = th_scan,
|
||||
|
||||
.decode_event = th_decode_event,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -398,6 +398,7 @@ const struct rig_caps tmd710_caps =
|
|||
.get_rptr_offs = tmd710_get_rptr_offs,
|
||||
|
||||
.decode_event = th_decode_event,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/* structure for handling FO radio command */
|
||||
|
|
|
@ -219,6 +219,7 @@ const struct rig_caps tmv7_caps =
|
|||
.set_ptt = th_set_ptt,
|
||||
.get_dcd = th_get_dcd,
|
||||
.decode_event = tmv7_decode_event,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -160,6 +160,7 @@ const struct rig_caps transfox_caps =
|
|||
.get_conf = transfox_get_conf,
|
||||
#endif
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -178,6 +178,7 @@ const struct rig_caps trc80_caps =
|
|||
.get_powerstat = kenwood_get_powerstat,
|
||||
.get_info = kenwood_get_info,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -191,6 +191,7 @@ const struct rig_caps ts140_caps =
|
|||
.get_mem = kenwood_get_mem_if,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -325,6 +325,7 @@ const struct rig_caps ts2000_caps =
|
|||
.get_info = kenwood_get_info,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -177,6 +177,7 @@ const struct rig_caps ts440_caps =
|
|||
.get_channel = ic10_get_channel,
|
||||
.decode_event = ic10_decode_event,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -266,4 +266,5 @@ const struct rig_caps ts450s_caps =
|
|||
.scan = kenwood_scan,
|
||||
.get_channel = kenwood_get_channel,
|
||||
.set_channel = kenwood_set_channel,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
|
|
@ -1436,6 +1436,7 @@ const struct rig_caps ts480_caps =
|
|||
.get_ext_func = ts480_get_ext_func,
|
||||
.send_morse = kenwood_send_morse,
|
||||
.vfo_op = kenwood_vfo_op,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -209,6 +209,7 @@ const struct rig_caps ts50s_caps =
|
|||
.get_powerstat = kenwood_get_powerstat,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -1107,6 +1107,7 @@ const struct rig_caps ts570s_caps =
|
|||
.scan = kenwood_scan,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -1294,6 +1295,7 @@ const struct rig_caps ts570d_caps =
|
|||
.scan = kenwood_scan,
|
||||
.reset = kenwood_reset,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -242,6 +242,7 @@ const struct rig_caps frg100_caps =
|
|||
.get_level = frg100_get_level,
|
||||
|
||||
.set_powerstat = frg100_set_powerstat,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
static inline int frg100_channel_is_ok(unsigned char channel)
|
||||
|
|
|
@ -141,6 +141,7 @@ const struct rig_caps frg8800_caps =
|
|||
.set_mode = frg8800_set_mode,
|
||||
|
||||
.set_powerstat = frg8800_set_powerstat,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -132,6 +132,7 @@ const struct rig_caps frg9600_caps =
|
|||
.set_freq = frg9600_set_freq,
|
||||
.set_mode = frg9600_set_mode,
|
||||
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -465,6 +465,7 @@ const struct rig_caps ft100_caps =
|
|||
.get_func = NULL,
|
||||
.set_parm = NULL,
|
||||
.get_parm = NULL,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -405,6 +405,7 @@ const struct rig_caps ft1000d_caps =
|
|||
.vfo_op = ft1000d_vfo_op,
|
||||
.set_channel = ft1000d_set_channel,
|
||||
.get_channel = ft1000d_get_channel,
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -442,6 +442,7 @@ const struct rig_caps ft1000mp_caps =
|
|||
.get_func = ft1000mp_get_func,
|
||||
|
||||
/* TODO: the remaining ... */
|
||||
.hamlib_check_rig_caps = "HAMLIB_CHECK_RIG_CAPS"
|
||||
};
|
||||
|
||||
const struct rig_caps ft1000mpmkv_caps =
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Ładowanie…
Reference in New Issue