Fix SDRConsole by removing a lot of things that it does not have

pull/1664/head
Michael Black W9MDB 2025-01-20 23:04:24 -06:00
rodzic 198c14818a
commit 3ccdabd9b9
2 zmienionych plików z 46 dodań i 31 usunięć

10
NEWS
Wyświetl plik

@ -12,6 +12,16 @@ Version 5.x -- future
* rot_get_conf deprecated and replaced by rot_get_conf2 * rot_get_conf deprecated and replaced by rot_get_conf2
* Change FT1000MP Mark V model names to align with FT1000MP * Change FT1000MP Mark V model names to align with FT1000MP
Version 4.6.1
* Fix C++ builds failing on rig_list_foreach function
* Fix IC9100 rigctld startup to end up on VFOA
* Fix grig build by removing sys/socket.h -- apparently not needed
* Add new QMX entry to fix incompability with QDX
* Fix IC746/PROT to not use data byte
* FLRig to add DATA-U DATA-L modes
* Fix TS570 RIG_LEVEL_STRENGTH with cal table
* Remove get_powerstat from IC785X -- not supported
Version 4.6 Version 4.6
* send_raw can now take hex digits as colon-separated -- e.g. send_raw icom xfe:xfe:x94:xe0:03:xfd * send_raw can now take hex digits as colon-separated -- e.g. send_raw icom xfe:xfe:x94:xe0:03:xfd
* Add IC7760 * Add IC7760

Wyświetl plik

