Wykres commitów

269 Commity (08c06aea147efe28d56baaf308b03d8463c9600e)

Autor SHA1 Wiadomość Data
Michael Black W9MDB 74356b3a99 Add RIG_TARGETABLE_PTT and RIG_TARGETABLE_RITXIT
For most rigs these are non-vfo specific commands so we can avoid doing VFO switching
Add flags to all Yaesu, Icom, and Kenwood in rig_open
Some rigs do have VFO specific but it's already in the backend
More rigs can use these flags..TBD...
https://github.com/Hamlib/Hamlib/issues/430
2020-10-31 17:19:08 -05:00
Michael Black W9MDB 3116fc77f0 Fix TS890S for 70MHz band astyle kenwood.c 2020-10-23 16:24:12 -05:00
Oscar Alonso, N6PAZ 93e7663ac2 Fixed max power level in AM for the TS-890S and response value expected error 2020-10-23 13:55:56 -07:00
Michael Black W9MDB 1c379029b3 Fix kenwood_get_power_minmax
https://github.com/Hamlib/Hamlib/issues/399
2020-10-21 17:32:03 -05:00
Michael Black W9MDB 88bda82a7d Fit FT890S kenwood_get_power_minmax for AM mode
https://github.com/Hamlib/Hamlib/issues/399
2020-10-21 17:17:55 -05:00
Michael Black W9MDB 042b55a5f5 Add TS950S and TS990S to 5W minimum power in kenwood_get_power_minmax 2020-10-21 16:35:58 -05:00
Michael Black W9MDB b8a29430ad Fix kenwood_get_power_minmax for TS890S
https://github.com/Hamlib/Hamlib/issues/399
2020-10-21 16:18:52 -05:00
Michael Black W9MDB 73a37749ac PowerSDR now returns ENAVAIL on AI command 2020-10-17 23:21:47 -05:00
Michael Black W9MDB 8b541f3e0b Fix debug statement in kenwood.c to show correct tvfo 2020-10-15 08:31:55 -05:00
Michael Black W9MDB 8c51909595 astyle files 2020-10-07 12:48:25 -05:00
Michael Black W9MDB d6cad85cf2 kenwood.c don't ask for power min/max when PTT is on 2020-10-07 12:40:59 -05:00
Michael Black W9MDB 7351315d07 Undo last kenwood.c change 2020-10-06 16:51:05 -05:00
Michael Black W9MDB 7f293e23df Keep TS-950 minimum power level to 5W -- based on testing.
< 5W setting either ends up 5W or gives an error for PC000 and PC001
https://github.com/Hamlib/Hamlib/issues/399
2020-10-06 16:35:45 -05:00
Michael Black W9MDB 0afe35ecc6 Return default values for TS-950 SH; command when mode is FM, AM, or FMN
https://github.com/Hamlib/Hamlib/issues/398
2020-10-06 16:25:16 -05:00
Michael Black W9MDB fa7ea205c2 Fix kenwood MICGAIN 2020-10-04 17:23:14 -05:00
Michael Black W9MDB 14627552cc MICGAIN min/max now automagically determined for kenwood rigs
Removed custom MICGAIN from ts2000 and ts950s
Note that PowerSDR/Thetis MICGAIN is not TS2000 compatible as of this date as it doesn't scale properly
https://github.com/Hamlib/Hamlib/issues/389
2020-10-04 10:32:06 -05:00
Michael Black W9MDB 5ae848c48f Implemented dynamic detection of RFPOWER levels for Kenwoods
Need to remove RFPOWER customizations from other Kenwood backends now
Need to do this same thing for MICGAIN
https://github.com/Hamlib/Hamlib/issues/389
2020-10-03 00:16:02 -05:00
Michael Black W9MDB ba943ae4b9 Fix kenwood RFPOWER...more to come to make it know the max power possible
https://github.com/Hamlib/Hamlib/issues/389
2020-10-02 15:46:06 -07:00
Michael Black W9MDB 0576a01ec2 astyle files 2020-10-01 22:51:31 -05:00
Michael Black W9MDB 5fdf98ec57 Remove unneeded k3 code from kenwood.c
Implement RFPOWER for kx3
https://github.com/Hamlib/Hamlib/issues/388
2020-09-30 21:35:06 -07:00
root b6ed9b53e6 Fix K3X LEVEL_RF
https://github.com/Hamlib/Hamlib/issues/388
2020-09-30 16:07:10 -07:00
Michael Black W9MDB 0e50906ca1 Fix RF_POWER for K3/KX3/KX2 for non-KPA3 and non-KXPA100 mode 2020-09-30 16:46:10 -05:00
Michael Black W9MDB 58c5f52de8 Fix kenwood RIG_LEVEL_RF set
https://github.com/Hamlib/Hamlib/issues/388
2020-09-30 16:34:01 -05:00
Michael Black W9MDB 92dcdcd952 Fix floating point compuation on KX3/KX2 LEVEL_RF 2020-09-30 15:52:20 -05:00
Michael Black W9MDB 63d325eb91 astyle kenwood.c 2020-09-30 14:46:02 -05:00
Michael Black W9MDB 38daabee8e Change get_kenwood_level to use separate float/int parameters 2020-09-30 14:45:50 -05:00
Michael Black W9MDB 3c6ae62e59 Change get_kenwood_level to return both float 0-1.0 and raw value
Fix Elecraft K3/K3S/KX2/KX3 RF level get/set
Update other rigs for new get_kenwood_level call
https://github.com/Hamlib/Hamlib/issues/388
2020-09-30 12:46:54 -05:00
Michael Black W9MDB f583148520 astyle kenwood.c 2020-09-17 12:07:19 -05:00
Michael Black W9MDB 548dcad2ee Fix MICGAIN to 0-100 range in kenwood.c 2020-09-17 12:06:48 -05:00
Michael Black W9MDB 6d815cad13 Add set_level MICGAIN to kenwood.c 2020-09-17 11:50:23 -05:00
Michael Black W9MDB 85981ed689 Fix kenwood.c LEVEL_AF format 2 command 2020-09-16 11:22:06 -05:00
Michael Black W9MDB 2f143aa899 Make kenwood AG format determination automatically on first get_level call
There are 3 formats supported, "AG" "AG0" and "AG0"/"AG1"
This should work until Kenwood comes up with "AG2" or such
https://github.com/Hamlib/Hamlib/issues/380
2020-09-16 10:41:24 -05:00
Michael Black W9MDB b97d05369c astyle files 2020-09-14 23:12:35 -05:00
Michael Black W9MDB a0ee4d01b2 https://github.com/Hamlib/Hamlib/issues/359
Fix Yaesu command retries
2020-09-01 23:26:35 -05:00
Michael Black W9MDB e459d4edc2 astyle files 2020-09-01 09:06:46 -05:00
Michael Black W9MDB 59d22e0748 Fix spelling error in kenwood.c 2020-08-06 09:50:45 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
c vw c708513d08 corr 2020-07-17 12:25:02 +02:00
c vw d0bff25bb9 Corrections 2020-07-17 12:22:21 +02:00
Michael Black W9MDB 17112c308e Fix kenwood_get_rit to utilize the +/- sign
https://github.com/Hamlib/Hamlib/issues/342
2020-07-14 11:26:14 -05:00
Michael Black W9MDB f986be28a8 Fix kenwood RD command to use abs value instead of negative sign
https://github.com/Hamlib/Hamlib/issues/341
2020-07-12 11:29:31 -05:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Michael Black W9MDB 4177dde4e0 For all kenwoods remove the ID; check of the RX; command
TS-480 is not returning RX0; as the manual says
May want to consider validating PTT instead
https://github.com/Hamlib/Hamlib/issues/338
2020-07-07 11:36:50 -05:00
Michael Black W9MDB a19169a6b0 Update kenwood_transaction to improve cache invalidation 2020-07-07 07:10:22 -05:00
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 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 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 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 2813f0ef63 astyle files 2020-05-11 22:39:10 -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
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -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 930bdf1f79 Add TS140S id value and comment on TS680S 2020-04-13 16:03: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 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 3ac82b5635 Fix divide by zero in kenwood.c set_powerstat 2020-04-06 08:38:58 -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 d936f14415 Readd cmdtrm setting in kenwood.c -- it's not fixed in all backends 2020-04-02 11:44:52 -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 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 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 bda5feb1bd More cppcheck changes 2020-03-23 10:13:02 -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 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 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 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