Commit Graph

753 Commits

Author SHA1 Message Date
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
Mike Black W9MDB
5115fa8959 Fix Kenwood PB command to stop last requested voice channel started
https://github.com/Hamlib/Hamlib/issues/1385
2023-09-16 09:36:00 -05:00
Mike Black W9MDB
8a4767db17 Add kenwood_stop_voice and fix TS890S send_voice 2023-09-14 17:29:20 -05:00
Mike Black W9MDB
256766c5b6 Fix Elecraft K3 RVF fail to just warn and not quit 2023-09-08 16:54:15 -05:00
Mike Black W9MDB
8ebadb3b7d Get more firmware info for Elecraft K3 2023-09-07 12:01:18 -05:00
Mike Black W9MDB
c1f24b2f7a Fix TS2000 SA command 2023-08-25 15:36:12 -05:00
Mike Black W9MDB
46c0649b23 Fix spacing in k3/k4_stop_morse
https://github.com/Hamlib/Hamlib/issues/1366
2023-08-21 16:33:53 -05:00
Mike Black W9MDB
453a8cc94f Fix K3/K4 stop_morse
https://github.com/Hamlib/Hamlib/issues/1366
2023-08-21 15:10:41 -05:00
Mike Black W9MDB
194906b290 For QRPLabs ignore the IF return length as the differenet models can't agree on the length.
QMX adds an extra space on the end with firmware 1_00_09
https://github.com/Hamlib/Hamlib/issues/1372
2023-08-21 10:13:26 -05:00
Mike Black W9MDB
1b0f0ec422 Fix K3 stop_morse RPRT return
https://github.com/Hamlib/Hamlib/issues/1365
2023-08-19 15:35:54 -05:00
Mike Black W9MDB
b40da0f6b0 Increase send_morse size to use maximum for rigs or 20 chars (if morse_qsize unknown)
This will still allow for up to 1023 characater to queue up.
No guarantees on which rigs allow for this queuing though.
Kenwood rigs can at least find the buffer status to wait for room but not all rigs do.
https://github.com/Hamlib/Hamlib/issues/1368
2023-08-19 12:36:07 -05:00
Mike Black W9MDB
424e8cc04a Reduce KY wait time in kenwood.s to 50ms instead of 500ms
https://github.com/Hamlib/Hamlib/issues/1366
2023-08-19 11:22:31 -05:00
Mike Black W9MDB
3492be2562 Fix compile warning in flex6xxx.c 2023-08-19 08:29:05 -05:00
Mike Black W9MDB
d57e4ae185 Improve Kenwood send_morse speed 2023-08-18 17:36:19 -05:00
Mike Black W9MDB
3318766a7c Add stop_morse to elecraft rigs
https://github.com/Hamlib/Hamlib/issues/1366
2023-08-18 16:54:19 -05:00
Mike Black W9MDB
3814f2dadf Add set_voice_mem and stop_voice_mem for K3/K3S/K4
https://github.com/Hamlib/Hamlib/issues/1367
2023-08-18 16:49:35 -05:00
Mike Black W9MDB
aa338afa1a Fix parm_gran for Kenwood
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 17:12:33 -05:00
Mike Black W9MDB
fb3d83a19a Add BANDSELECT to PowerSDR
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 17:50:42 -05:00
Mike Black W9MDB
6c89f0045f Fix cppcheck warning 2023-08-02 22:24:05 -05:00
Mike Black W9MDB
d5828f65ff Fix cppcheck style 2023-08-02 22:22:13 -05:00
George Baltz N3GB
b2ea9da61c Enable level_gran[] checking for all calls to kenwood_set_level.
Part of issue #1144
2023-07-10 15:39:41 -04:00
George Baltz N3GB
649f09449a Yet more missing level defs. 2023-07-10 15:39:41 -04:00
George Baltz N3GB
34fd238291 Still more level_gran data. 2023-07-10 15:39:41 -04:00
George Baltz N3GB
14cb2304b0 Use level_gran[] values in kenwood_get_level. 2023-07-10 15:39:41 -04:00
Mike Black W9MDB
25ad13cea9 Add BG2FX FC4/C/CR/L 2023-06-28 12:48:30 -05:00
Mike Black W9MDB
2728d47a60 For TS-2000 turn off VOX before TX 2023-06-27 06:55:16 -05:00
Mike Black W9MDB
4bd904502b Fix TS2000 RIG_VFO_C errors 2023-06-26 23:16:48 -05:00
Mike Black W9MDB
b158b224ab Fix TS-2000 set_ptt
https://github.com/Hamlib/Hamlib/issues/1321
2023-06-26 23:07:40 -05:00
Mike Black W9MDB
fcef98e60d Improve Malachine band change time a bit 2023-06-23 23:38:44 -05:00
Mike Black W9MDB
788db91e2f Change Malachite post_write_delay to 250ms based on user testing on Linux & Windows 2023-06-09 12:38:45 -05:00
Mike Black W9MDB
163d10651b Add stop_morse and wait_morse to PowerSDR 2023-06-09 09:07:36 -05:00
Mike Black W9MDB
c4f635ab5d Add send_morse to PowerSDR 2023-06-08 23:42:21 -05:00
Mike Black W9MDB
224d68d1ac Speed up Malachite normal operations with 125ms post write requirement instead of 400ms
400ms needs for band changes on Malachite
Fix BUILTINFUNC calls to compile correctly -- this is for debugging only
2023-06-08 17:34:39 -05:00
Mike Black W9MDB
9bec3fad4f Hopefully speed up Malachite on get commands by temporarily changin post_write_delay to 400ms 2023-06-07 17:36:19 -05:00
Mike Black W9MDB
138060d4d9 Fix flex6xxx ZZAR command 2023-06-06 14:17:48 -05:00
Mike Black W9MDB
bc50d9c273 +04d actaully kicks out 3-digits and not 4 -- the + is included in the width value
Revert "Fix PowerSDR ZZAR command format -- may need another fix for SmartSDR format to be different"