@ -39,10 +39,15 @@
RIG_LEVEL_MONITOR_GAIN|RIG_LEVEL_NB|RIG_LEVEL_NR|RIG_LEVEL_PREAMP|RIG_LEVEL_COMP|RIG_LEVEL_ATT|RIG_LEVEL_VOXDELAY|RIG_LEVEL_VOXGAIN|RIG_LEVEL_BKIN_DLYMS| \ RIG_LEVEL_MONITOR_GAIN|RIG_LEVEL_NB|RIG_LEVEL_NR|RIG_LEVEL_PREAMP|RIG_LEVEL_COMP|RIG_LEVEL_ATT|RIG_LEVEL_VOXDELAY|RIG_LEVEL_VOXGAIN|RIG_LEVEL_BKIN_DLYMS| \
RIG_LEVEL_METER|RIG_LEVEL_SWR|RIG_LEVEL_COMP_METER|RIG_LEVEL_ALC|RIG_LEVEL_RFPOWER_METER|RIG_LEVEL_SLOPE_HIGH|RIG_LEVEL_SLOPE_LOW) RIG_LEVEL_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_FUNC_BC|RIG_FUNC_BC2|RIG_FUNC_RIT|RIG_FUNC_XIT| \ #define TS2000_FUNC_ALL (RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_NR|RIG_FUNC_NR|RIG_FUNC_BC|RIG_FUNC_BC2|RIG_FUNC_RIT|RIG_FUNC_XIT| \
RIG_FUNC_TUNER|RIG_FUNC_MON|RIG_FUNC_FBKIN|RIG_FUNC_LOCK|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_ANF) RIG_FUNC_TUNER|RIG_FUNC_MON|RIG_FUNC_FBKIN|RIG_FUNC_LOCK|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_ANF)
@ -1939,7 +1944,7 @@ struct rig_caps sdrconsole_caps =
RIG_MODEL(RIG_MODEL_SDRCONSOLE), RIG_MODEL(RIG_MODEL_SDRCONSOLE),
.model_name = "SDRConsole", .model_name = "SDRConsole",
.mfg_name = "SDR Radio", .mfg_name = "SDR Radio",
.version = BACKEND_VER ".2", .version = BACKEND_VER ".3",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_STABLE, .status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,
@ -2142,46 +2147,46 @@ struct rig_caps sdrconsole_caps =
.rig_cleanup = kenwood_cleanup, .rig_cleanup = kenwood_cleanup,
.set_freq = kenwood_set_freq, .set_freq = kenwood_set_freq,
.get_freq = kenwood_get_freq, .get_freq = kenwood_get_freq,
.set_rit = ts2000_set_rit, //.set_rit = ts2000_set_rit,
.get_rit = ts2000_get_rit, //.get_rit = ts2000_get_rit,
.set_xit = ts2000_set_rit, //.set_xit = ts2000_set_rit,
.get_xit = ts2000_get_rit, //.get_xit = ts2000_get_rit,
.set_mode = kenwood_set_mode, .set_mode = kenwood_set_mode,
.get_mode = kenwood_get_mode, .get_mode = kenwood_get_mode,
.set_vfo = kenwood_set_vfo, .set_vfo = kenwood_set_vfo,
.get_vfo = kenwood_get_vfo_if, .get_vfo = kenwood_get_vfo_if,
.set_split_vfo = kenwood_set_split_vfo, .set_split_vfo = kenwood_set_split_vfo,
.get_split_vfo = kenwood_get_split_vfo_if, .get_split_vfo = kenwood_get_split_vfo_if,
.set_ctcss_tone = kenwood_set_ctcss_tone_tn, //.set_ctcss_tone = kenwood_set_ctcss_tone_tn,
.get_ctcss_tone = kenwood_get_ctcss_tone, //.get_ctcss_tone = kenwood_get_ctcss_tone,
.set_ctcss_sql = kenwood_set_ctcss_sql, //.set_ctcss_sql = kenwood_set_ctcss_sql,
.get_ctcss_sql = kenwood_get_ctcss_sql, //.get_ctcss_sql = kenwood_get_ctcss_sql,
.get_ptt = kenwood_get_ptt, .get_ptt = kenwood_get_ptt,
.set_ptt = kenwood_set_ptt, .set_ptt = kenwood_set_ptt,
.get_dcd = kenwood_get_dcd, //.get_dcd = kenwood_get_dcd,
.set_func = ts2000_set_func, //.set_func = ts2000_set_func,
.get_func = ts2000_get_func, //.get_func = ts2000_get_func,
.set_level = ts2000_set_level, .set_level = ts2000_set_level,
.get_level = ts2000_get_level, .get_level = ts2000_get_level,
.set_ext_func = ts2000_set_ext_func, //.set_ext_func = ts2000_set_ext_func,
.get_ext_func = ts2000_get_ext_func, //.get_ext_func = ts2000_get_ext_func,
.set_ext_level = ts2000_set_ext_level, //.set_ext_level = ts2000_set_ext_level,
.get_ext_level = ts2000_get_ext_level, //.get_ext_level = ts2000_get_ext_level,
.set_ant = kenwood_set_ant, //.set_ant = kenwood_set_ant,
.get_ant = kenwood_get_ant, //.get_ant = kenwood_get_ant,
.send_morse = kenwood_send_morse, //.send_morse = kenwood_send_morse,
.wait_morse = rig_wait_morse, //.wait_morse = rig_wait_morse,
.send_voice_mem = kenwood_send_voice_mem, //.send_voice_mem = kenwood_send_voice_mem,
.stop_voice_mem = kenwood_stop_voice_mem, //.stop_voice_mem = kenwood_stop_voice_mem,
.vfo_op = kenwood_vfo_op, //.vfo_op = kenwood_vfo_op,
.scan = kenwood_scan, //.scan = kenwood_scan,
.set_mem = kenwood_set_mem, //.set_mem = kenwood_set_mem,
.get_mem = kenwood_get_mem, //.get_mem = kenwood_get_mem,
.get_channel = ts2000_get_channel, //.get_channel = ts2000_get_channel,
.set_channel = ts2000_set_channel, //.set_channel = ts2000_set_channel,
.set_trn = kenwood_set_trn, //.set_trn = kenwood_set_trn,
.get_trn = kenwood_get_trn, //.get_trn = kenwood_get_trn,
.set_powerstat = kenwood_set_powerstat, //.set_powerstat = kenwood_set_powerstat,
.get_powerstat = kenwood_get_powerstat, .get_powerstat = kenwood_get_powerstat,
.get_info = kenwood_get_info, .get_info = kenwood_get_info,
.reset = kenwood_reset, .reset = kenwood_reset,