Commit Graph

851 Commits

Author SHA1 Message Date
Mike Black W9MDB
64a119367d Add RIG_OP_TUNE to Elecraft KX2 K3 KX3 K4 2024-05-11 07:52:11 -05:00
Christoph Nadig
8221961de2
Fix for setting power on Elecraft TRXs
(currently the power set is off by a factor of 10 if no PA is attached).
I also included a change to k3_max_power to take the current band into
account again. These values have changed in firmware upgrades in the
past but have been stable for quite a while now, so I think they should
be considered again.

Best Regards,
Chris, HB9ZHK
2024-05-08 15:56:56 -05:00
Mike Black W9MDB
fadf83a42c Update kenwood.h version 2024-05-05 17:28:29 -05:00
Mike Black W9MDB
c2b8f2b4fe Improve SDRCONSOLE behavior 2024-05-05 16:03:50 -05:00
Mike Black W9MDB
331143fa17 Change TS890 to use SF command for mode get/set 2024-04-13 22:50:38 -05:00
Mike Black W9MDB
a6ad5f0928 Fix TS890 set_vfo in set_mode 2024-04-13 15:23:53 -05:00
Mike Black W9MDB
b42aa75dd8 astyle kenwood.c 2024-04-13 07:36:02 -05:00
Mike Black W9MDB
6cfdb9d4ed Fix TS890 set_mode 2024-04-13 06:44:18 -05:00
Mike Black W9MDB
0ba199448b Make TS890S behave like TS990S for mode on VFOB 2024-04-09 17:14:48 -05:00
George Baltz N3GB
2d0b8b807d Pointerize all state references in rigs/kenwood/* 2024-03-26 02:08:33 -04:00
George Baltz N3GB
4b436479d1 More pointers to state 2024-03-26 02:08:33 -04:00
Cedric DJ3CE
7a7b52b89c Add SWR get_level to K3 (KX3, KX2)
Capabilities, level_gran and k3_get_level
2024-03-25 01:49:02 +01:00
Mike Black W9MDB
f51e7ef760 Add SDRConsole rig entry since TS-2000 is now hardware flow control by default 2024-03-23 08:46:56 -05:00
Mike Black W9MDB
9331f9e5f4 Fix TS890S to not give an error for STRENGTH or WATTS but return 0 as appropriate 2024-03-19 16:19:52 -05:00
Mike Black W9MDB
1de9a5cede Fix compile warning on rig_debug messages
https://github.com/Hamlib/Hamlib/issues/1525
2024-03-17 09:01:58 -05:00
George Baltz N3GB
aa0d83df95 Use pointers for all cache references in rigs/* 2024-03-09 14:25:59 -05:00
Mike Black W9MDB
83f5655a9f Fix PKTAM in kenwood.c
https://github.com/Hamlib/Hamlib/issues/1502
2024-02-24 06:51:32 -06:00
Mike Black W9MDB
1b2f6a84f7 Add USB-D1/D2/D3 LSB-D1/D2/D3 to new modes and Flrig
https://github.com/Hamlib/Hamlib/issues/1502
2024-02-23 12:27:55 -06:00
Mike Black W9MDB
5d83ac767b Update SDRUno information 2024-02-15 09:08:42 -06:00
Mike Black W9MDB
c471884122 Fix TS590 and TS890 RIG_LEVEL_RFPOWER_METER_WATTS 2024-02-14 16:35:34 -06:00
Mike Black W9MDB
e1f2342982 Promote all BETA to STABLE
Promot all ALPHA to BETA
2024-02-14 07:11:20 -06:00
Mike Black W9MDB
972d792a4f Round watt values to whole number >= 10 and 1 decimal place < 10 2024-02-13 16:39:59 -06:00
George Baltz N3GB
59aaf1f4c3 Minor cleanup of ts890.c
Simplify out-of-range check
Mute possible cppcheck squawk
Round power to whole watts
2024-02-13 13:11:24 -05:00
Mike Black W9MDB
ade62105a3 Don't set bandwidth on TS590 when RIG_PASSBAND_NOCHANGE is the width
https://github.com/Hamlib/Hamlib/issues/1505
2024-02-03 11:05:12 -06:00
George Baltz N3GB
4ef5bd4142 Add calibration table for TS-890S RFPOWER_METER_WATTS
Make sure we only get RFPOWER_WATTS during xmit, and STRENGTH during receive; else return -RIG_ENAVAIL.
2024-02-01 17:34:47 -05:00
George Baltz N3GB
35e49ffdfc Make simulator match the Real World(TM)
Add missing P4
Repair RIG_LEVEL_STRENGTH
2024-01-31 12:37:14 -05:00
Mike Black W9MDB
4fe6ea7cc4 Remove unused variables 2024-01-31 10:32:00 -06:00
Mike Black W9MDB
fff1bbc8cd Add RFPOWER_METER_WATTS to TS890
https://github.com/Hamlib/Hamlib/issues/1497
2024-01-31 10:29:46 -06:00
Warren Volz
1ea95c94ee flex6xxx add ability to set rfpower level 2024-01-29 23:22:47 -07:00
Warren Volz
9f6ca84572 flex6xxx add rfpower level 2024-01-29 16:37:58 -07:00
George Baltz N3GB
0145588fd9 Drat. Fix more copy/paste SNAFUs 2024-01-23 12:40:49 -05:00
George Baltz N3GB
75079d40a8 Add remaining rigs, matching old behavior.
Fix copy/paste foulup.
2024-01-23 09:55:35 -05:00
George Baltz N3GB
5ad803d90c Add funcs to set/clear TONE/CTCSS modes for TS-890S 2024-01-23 09:55:35 -05:00
George Baltz N3GB
e42bb719b9 Fix off by one error in tones for TS-590/890/990
Fix some rigs I found docs for - more needed
2024-01-23 09:55:35 -05:00
George Baltz N3GB
a703c77c2d Implement ctcss tone for TS-890S. 2024-01-23 09:55:35 -05:00
Mike Black W9MDB
05033171c3 Change token_t to hamlib_token_t to avoid collsions with libbsm and others
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
George Baltz N3GB
e178a984ca Add cache to the MACRO/porting list
Update comments
And port my favorite PoC target, rigs/kenwood/kenwood.c
2024-01-14 18:13:05 -05:00
Mike Black W9MDB
11b5da8782 Fix RIG_MODEL in tmd710.c 2024-01-13 17:38:23 -06:00
Michael Black
2646f0fd3a
Merge pull request #1455 from GeoBaltz/rp
Basic definitions and first steps for making port tables addressed by pointers
2024-01-13 08:09:34 -06:00
Mike Black W9MDB
47062cf812 Fix mingw compile warning on ts590.c 2024-01-10 09:45:40 -06:00
Mike Black W9MDB
5e59a555d8 Fix TS590 get/set_mode for bandwiths for all and FM mode which doesn't map well for this
https://github.com/Hamlib/Hamlib/issues/1472
2024-01-09 12:49:44 -06:00
Mike Black W9MDB
21c14da270 Add DL2MAN (tr)uSDX rig
Copy of TS480 for starters and needs refinement
2024-01-07 22:38:52 -06:00
Mike Black W9MDB
e9e43e23da Remove readonly references to caps structure since it is R/W now 2024-01-07 11:55:20 -06:00
Mike Black W9MDB
2eefb14137 Fix LVL granulatiry in ts590.c again 2024-01-05 16:34:03 -06:00
Mike Black W9MDB
890d1a69aa Fix granularity in ts590.c 2024-01-05 16:26:45 -06:00
Mike Black W9MDB
47f92eb5f7 Improved Kenwood USB_AF and USB_AF_INPUT level to make it more symmetrical
Values can now be enter in signal digits .1 .2 .3 .4 .5 .6 .7 .8, .9 and higher is max value
2024-01-04 12:25:38 -06:00
Mike Black W9MDB
a4fa021848 Update kenwood.c for THETIS 2023-12-27 11:58:40 -06:00
Mike Black W9MDB
da478d6e74 Add THETIS to flex.c 2023-12-26 22:46:38 -06:00
Mike Black W9MDB
02a6c80800 Fix RIG_IS_THETIS in kenwood.c to match RIG_IS_POWERSDR 2023-12-26 22:36:55 -06:00
Mike Black W9MDB
c3d489cca3 Update Thetis entry for correct display in WSJT-X 2023-12-22 09:15:22 -06:00
Mike Black W9MDB
70c35791ce Add rig entry for Thetis 2023-12-22 07:51:48 -06:00
Michael Black
74062c6aba
Merge branch 'master' into master 2023-12-21 07:53:27 -06:00
davidg
3061d5e208 Add number of CW and Voice memories to supporting Icom, Yaesu, Kenwood and Elecraft Radios. Added added .chanlist to TS890S 2023-12-20 21:26:57 +00:00
George Baltz N3GB
9af715d244 Convert the remaining files in rigs/kenwood/ 2023-12-19 18:58:37 -05:00
George Baltz N3GB
b38014832f More Kenwood rigs ported to new access macros. 2023-12-19 18:58:37 -05:00
George Baltz N3GB
9c7a21282c Add basic support for transparent access to port structures.
Define macros for internal access to port data.
Port rigs/kenwood/kenwood.c to use new access as PoC

Part 1 of issue #1445
2023-12-19 18:58:37 -05:00
Mike Black W9MDB
50711dcfb8 Remove dead code in flex6xxx.c 2023-12-16 15:03:21 -06:00
Mike Black W9MDB
11876d7cc4 Fix ptt shadow in flex6xxx.c 2023-12-16 15:02:01 -06:00
Mike Black W9MDB
e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB
5dc55ff9e1 Fix some double entries 2023-12-12 12:11:31 -06:00
Mike Black W9MDB
ea823e911c Add RIG_LEVEL_RFPOWER_METER_WATTS to TS590 2023-12-08 23:35:58 -06:00
Mike Black W9MDB
9841e500b9 Fix ptt_share segmentation fault
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mike Black W9MDB
723b835fdd Remove bogus set_level in ts590.c for ALC,SWR,COMP 2023-11-14 06:48:41 -06:00
George Baltz N3GB
176c49240d Use general meter reader to get SWR value for TS-990. 2023-11-13 13:24:52 -05:00
George Baltz N3GB
e05b79acd3 Move meter reader to kenwood.c, so it can be used by ts990.c 2023-11-13 12:47:18 -05:00
Mike Black W9MDB
e7786cee4c Fix TS990S SWR read -- strange behavior of RM command reading first RM turned on for read
New SWR table too for TS990S
https://github.com/Hamlib/Hamlib/issues/1423
2023-11-12 13:22:02 -06:00
Mike Black W9MDB
5059ec8cd6 Add SWR for TS990
https://github.com/Hamlib/Hamlib/issues/1423
2023-11-10 10:55:31 -06:00
Mike Black W9MDB
f1a9823bdd Move swr from rig_cache to priv value until we get rig_cache fixed to be expandable
https://github.com/Hamlib/Hamlib/issues/1419
2023-11-08 08:05:56 -06:00
Mike Black W9MDB
62341a657e Only allow SWR read when ptt is on for PowerSDR
https://github.com/Hamlib/Hamlib/issues/1417
2023-11-07 16:05:27 -06:00
Mike Black W9MDB
02b4da83c3 Fix PowerSDR swr reading -- then we can fix FLRig's read too
https://github.com/Hamlib/Hamlib/issues/1417
2023-11-07 16:00:31 -06:00
Mike Black W9MDB
1e3e1a9499 Only do swr and power for PowerSDR then ptt is active 2023-11-05 16:53:53 -06:00
Mike Black W9MDB
337fb0f3e5 Add SWR reading for PowerSDR/Thetis 2023-11-05 16:45:15 -06:00
Mike Black W9MDB
6cb17e49dc Add post_ptt_delay for situations where more time is needed for external relay operations
Detect Doppler frequency changes for Kenwood rigs and avoid querying frequency...just set it...to provide stable timing
https://github.com/Hamlib/Hamlib/issues/1412
2023-10-31 17:34:31 -05:00
Mike Black W9MDB
1d57136d69 Fix TS590 USB_AF and USB_AF_INPUT maximum level
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-25 15:18:33 -05:00
Mike Black W9MDB
d396623486 Fix compile warning with kenwood.c 2023-10-25 11:15:49 -05:00
Mike Black W9MDB
192822417b Fix segfault for Kenwood L MICGAIN
Fix potential segfault in iofunc.c when stopset is null
2023-10-23 09:33:32 -05:00
Mike Black W9MDB
fb49c0cf70 Remove bad RIG_LEVEL_USB* items 2023-10-21 16:05:16 -05:00
Mike Black W9MDB
bdeb433d04 Fix level print in kenwood.c for portability 2023-10-21 12:44:16 -05:00
George Baltz N3GB
a1baf7307d Implement RIG_LEVEL_USB_AF[_INPUT] for TS-890S
+ some cleanup.
2023-10-21 10:44:16 -04:00
Mike Black W9MDB
c74fc74e9e Fix TS590 get level USB_AF and USB_AF_INPUT 2023-10-20 17:02:08 -05:00
Mike Black W9MDB
b6ffeeda99 Fix stupid mistake on ts590.c 2023-10-20 16:39:30 -05:00
Mike Black W9MDB
f697f71205 Fix USB_AF USB_AF_INPUT for TS590SG 2023-10-20 16:33:45 -05:00
Mike Black W9MDB
ff2c0e6b03 Fix USB_AF and USB_AF_INPUT for TS590
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-20 09:35:03 -05:00
Mike Black W9MDB
f5f8694a70 Add RIG_LEVEL_USB_AF_INPUT
Add RIG_LEVEL_USB_AF and RIG_LEVEL_USB_AF_INPUT to ts590.c
More rigs to be updated for this
2023-10-18 16:47:29 -05:00
Mike Black W9MDB
534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB
d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00
Mike Black W9MDB
d3edab3759 Fix cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-08 17:16:10 -05:00
Mike Black W9MDB
3b5f7a6dcf Add and fix some cppcheck suppress items
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
Mike Black W9MDB
5ac1e50b80 Fix always true conditions found by cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-02 23:10:58 -05:00
Mike Black W9MDB
0484dc08c8 Fix prints/scanf argument mismatches idenfitied by cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 18:01:27 -05:00
Mike Black W9MDB
18d016a2a2 Fix th.c logic error discovered by cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 17:42:45 -05:00
Mike Black W9MDB
18e122196f Fix shadow variable warnings from cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 17:38:13 -05:00
Mike Black W9MDB
71f8b3b8c9 Fix always false cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 17:26:51 -05:00
Mike Black W9MDB
53855c868d Fix remaining cppcheck redundant warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 08:24:06 -05:00
Mike Black W9MDB
6e8d328fb1 Fix most of the redundant warning from cppcheck 2023-09-30 23:42:22 -05:00
Mike Black W9MDB
4d540b1459 Fix scope reductions from cppcheck 2023-09-30 22:50:16 -05:00
Mike Black W9MDB
6b4cc5b36b Fix stop_voice_mem for some kenwood rigs 2023-09-26 08:14:50 -05:00
Mike Black W9MDB
6f3a9831c3 Add voice to TS480 2023-09-25 16:44:52 -05:00
Mike Black W9MDB
5e4cb6f1c1 Add voice_mem functions for TS590S/SG and TS-2000
Increase max baud for TS-2000 to 115200
Change TS-2000 to hardware handshake default
2023-09-25 15:15:45 -05:00
Mike Black W9MDB
da9199577e Add voice_mem commands for TS990S 2023-09-17 16:26:50 -05:00