This reverts commit 1e5563909d.
2023-06-06 10:16:21 -05:00
Mike Black W9MDB
1e5563909d Fix PowerSDR ZZAR command format -- may need another fix for SmartSDR format to be different 2023-06-06 10:09:32 -05:00
Michael Black
f01a165ec7
Merge pull request #1302 from mikaelnousiainen/power-status-bug-fixes
Power status bug fixes
2023-05-26 10:47:35 -05:00
George Baltz N3GB
b6fe91504f Avoid NULL dereference in debug statement. 2023-05-23 13:14:28 -04:00
Mikael Nousiainen
9e1adcfdb8 Merge master and fix conflicts 2023-05-21 23:11:26 +03:00
Mikael Nousiainen
cce66d3257 Fix power on/off bugs: rig_open() should succeed even if rig is powered off, auto power-on should not be automatically enabled (prevents turning rig off), fix Kenwood and Yaesu power on/off sequences for all rigs 2023-05-21 23:01:03 +03:00
Mike Black W9MDB
4832cc1bb2 Improve kenwood.c debug a little bit to reduce confusion
https://github.com/Hamlib/Hamlib/issues/1298
2023-05-21 08:15:47 -05:00
George Baltz N3GB
14dbe41e76 Add Elecraft defaults to makefile. 2023-05-20 13:30:40 -04:00
George Baltz N3GB
d3c2ebcc1f Round 4 of level_gran updates.
Fill in more holes.  This should cover the Kenwood and Elecraft rigs,
with most of the callers of kenwood_set_level vetted.  Also fills in
some other data in rig->caps.

