Bill Somerville
281febec62
New power on option rather than power on/off
...
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville
3f40029720
Add missing config parameters for rig power on/off and screen-saver
...
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Bill Somerville
3d852c433e
Less ambiguous variable name and repair merge issue in prior commit
2020-07-04 15:27:07 +01:00
Bill Somerville
06d130371c
Updates to the TH-D7A/E back end
...
Allow for these rigs echo of successful set commands, no command
verification is requires nor necessary with TH style rigs.
Change rig_open to not use teh IF command with TH style rigs as it is
not supported and breaks communications for the next command.
Send the correct command to disable auto-information mode on TH style
rigs.
Ensure the correct command terminator is sent with all commands to TH
style rigs.
Fix an issue with MEM mode selection in the TH-D7.
Use the correct DCD detection command for the TH-D7.
2020-07-04 13:00:31 +01:00
Michael Black W9MDB
bd1085af20
Change timeout length on kenwood startup when com not responding to approx 10 seconds
...
https://github.com/Hamlib/Hamlib/issues/311
2020-06-24 23:34:13 -05:00
Michael Black W9MDB
b6a960d48e
All conversions to rig_flush now done
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
Michael Black W9MDB
d95bcccc94
Add newer Set 2 RIT command to appropriate kenwood rigs
2020-06-21 15:44:01 -05:00
Michael Black W9MDB
9dc12e8b63
astyle kenwood.c
2020-06-21 14:47:22 -05:00
Michael Black W9MDB
83521b2694
Fix kenwood set_rit for negative values
2020-06-21 14:43:33 -05:00
Michael Black W9MDB
fe8decf475
Fix kenwood get_xit to correct status bit
2020-06-21 14:32:07 -05:00
Michael Black W9MDB
9033eb733a
Add RIT to get_func for kenwood.c
2020-06-19 17:46:14 -05:00
Michael Black W9MDB
e6a5e4ca31
Only update kenwood.c IF cache when RIG_OK
2020-06-17 10:47:50 -05:00
Michael Black W9MDB
779cd69287
Fix kenwood AG command to use vfo+level format instead of just level
...
Some rigs say 0 is the default and need to find out if 1 causes an error
If it does we need to have rig exceptions -- hopefully it's ignored
https://github.com/Hamlib/Hamlib/issues/304
2020-06-15 09:45:58 -05:00
Michael Black W9MDB
362fa77cfd
Move poweron set outside of check to ensure only once whether started power off or on
...
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:20:31 -05:00
Michael Black W9MDB
8fd58e211d
Rigs will only power up once if needed
...
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:14:24 -05:00
Michael Black W9MDB
c5557ce3b1
Replace priv->curr_vfo in xg3.c with rig->state.current_vfo
2020-06-13 16:02:14 -05:00
Michael Black W9MDB
c1b9f254ab
Increase timeout for pihpsdr.c due to changes in rigpi software
2020-06-11 23:50:00 -05:00
Michael Black W9MDB
f71c12da94
astyle files
2020-06-09 22:37:03 -05:00
Michael Black W9MDB
17109382b0
Fix kenwood setting of priv->tx_vfo based on IF response split indication
...
When not transmitting tx_vfo is still VFO_B
https://github.com/Hamlib/Hamlib/issues/272
2020-06-01 12:09:24 -05:00
Michael Black
24ced80569
Merge branch 'master' of https://github.com/mdblack98/Hamlib
2020-05-28 16:55:26 -05:00
Michael Black W9MDB
b1f97c69d3
Fix comment in flex6xxx.c
2020-05-28 16:55:16 -05:00
Michael Black
2477f45ac9
Merge branch 'master' of https://github.com/mdblack98/Hamlib
2020-05-28 16:06:25 -05:00
Michael Black W9MDB
0d4b277179
Adding PowerSDR rig
...
https://github.com/Hamlib/Hamlib/issues/265
2020-05-28 16:05:18 -05:00
Michael Black
c21bc22bfc
Merge branch 'kenwood-read-retries' of git://git.code.sf.net/u/bsomervi/hamlib
2020-05-28 11:31:19 -05:00
Michael Black W9MDB
4599322ea5
Add PowerSDR rig
2020-05-28 11:29:42 -05:00
Bill Somerville
9b1e0aa07d
Fix regression with slow responses from SmartSDR causing errors
...
This has been verified as a fix using SmartSDR v1.10.16 combined with
a FlexRadio 6500.
2020-05-28 13:57:57 +01:00
Michael Black W9MDB
3d4d2dfe83
Add alpha version of Elecraft K4
2020-05-23 10:39:01 -05:00
Michael Black W9MDB
b6824cdcb1
Change TS440 model name to TS440S
2020-05-14 23:36:35 -05:00
Michael Black W9MDB
2813f0ef63
astyle files
2020-05-11 22:39:10 -05:00
Michael Black W9MDB
1a4e61b2dd
Fix several strerror that should be rigerror
2020-05-09 11:52:27 -05:00
Michael Black W9MDB
320b25525d
Fix get_powerstat in kenwood.c to reset err to RIG_OK
...
https://github.com/Hamlib/Hamlib/issues/242
2020-05-08 15:44:14 -05:00
mdblack98
8ad431a344
Change #warn on get_channel to RIG_ENIMPL errors
...
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98
bf1a05084d
astyle files
2020-05-03 17:24:42 -05:00
mdblack98
1aed5e9266
Add PS; check to kenwood power up logic
...
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 17:41:27 -05:00
mdblack98
d1677a71d3
Move kenwood get_id before firmware check and only when first get-id fails
...
https://github.com/Hamlib/Hamlib/issues/230
2020-05-01 14:44:05 -05:00
mdblack98
ab424f4a82
Change the sleep for kenwood retry to 50ms instead of using rig timeout.
...
Some rigs have very long timeouts > 500ms and retries need to be faster.
Rig timeouts are not relevant to a retry.
If rigs need more retries we can address that in the backends
https://github.com/Hamlib/Hamlib/issues/226
2020-04-29 08:21:48 -05:00
mdblack98
4b071f90ae
Fix kenwood cache IF len -- have to remove terminator
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-29 08:13:23 -05:00
mdblack98
39ea145365
Allow an IF response to TX/RX for kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/229
2020-04-28 22:18:05 -05:00
mdblack98
5fa21c4394
Move kenwood caching from kenwood_safe_transction to kenwood_transaction
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:58:11 -05:00
mdblack98
1743bebad7
Allow kenwood RX/TX to invalidate the cache
2020-04-27 10:30:39 -05:00
mdblack98
0e30795f6a
Fix kenwood cache update
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:09:02 -05:00
mdblack98
909ece7627
Improve cache behavior for yaesu and kenwood
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:00:07 -05:00
mdblack98
600a674891
Add cache invalidation for kenwood and yaesu
...
Reset all kenwood/yaesu backend versions to 0 since main backend is new
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 09:41:33 -05:00
mdblack98
d6825cffbd
Fix newcat.c cache check
...
Add cache for kenwood IF cmd
https://github.com/Hamlib/Hamlib/issues/226
2020-04-26 22:30:09 -05:00
Michael Black
ce882b9be7
merge udpate
2020-04-26 14:58:30 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black
9b8cc476e3
Merge branch 'master' of https://github.com/mdblack98/Hamlib
2020-04-26 11:37:31 -05:00
mdblack98
fd8e33d727
Change ts950 write_delay to 0 -- tested with CT1AXS and his 950SDX
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-26 11:35:14 -05:00
Michael Black
ee0b3c6eb7
Update version to pihpsdr.c and make it STABLE
2020-04-25 11:17:58 -05:00
c vw
af015d4467
Changed it to "serial" to allow for *both* serial and TCP connection.
...
If "pathname" is a legal TCP address, it will fall back to TCP
(see code in rig_open).
2020-04-25 18:07:29 +02:00
mdblack98
8c061acb13
Fixes https://github.com/Hamlib/Hamlib/issues/221
...
Flex users need to change polling rate to 3 seconds
WSJT-X is timing out based on the polling rate and was disconnecting from hamlibPlus the retries in flex6xxx were inadequate to allow for the slow profile change
2020-04-23 11:38:51 -05:00
mdblack98
90fc72f316
Add debug to kenwood.c chasing down Flex problem
2020-04-23 10:00:12 -05:00
mdblack98
c52f325168
Add more debug to kenwood.c
2020-04-22 14:51:34 -05:00
mdblack98
d2e2fec9f3
Add debug to kenwood.c chasing down Flex problem
2020-04-22 14:39:39 -05:00
Michael Black
16f1ae8037
Update baud rate for TS480
2020-04-17 23:12:04 -05:00
Michael Black
79871210eb
Add kenwood_close where missing
2020-04-14 08:38:11 -05:00
Michael Black
930bdf1f79
Add TS140S id value and comment on TS680S
2020-04-13 16:03:45 -05:00
Michael Black
fe531222b8
Update comment in ts140.c
2020-04-13 16:00:13 -05:00
Michael Black
6be656a47b
Update retry and post_write_delay in flex6xxx.c to avoid timeouts being experienced
2020-04-13 15:31:45 -05:00
Michael Black
87343fda05
Improve message when allow kenwood rig ID mismatch
2020-04-13 08:29:21 -05:00
Michael Black
dbca3e15dc
Change kenwood_open to non-fatal when ID does not match
...
Add kenwood_open to all kenwood rigs
Allow kenwood_open to keep searching list for a better match
2020-04-13 08:10:07 -05:00
Michael Black
b94595cac9
Add post_wr-te_delay for Hilberling PT8000A...testing
2020-04-13 07:34:21 -05:00
Michael Black
66525c81f8
Change kenwood to keep searching for matching id/model
...
Hilberling PT8000A is a 480 emulator but doesn't quite behave like one
So we have to allow for the same ID but a different model
2020-04-11 22:37:10 -05:00
Michael Black
b12fa053a1
Add Hilberling PT800A...emulates a TS-480
2020-04-11 08:16:34 -05:00
Michael Black
0267c1b7c9
astyle all files
2020-04-10 09:13:35 -05:00
Michael Black
6269bc4dec
Fix sprintf warning in ic10.c
2020-04-07 17:13:01 -05:00
Michael Black
991e4a4f24
Add error check for channel 90-99 split in ic10.c
2020-04-07 17:11:35 -05:00
Michael Black
624db802e4
Fix split detection in ic10.c
2020-04-07 17:04:22 -05:00
Michael Black
f7341d7c6d
Update ts440 to fix ID return value and reduce timeout values
2020-04-07 16:17:24 -05:00
Michael Black
3ac82b5635
Fix divide by zero in kenwood.c set_powerstat
2020-04-06 08:38:58 -05:00
Michael Black
33003d8d57
Add cmd retry to ic10.c
2020-04-06 07:37:02 -05:00
Michael Black
05469f8683
Fix timeout on H command for ts440 and add ID; for commands with no response
2020-04-05 23:21:23 -05:00
Michael Black
8194ffefda
Fix MR command in ic10.c
2020-04-05 14:51:25 -05:00
Michael Black
93613e55ac
Fix TS950/SDX by increasing write_delay and timeout values...IF command takes over 250ms to respond
2020-04-04 16:03:12 -05:00
Michael Black
4f975144e4
Add TS950S/SDX data mode capability
2020-04-03 10:24:01 -05:00
Michael Black
9c338a5c9f
Add RIG_VFO_NONE possible current vfo for kenwood.c
2020-04-03 10:16:20 -05:00
Michael Black
ea7b25e985
Fix kenwood.c compile warning
2020-04-03 09:36:33 -05:00
Michael Black
ed2a359a64
Add Kenwood TS-950S entry
2020-04-03 07:46:11 -05:00
Michael Black
e5c1fab00f
Change TS440 to use ic10_get_mode
...
Add ic10_set_split_freq and ic10_get_split_freq to ic10.c and ts440.c
2020-04-02 22:38:09 -05:00
Michael Black
f0bdabf569
Change TS440 RIT to +/- 1270 (low is actually -1280) and promote to STABLE
2020-04-02 12:17:30 -05:00
Michael Black
d936f14415
Readd cmdtrm setting in kenwood.c -- it's not fixed in all backends
2020-04-02 11:44:52 -05:00
Michael Black
45914f70f9
Change ts440 r5000 to no flow control
2020-04-02 11:34:26 -05:00
Michael Black
764045bb1b
Fix -RIT for kenwood.c
2020-04-02 11:33:57 -05:00
Michael Black
ad97b98a71
Remove unneede if check since all backends have been fixed
2020-04-02 07:50:09 -05:00
Michael Black
2c79b1c2fd
Change Kenwood rig id for TS950SDX to 012 per the manual
...
Replace TS950SDX with TS950 as 008 per the manual
Reference TS-950 External Control Instruction Manual
2020-04-02 07:34:01 -05:00
Michael Black
d9a1fdabbc
Fix ts440 get/set_xit
2020-04-01 22:31:00 -05:00
Michael Black
156661f2f3
For kenwood_transaction only retry when data reponse is expected
2020-04-01 22:29:09 -05:00
Michael Black
adc448e87d
Change kenwood back to rounding rit
2020-04-01 17:27:16 -05:00
Michael Black
246cbf746e
Change kenwood get_rit back to zero-based loop
2020-04-01 17:16:21 -05:00
Michael Black
8089eff320
Change kenwood set_rit to determine # of loops based on current rit
2020-04-01 16:48:04 -05:00
Michael Black
5773df162c
astyle files
2020-04-01 11:22:23 -05:00
Michael Black
d3b62d5e9e
Change all rig model checks to MACROS for brevity
...
Add data mode for TS950/TS950SDX
2020-04-01 11:15:22 -05:00
Michael Black
a903c70063
Add FUNC_XIT and FUNC_RIT to ts440.c
2020-03-31 22:44:33 -05:00
Michael Black
c62a7b2874
change ic10 set_split to no read after command
2020-03-31 22:19:17 -05:00
Michael Black
3be1c4a76f
Add some debug to ic10.c
2020-03-31 16:11:40 -05:00
Michael Black
1d6530dd70
Add xit to ts440
2020-03-31 16:11:07 -05:00
Michael Black
800e07c346
Change ic10 set_ptt for no read after command
2020-03-31 15:31:28 -05:00
Michael Black
2d5df7cfec
Remove xit function from ts440 since it doesn't have xit
2020-03-30 23:00:53 -05:00
Michael Black
f08de7e004
Bump ts440 to BETA
2020-03-30 22:44:29 -05:00
Michael Black
5ac8f8703d
Fix memory functon for ic10.c
2020-03-30 22:43:44 -05:00
Michael Black
2598c8c3ef
Fix set_freq for ic10.c to not expect return value
2020-03-30 22:31:53 -05:00
Michael Black
b040803765
Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
...
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black
b36fb74499
Fix TS480 ptt off -- seems some versions of it don't return anything at all
...
for RX; command where some do when in PTT. So we won't expect any return at all like all other Kenwood rigs.
Start migrating main version number to use YYYYMMDD. Backends which use generic brand commands will still use numeric versions. So the TS480 right now will become 20200329.6
2020-03-29 10:14:30 -05:00
Michael Black
8fd5e16363
astyle files
2020-03-26 11:11:46 -05:00
Michael Black
0c8130db00
Add range_list to xg3.c
2020-03-25 23:32:56 -05:00
Michael Black
9d8ddd4582
Replace RIG_LEVEL_VOX with RIG_LEVEL_VOXDELAY
2020-03-24 10:02:17 -05:00
Michael Black
dc77f72bcb
Add range_list to thg71.c
2020-03-23 16:41:23 -05:00
Michael Black
3bb4befc8d
Add debug to ic10.c
2020-03-23 16:01:15 -05:00
Michael Black
4e9d011aba
Add MAIN/SUB to ic10 set_vfo
2020-03-23 15:47:30 -05:00
Michael Black
35504231af
Add MAIN/SUB vfo setting to ic10.c
2020-03-23 11:58:18 -05:00
Michael Black
b9baf18f53
Change all ackbuf in ic10.c to 64 bytes to prevent overflow
2020-03-23 10:50:50 -05:00
Michael Black
01a8ec4ba1
Fix segfault in ic10_set_split_vfo
2020-03-23 10:45:36 -05:00
Michael Black
515dbc6af7
Fix segfault in ic10_set_split_vfo
2020-03-23 10:45:23 -05:00
Michael Black
bda5feb1bd
More cppcheck changes
2020-03-23 10:13:02 -05:00
Michael Black
f13ffaf202
Change ts440 to ic_set_freq instead of kenwood_set_freq
2020-03-23 10:07:29 -05:00
Michael Black
8eb09c2a38
More cppcheck fixes
2020-03-23 07:52:01 -05:00
Michael Black
243a35d126
Remove dead ic10 references
2020-03-22 16:08:09 -05:00
Michael Black
0e3e308cb5
Change ts440 to use ic10_set_ptt
2020-03-22 16:04:26 -05:00
Michael Black
c489f97624
More cppcheck changes
2020-03-20 07:51:32 -05:00
Michael Black
5d52ef3094
Fix some cppcheck warnings
...
Fix TS-480 ptt behavior
2020-03-19 15:02:56 -05:00
Michael Black
35fffc4f38
astyle files
2020-03-15 15:32:46 -05:00
Michael Black
727c8f5ea7
Bump version in kenwood.h
2020-03-12 10:28:34 -05:00
Michael Black
5579b210cb
Kenwood only run PS1 when ID command fails
2020-03-12 10:28:08 -05:00
Michael Black
57c7f2a19f
astyle files
2020-03-05 23:49:22 -06:00
Michael Black
d0f114b178
Add macro_name to caps structures for rig, rot, and amp devices
2020-03-05 23:48:14 -06:00
Michael Black
c5b4a18cf5
Merge branch 'master' of https://github.com/mdblack98/Hamlib
2020-03-05 08:44:38 -06:00
Michael Black
d856248178
Add RIG_MODEL macro and change all rigs to support it
2020-03-05 08:44:18 -06:00
Michael Black W9MDB
4cdebac333
bump verison in kenwood.h
2020-03-04 09:36:48 -06:00
Michael Black W9MDB
28164ef35e
Add kenwood_open to ts480
2020-03-04 09:36:25 -06:00
Michael Black W9MDB
5897514759
Fix kenwood_set_powerstat
2020-03-03 22:40:29 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
e315f5e3ac
Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
...
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black
e76fe9f722
Update version in kenwood/th.h
2020-02-12 17:26:43 -06:00
Michael Black
4bd10c0d69
Remove region info as it is info is being removed
2020-02-12 16:56:46 -06:00
Michael Black
7e8938ae65
Changed y command to now use mandatory antenna argument
...
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black
d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed)
2020-01-21 17:53:12 -06:00
Michael Black
8d6e2fc781
Directory migration to new layout
2020-01-17 09:22:44 -06:00