Still looking for a way to (programatically) verify that AGC data is
checked and processed correctly.
2023-05-20 11:13:16 -04:00
George Baltz N3GB
3029260582 Add default level values for Elecraft rigs.
Add limits for 0.0-1.0 float values.
2023-05-20 11:13:16 -04:00
George Baltz N3GB
7a69042876 Enable full level checking for TS-890S.
Turn on checking against level_gran on the TS-890S,
so I can eat my own dog food.
2023-05-20 11:13:16 -04:00
George Baltz N3GB
ea37ad1b21 Remove hard-coded constants.
Use more data already in rig->caps instead of hard coding values.
2023-05-20 11:13:16 -04:00
George Baltz N3GB
05f04730d7 Round 3 of level_gran updates. 2023-05-20 11:13:16 -04:00
Mike Black W9MDB
67344a66a7 Fix TS590 SH/SL command expected length 2023-05-19 16:32:26 -05:00
Mike Black W9MDB
a9d098bab3 Add send_voice_mem to kenwood.c and TS890 2023-05-17 22:41:29 -05:00
Mike Black W9MDB
eff6f2d554 Fix TS590 vfo test to ensure correct A/B when CURR/TX/RX is used
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-15 07:45:38 -05:00
Mike Black W9MDB
05ab130f91 Add width/shift debug to ts590.c
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 12:50:49 -05:00
Mike Black W9MDB
6651345065 Add SF command for TS-590S/SG
Still need to add bandwidth get/set
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 11:06:22 -05:00
Mike Black W9MDB
dad55ef148 astyle files getting ready for WSJT-x-2.7.0rc1 2023-05-08 07:37:13 -05:00
Mike Black W9MDB
5a079e03a4 Restore elecraft extended K2 cmd set to startup value 2023-04-30 09:52:24 -05:00
Mikael Nousiainen
1a59ce2ae2 Fix and extend TS-590(S/SG) backend 2023-04-15 00:25:29 +03:00
Nick Craig-Wood
2c283ab47a Fix QRP Labs QCX Morse Sending
Before this fix, hamlib used the TS480 protocol for sending morse
which adds a lot of spaces on the end.

The QCX actually uses the Elecraft morse sending protocol so switch it
over to using that.

Tested with QCX Mini firmware v1.09a
2023-04-09 14:00:25 +01:00
Daniele Forsi IU5HKX
2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX
8e24746a3e Fix typos 2023-03-19 22:20:28 +01:00
Mike Black W9MDB
113cad3ee1 For K3 prevent ID; command from K22; command
Remote ops was having a problem with K22;
https://github.com/Hamlib/Hamlib/issues/1254
2023-03-18 23:40:45 -05:00
Mike Black W9MDB
fd473062d1 astyle kenwood.c 2023-03-18 15:21:30 -05:00
Mikael Nousiainen
ec0645780c Fix Kenwood TS-2000 bugs and implement essential commands for remote control 2023-03-07 10:38:20 +02:00
Mike Black W9MDB
d06244c47f Re-enable set/get mem for xg3 2023-03-05 17:03:29 -06:00
Mike Black W9MDB
eb5767c0ca Align xg3 with kenwood_priv and remove set/get mem for xg3 for now 2023-03-05 13:19:43 -06:00
Mike Black W9MDB
e428d824cd Fix xg3 set_freq 2023-03-05 13:12:33 -06:00
George Baltz N3GB
07fc69f3e8 Enable first user of check_level_param
Use check_level_param for all RIG_LEVEL_CWPITCH sets for Kenwood rigs.
Note that the placement of the call is temporary; eventually it should
be moved outside the main switch statement, and invoked for all set_levels.
2023-02-26 13:12:52 -05:00
George Baltz N3GB
a9b9154a2d Round 2. 2023-02-26 13:12:52 -05:00
George Baltz N3GB
00e2797c6f First round of level_gran additions.
Issue: #1144
2023-02-26 13:12:52 -05:00
George Baltz N3GB
bc476a1c94 ATTenuator level 0 should always be allowed - to turn it off. 2023-02-26 13:12:52 -05:00
George Baltz N3GB
f5a1dabd06 Add missing level definitions for TS-590SG 2023-02-26 13:12:52 -05:00
Mike Black W9MDB
a9cb121584 Add stop_morse for some Kenwood rigs 2023-02-25 22:11:11 -06:00
Mike Black W9MDB
717dae5027 Fix potential segfault in cmdstr check in kenwood.c 2023-02-21 11:44:12 -06:00
Mike Black W9MDB
514d87dcc9 astyle kenwood.c 2023-02-19 17:01:42 -06:00
Mike Black W9MDB
10ac497c0b Improve response of ;;;;PS1; command 2023-02-19 16:56:51 -06:00
Daniele Forsi IU5HKX
52be0797d8 [rigs/*] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
420125b8bc [kenwood] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
5c17054295 [kenwood] Remove unused include of config.h 2023-02-14 19:29:22 +01:00
Mike Black W9MDB
f9adf5de0a Add attenuator level control for TS890
Update SMeter/SWR tables for TS890
Thanks to N3GB George Baltz
2023-02-08 12:02:19 -06:00
Mike Black W9MDB
907a178aa6 Some fixes for th.c operation
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-06 16:01:08 -06:00
Mike Black W9MDB
73fc563ceb Add fix for TMD700
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-06 15:58:18 -06:00
Mike Black W9MDB
0e9bdc5d04 Fix spelling error in kenwood.c 2023-02-04 17:08:31 -06:00
Mike Black W9MDB
fa503c5b3b Change TM-D700 and TM-D710 to hardware flow control
https://github.com/Hamlib/Hamlib/issues/1228
2023-02-01 22:19:02 -06:00
Mike Black W9MDB
d645bae207 Ensure K4 is in K40 mode when requesting ID 2023-02-01 16:50:10 -06:00
Mike Black W9MDB
1e353191bc Make Kenwood rigs wake up serial port on PS command
Failing get_powerstat will now return RIG_OK
https://github.com/Hamlib/Hamlib/issues/1226
2023-01-26 08:35:45 -06:00
Mike Black W9MDB
eb049ab92d Add dummy bytes to kenwood PS; command
https://github.com/Hamlib/Hamlib/issues/1226
2023-01-25 22:18:45 -06:00
Mike Black W9MDB
3fd698d063 Change QRP QRDX PTT to use TQ instead TX...more incompability with TS-480 standard 2023-01-24 11:22:19 -06:00
Mike Black W9MDB
52bed765ef Clean up rig power on/off sequencing for Kenwood/Elecraft rigs
Note that the K3/K3S cannot power on via CAT control
https://github.com/Hamlib/Hamlib/issues/1225
2023-01-22 23:41:21 -06:00
Mike Black W9MDB
9626894029 Fix K3/K3S VFOB mode/bandwidth setting
https://github.com/Hamlib/Hamlib/issues/1224
2023-01-22 16:45:22 -06:00
Mike Black W9MDB
c3ff7e134f Add TS-2000 to has_ps exceptions
https://github.com/Hamlib/Hamlib/issues/1213
2023-01-15 12:41:01 -06:00
Mike Black W9MDB
00dce998ae Fix Elecraft power2mW precision/accuracy
Should fix any others too
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-09 23:26:15 -06:00
Mike Black W9MDB
d2ef9d5eda Fix get_powerstat status return to always show POWER_ON for kenwood non-PS rigs
https://github.com/Hamlib/Hamlib/issues/1213
2023-01-09 10:28:43 -06:00
Mike Black W9MDB
7978d74750 Force K22 mode on Elecraft rigs to get PC power level in .1W intervals for low power operations
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-07 11:46:56 -06:00
Mike Black W9MDB
eb904148b5 Fix elecraft power2mW by scaling power to either 15W or 100W based on KPA availability
We are ignoring the tx_range values for the Kn series
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-06 23:31:18 -06:00
Mike Black W9MDB
582686505c TS-890S query rig to find out which meter type the operator has selected
Thanks to N3GB George Baltz
2023-01-01 16:40:19 -06:00
Mike Black W9MDB
712564a2ae Revert "TS-890S query rig to find out which meter type the operator has selected"
Committed a bit too much
This reverts commit 2fc1d157ba.
2023-01-01 16:39:25 -06:00
Mike Black W9MDB
2fc1d157ba TS-890S query rig to find out which meter type the operator has selected
Thanks to N3GB George Baltz
2023-01-01 16:33:46 -06:00
Mike Black W9MDB
64c566cd14 Add QRPLabs QCX/QDX for better behavior/capability from ts480 entry 2022-12-30 16:04:39 -06:00
Mike Black W9MDB
f67a53c41c Allow for 36 and 37 byte IF lengths for ic10.c
This should fix QRP QRDX buggy IF message -- hopefully the fix theirs to send 33 bytes.
https://github.com/Hamlib/Hamlib/issues/1196#issuecomment-1367473810
2022-12-29 11:36:50 -06:00
Mike Black W9MDB
b153bcd1e5 Change TX-500 to only have 9600 baud available
https://github.com/Hamlib/Hamlib/issues/1188
2022-12-20 08:29:12 -06:00