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
Mike Black W9MDB
31e911edb8
Remove powerstat from TX-500 -- was always responding PS0;
...
https://github.com/Hamlib/Hamlib/issues/1188
2022-12-19 14:55:14 -06:00
Mike Black W9MDB
f554c3a7ff
Fix kenwood_ts890_get_level -- thanks to N3GB George Baltz
2022-12-15 17:11:08 -06:00
Daniele Forsi IU5HKX
a5773f6f4e
Remove unused includes of cal.h
2022-12-09 17:39:43 +01:00
Mike Black W9MDB
b5e258228e
Add missing calibration tables for TS890S
2022-12-07 15:30:38 -06:00
Mike Black W9MDB
e3487cb5c6
Add RIG_TARGETABLE_MODE to ts890.c
...
https://github.com/Hamlib/Hamlib/issues/1172
2022-12-05 09:13:13 -06:00
Mike Black W9MDB
e2570d9d49
Fix misc TS890S items -- thanks to George Baltz N3GB
2022-11-28 16:45:08 -06:00
Mike Black W9MDB
09fb081847
Fix k3.c math.h
2022-11-28 16:44:58 -06:00
Mike Black W9MDB
3e6ca76c31
Fix frequency check in k3.c
2022-11-28 11:32:30 -06:00
Mike Black W9MDB
5d7f695727
Add AGC levels to Kenwood rigs that we can verify have them
...
https://github.com/Hamlib/Hamlib/milestone/16
2022-11-24 10:51:34 -06:00
Mike Black W9MDB
f8a5b92bc7
Add AGC levels to ts2000.c and fix AGC Level printout to show index number instead of enumeration number.
...
Add RIG_AGC_LONG and RIG_AGC_ON levels to match rig's capabilities better
Still need to allow setting AGC level using mnemonics instead of level value to make it more usable
2022-11-24 09:47:12 -06:00
Mike Black W9MDB
1ef3549e94
Fix rigctld showing the real rig agc_levels instead of all levels
...
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB
0bacb35f06
Make kenwood a bit more robust to discern between no reply and corrupted/unexpected reply
...
This logic should be usable to use AI mode eventually or share serial splitter line
2022-11-18 15:53:34 -06:00
Mike Black W9MDB
8cffaf3875
Change minimum timeout on all Kenwood rigs to 500ms -- legacy timeouts were a touch too short for all situations
2022-11-17 11:05:49 -06:00
Mike Black W9MDB
6c5e0e6974
Update astyle formatting
2022-11-16 15:30:36 -06:00
Mike Black W9MDB
4f5bf9aadd
Fix some dumpcaps warnings in many rigs
2022-11-14 16:02:28 -06:00
Mike Black W9MDB
5a5fc68922
Add missing level_gran_kenwood.h
...
https://github.com/Hamlib/Hamlib/issues/1035
2022-11-13 08:05:52 -06:00
Mike Black W9MDB
8616be635e
Fix level_gran on kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/1035
2022-11-13 06:53:55 -06:00
Mike Black W9MDB
cc3d912a76
Fix readonly set_level in flex6xxx.c
2022-11-11 23:26:20 -06:00
Mike Black W9MDB
0963d8c5bf
Fix if_len in flex6xxx.c
...
https://github.com/Hamlib/Hamlib/issues/1141
2022-11-07 12:24:55 -06:00
Mike Black W9MDB
1074410bd5
Add RIG_LEVEL_KEYSPD to ts890s.c
...
https://github.com/Hamlib/Hamlib/issues/1139
2022-11-05 12:58:40 -05:00
Mike Black W9MDB
b674317791
Fix kenwood PS command length
2022-10-21 13:26:13 -05:00
Mike Black W9MDB
e9325c9c7b
Fix case on TS-990S
2022-10-16 08:15:33 -05:00
Mike Black W9MDB
dde5d752fc
Update kenwood.h date
2022-10-12 22:39:04 -05:00
Mike Black W9MDB
b3d0a5a350
Add if_len to flex6xxx.c
2022-10-12 22:38:21 -05:00
Mike Black W9MDB
8adfd5e351
Update some debug and fix length of PS command in kenwood.c
2022-10-10 22:15:06 -05:00
Mike Black W9MDB
67b933ddb5
Update astyle for 4.5 release
2022-09-20 08:46:28 -05:00
Mike Black W9MDB
9b98ea11eb
Make debug rx_vfo info match code better in kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/1116
2022-09-17 10:24:13 -05:00
Mike Black W9MDB
7db23d549f
Add another priv->has_ps check to kenwood.c
2022-09-13 22:15:22 -05:00
Mike Black W9MDB
8c4c906efe
Add a few more rigs to have_ps=0
2022-09-13 16:22:03 -05:00
Mike Black W9MDB
e7262e23c8
Make TS450S turn off has_ps
...
https://github.com/Hamlib/Hamlib/issues/1114
2022-09-13 11:45:58 -05:00
Mike Black W9MDB
f58ca95c9c
TS-450S/690S does not have PS cmd so we will disable have_ps when 1st call to PS times out for Kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/1114
2022-09-13 09:26:04 -05:00
Mike Black W9MDB
1aed27c71a
Remove #defines for rig_set_split and return to standard call
2022-08-27 07:36:14 -05:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Nick Craig-Wood M5NCW
a81c295b3c
Fix sending morse with QRPLabs QCX rigs
...
The QCX series emulates the Kenwood TS480. However for the sending
morse command it seems to be more in line with the Elecraft K series
rigs.
Before this change, the QCX mini would reply to the KY command with
KY2 which was not understood. The QCX mini defines the KY responses to
be:
- KY0; if message sending is in progress and the transmit text buffer is not more than 75% full
- KY1; if message sending is in progress and the transmit text buffer is more than 75% full
- KY2; if no message is being sent, therefore the transmit text buffer is emtpy
This seems to be an extension of the original Kenwood protocol but it
is exactly as implemented by Elecraft in their K series rigs.
This patch treats the KY2 response the same as the KY0 response
meaning - OK to transmit.
2022-08-03 18:31:03 +01:00
Mike Black W9MDB
be3865693a
astyle tmd710.c
2022-07-28 10:34:01 -05:00
Mikael Nousiainen
1f05801d0f
Fix current and split VFO frequency handling for Kenwood TM-D710(G). Use CTRL VFO in the rig for denoting current VFO and PTT VFO for split VFO.
2022-07-28 17:18:04 +03:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -05:00
Mike Black W9MDB
21e6e9bf2a
Fix X command turning of split mode
...
https://github.com/Hamlib/Hamlib/issues/1083
2022-07-26 10:00:36 -05:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02:00
Mike Black W9MDB
4627e7c4fb
Update kenwood rig->state.tx_vfo in kenwood_get_split_vfo_if
...
https://github.com/Hamlib/Hamlib/issues/1083
2022-07-19 13:25:28 -05:00
Mike Black W9MDB
ccea73e631
Add set_powerstat and get_powerstat to PowerSDR
2022-07-15 16:25:36 -05:00
Mike Black W9MDB
71f5766d57
Really fix the k3.c compilation warning
2022-07-14 06:54:56 -05:00
Mike Black W9MDB
1566ceae35
Fix 2nd vfonum warning in tmd710.c
2022-07-13 09:32:04 -05:00
Mike Black W9MDB
d0a09d49cc
Fix vfonum in tmd710.c
2022-07-13 09:31:01 -05:00
Mike Black W9MDB
94338d46dd
Fix compilation warning in k3.c
2022-07-13 09:24:01 -05:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
fc6e432143
Fix kenwood split status
...
https://github.com/Hamlib/Hamlib/issues/1072
2022-07-05 17:03:21 -05:00
Mike Black W9MDB
5e6c1eaef8
Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC
2022-07-04 07:26:30 -05:00
Mike Black W9MDB
04250b3203
Add TARGETABLE_MODE to tmd710.c
2022-06-26 17:53:19 -05:00
Mike Black W9MDB
05c5724bcf
Change TMD710 to TARGETABLE_FREQ
2022-06-24 07:24:36 -05:00
Mikael Nousiainen
d3659ef996
Use the correct max RX lengths for min/max reads for Kenwood to avoid timeouts
2022-06-21 21:10:24 +03:00
Mike Black W9MDB
e716a010e8
Fix compile warning on tmd710.c
2022-06-20 23:24:28 -05:00
Mike Black W9MDB
214835339c
Fix some more mingw warnings in tmd710.c
2022-06-20 08:09:03 -05:00
Mike Black W9MDB
be58dae674
Fix common_dcs_list compile warning on mings for tmd710.c
2022-06-20 08:03:41 -05:00
Mike Black W9MDB
6513b485c9
Add tm71_caps back in
...
https://github.com/Hamlib/Hamlib/pull/1071
2022-06-20 07:58:56 -05:00
Lance Conry
28d304e8fe
From a pull request but modified to fit current codebase and clean up warnings
...
https://github.com/Hamlib/Hamlib/pull/1071
2022-06-20 07:47:21 -05:00
Mike Black W9MDB
5e9bfed4ce
Malachite fix to return good freq for VFOA and zero just for VFOB -- duh
...
https://github.com/Hamlib/Hamlib/issues/1070
2022-06-19 12:27:56 -05:00
Mike Black W9MDB
fdbdb388e2
Fix Malachite SDR to return 0 freq when VFOB is requested -- rig does not have VFOB
...
https://github.com/Hamlib/Hamlib/issues/1070
2022-06-19 12:03:32 -05:00
Mike Black W9MDB
459e4ce735
TS-890S add RIG_FUNC_SEND_MORSE
...
https://github.com/Hamlib/Hamlib/issues/1043
2022-06-16 07:52:45 -05:00
Mike Black W9MDB
a468f0dee8
Allow Kenwood AI command for FA/FB async operation
...
https://github.com/Hamlib/Hamlib/issues/1049
2022-06-02 23:21:51 -05:00
Mike Black W9MDB
901cea8944
Add wait_morse to rigs that had send_morse but missing wait_morse
...
wait_morse only works on full break-in
https://github.com/Hamlib/Hamlib/issues/1043
2022-05-29 22:53:30 -05:00
Mike Black W9MDB
83508b5e38
Add send_morse to TS-890S
...
https://github.com/Hamlib/Hamlib/issues/1043
2022-05-28 15:21:51 -05:00
Mike Black W9MDB
8cc4d59cbb
Change rig->caps-retry to rig->state.rigport.retry
...
https://github.com/Hamlib/Hamlib/issues/1037
2022-05-25 10:48:16 -05:00
Mike Black W9MDB
f6d5b7e3c6
Add some debug to kenwood.c
2022-05-20 09:03:02 -05:00
Mike Black W9MDB
17539bb68a
Add VFO UP DOWN to PowerSDR
2022-05-16 22:56:16 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
4bf2a8a2b8
Fix missing semicolon in k3.c
2022-05-13 11:03:55 -05:00
Mike Black W9MDB
3a569fcde1
Add vfo_op to PowerSdr
2022-05-12 17:47:16 -05:00
Mike Black W9MDB
11ffd603ab
Add VFO_OP to PowerSDR for BAND_UP and BAND_DOWN
2022-05-12 09:44:00 -05:00
Mike Black W9MDB
6ad3ace726
Add FUNC_MUTE to K4 in k3.c
2022-05-11 16:36:02 -05:00
Mike Black W9MDB
ddf0be7b72
Fix rig->state.rx_vfo and tx_vfo for Elecraft K4
2022-05-07 17:35:17 -05:00
Mike Black W9MDB
279bc84dfe
Restrict extra 100ms time in k4_set_ptt to PTT_OFF
2022-05-06 13:35:04 -05:00
Mike Black W9MDB
6cc4aefdb0
Add 100ms more time to end of k4_set_ptt.
...
Had one report of K4 infrequently not returning to RX from TX when in Fake It mode.
Suspect a little more time is needed between TQ0; response and FA freq set
2022-05-06 13:31:34 -05:00
Mike Black W9MDB
c0d298f0eb
Change k4_set_ptt to remove infinite loop when REC is in use
...
https://github.com/Hamlib/Hamlib/issues/1021
2022-05-05 22:20:31 -05:00
Mike Black W9MDB
d60391fcb0
Fix k2/k3/k4 bandwidth to 10Hz rounding
2022-05-04 13:14:01 -05:00
Mike Black W9MDB
e3bf699732
Fix k3.c compilation
2022-05-04 08:57:34 -05:00
Mike Black W9MDB
704a6aac4b
Correct handling of max power output of KX2/KX3 with KXPA100
...
Handle extended reply of K3
2022-05-04 07:46:01 -05:00
Mike Black W9MDB
c76dc1453d
Forgot to commit kenwood.h
2022-04-27 10:14:27 -05:00
Mike Black W9MDB
def3e6fea5
Add SDRUNO rig since it uses MD8 for DIG mode -- so PKTUSB will now be recognized for it
2022-04-27 10:11:41 -05:00
Mike Black W9MDB
5427b4cf86
Promote UNTESTED to ALPHA -- assuming no news is good news
2022-04-16 22:47:51 -05:00
Mike Black W9MDB
4e21730cd0
Promote all Kenwood BETA to STABLE -- assuming no news is good news
2022-04-16 17:32:47 -05:00
Mike Black W9MDB
9ee49933d7
Prompte all Icom rigs from BETA to STABLE and ALPHA to BETA
2022-04-16 17:30:15 -05:00
Mike Black W9MDB
fceac511ea
Remove powerstat from TS950S/SDX as the rig does not have the PS command
...
https://github.com/Hamlib/Hamlib/issues/999
2022-03-27 16:24:37 -05:00
Mike Black W9MDB
4e9962e90b
Increase PowerSDR retries from 3 to 10 to allow for Flex 1500 band change delay
...
https://github.com/Hamlib/Hamlib/issues/992
2022-03-20 12:39:43 -05:00
Mike Black W9MDB
1ef86d8e93
Add LEVEL_RFPOWER to PowerSDR
2022-03-18 22:42:47 -05:00
Mike Black W9MDB
56866fecd5
Allow kenwood rigs to retry all commands using ID; verfication method
...
The actual cmd was only being sent once during the retry loop
https://github.com/Hamlib/Hamlib/issues/983
2022-03-12 08:12:45 -06:00
Mike Black W9MDB
1993073559
Update version in flex6xxx.c
2022-03-06 09:28:52 -06:00
Mike Goodey
a012e8e25d
Add RIT and XIT for Flex 6xxx
2022-03-06 15:14:27 +00:00
Mike Black W9MDB
223d2b7c11
Add 200ms delay for K3/K3S when frequency changes by more then 1MHz (i.e. band change)
...
https://github.com/Hamlib/Hamlib/issues/977
2022-03-05 23:07:25 -06:00
Mike Black W9MDB
0333cdfca5
astyle files
2022-03-01 11:40:14 -06:00
challinan
a41df58487
Add support for K3 Morse send via KY(W) command
2022-02-20 22:19:26 -05:00
Mike Black W9MDB
05fa5b8f60
Balance RETURNFUNC
2022-02-19 16:42:43 -06:00
Mike Black W9MDB
3752b7ef9f
Balance RETURNFUNC
2022-02-19 16:33:54 -06:00
Mike Black W9MDB
4d6633e46f
Balance RETURNFUNC
2022-02-19 16:27:56 -06:00
Mike Black W9MDB
15ab655ecc
Balance RETURNFUNC2 in kenwood.c
2022-02-17 23:15:35 -06:00
Mike Black W9MDB
2a852aee1b
Fix TS-590/950 PKTMODE setting
...
https://github.com/Hamlib/Hamlib/issues/958
2022-02-13 17:25:57 -06:00
Mike Black W9MDB
64a841d249
Balance ENTER/RETURNFUNC in kenwood.c
2022-02-13 12:20:38 -06:00
Mike Black W9MDB
76805ae60c
Balance ENTER/RETURNFUNC in kenwood.c
2022-02-13 10:24:55 -06:00
Mike Black W9MDB
65cc7a76a3
Update hamlib_check_rig_caps
2022-02-12 09:48:56 -06:00
Mike Black W9MDB
ea7eff2f3b
Add USB/LSB to datamode detection in kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/958
2022-02-11 17:46:32 -06:00
Mike Black W9MDB
982f88035c
Allow FV command to fail for TS-590S and default firmwave rev to 1.0
2022-02-11 12:14:19 -06:00
Mike Black W9MDB
144debb46a
Update hamlib_check_rig_caps
2022-02-11 11:34:26 -06:00
Mike Black W9MDB
7c2d9ec0f0
Add TX_VFO handling in kendwood set_split_vfo
2022-02-06 12:18:10 -06:00
Mike Black W9MDB
7e1e90352e
Add VFO_TX to kenwood.c set_vfo
2022-02-06 09:28:56 -06:00
Mike Black W9MDB
92eb1bc4bc
Balance more RETURNFUNC
2022-02-06 08:10:20 -06:00
Mike Black W9MDB
f7ab619938
Balance more RETURNFUNC statements
2022-02-06 07:55:59 -06:00
Mike Black W9MDB
7f406427ca
Balance RETURNFUNC in kenwood.c
2022-02-06 07:46:36 -06:00
Mike Black W9MDB
2061ab92a8
Align some more RETURNFUNC statements
2022-02-06 06:18:04 -06:00
Mike Black W9MDB
2989782286
Fix some RETURNFUNC statements to balance depth counter
2022-02-06 00:00:55 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
61656760ef
Update ts590 version
2022-02-05 08:17:26 -06:00
nbanshchikov
92bd1d4e83
correct debug log message
2022-02-05 17:13:35 +03:00
nbanshchikov
c1ed899c19
Kenwood TS-590. Work get_level for ATT/Preamp state
...
https://github.com/Hamlib/Hamlib/issues/953
2022-02-05 16:58:07 +03:00
Mike Black W9MDB
1c5826d533
Add TS590 RIG_LEVEL_ATT
...
https://github.com/Hamlib/Hamlib/issues/953
2022-02-04 23:07:57 -06:00
Mike Black W9MDB
27f3cafc6e
Add TS590 RIG_LEVEL_PREAMP
...
https://github.com/Hamlib/Hamlib/issues/953
2022-02-04 23:04:10 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
d6d446944b
Fix kenwood_set_split_vfo vfo_fixup call
2022-02-04 07:24:08 -06:00
Mike Black W9MDB
3a77601ca5
Check for VFO_TX and VFO_RX in kenwood_set_split_vfo
2022-02-04 06:55:28 -06:00
Mike Black W9MDB
b9d3de3cbf
Fix kenwood_set_split_vfo typo
2022-02-03 23:15:07 -06:00
Mike Black W9MDB
836fae0ba0
Add VFO_TX handling (VFOB) to kenwood_set_split_vfo
2022-02-03 23:13:27 -06:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Michael Black
aab335b09b
Merge branch 'master' into master
2022-01-25 09:29:30 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB
1c309b523e
Revert "Change TS-2000 to RIG_PTT_RIG_MICDATA"
...
TS-2000 only has TX0
This reverts commit a2d5893437
.
2022-01-24 15:50:30 -06:00
Mike Black W9MDB
a2d5893437
Change TS-2000 to RIG_PTT_RIG_MICDATA
2022-01-23 16:22:17 -06:00
Mike Black W9MDB
be992b8a36
Fix kenwood_get_split_vfo_if(1583): unknown rxVFO=None
2022-01-21 22:57:57 -06:00
Mike Black W9MDB
308a221c78
Reduce driver not found to verbose message since it should not be critical to know this
2022-01-19 13:34:05 -06:00
Mike Black W9MDB
9ed935e10b
Change TS440 to use kenwood get/set freq instead of ic10 get/set freq
...
The ic10_set_freq is the same as kenwood_set_freq
The ic10_get_freq uses IF instead of FA/FB for some unknown reason
https://github.com/Hamlib/Hamlib/issues/937
2022-01-19 13:17:06 -06:00
Mike Black W9MDB
2d85464688
Allow Kenwood FW command to return a custom filter setting
2022-01-19 12:39:05 -06:00
Mike Black W9MDB
191ac98634
Change TS-440 post_write_delay to 20ms vs 0ms
...
QRPLabs QDX is workign with TS-480 but not TS-440 and this is one of the differences between the two rigs
https://github.com/Hamlib/Hamlib/issues/937
2022-01-19 09:09:21 -06:00
Mike Black W9MDB
92542cb028
Change sprintf to SNPRINTF in kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:03:43 -06:00
Mike Black W9MDB
b577f3bd51
Set rx_vfo in kenwood.c to default when not already set
...
https://github.com/Hamlib/Hamlib/issues/931
2022-01-17 14:59:16 -06:00
giordyb
dcc176a263
Update thd74.c
...
version bump
2022-01-16 19:36:54 +01:00
giordyb
014daefb5f
Update thd74.c
...
fixes set_ts (the byte passed in thd74_set_freq_item() was wrong, it's 27 for normal mode and 35 for fine mode). Also if a step lower than 5000 is entered the radio is switched into fine mode (only works on VFO B)
2022-01-16 19:19:46 +01:00
Mike Black W9MDB
18f69356c9
Change sprintf to SNPRINTF for kenwood files
2022-01-10 23:03:54 -06:00
Mike Black W9MDB
5b942259ac
Added TM-V71(A)
...
https://github.com/Hamlib/Hamlib/issues/915
2022-01-03 08:24:49 -06:00
Mike Black W9MDB
01b7f81119
Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
...
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Mike Black W9MDB
a1ea9bf0e3
Add tx500.c
2021-12-29 17:53:40 -06:00
Mike Black W9MDB
7c7d04dc84
Add Lab599 TX-500
2021-12-29 17:50:51 -06:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mikael Nousiainen
56c95b1529
Merge upstream changes and fix conflicts
2021-12-12 23:05:26 +02:00
Mike Black W9MDB
eaa6d1bc28
Remove redunant break statements in kenwood.c
2021-11-28 16:41:00 -06:00
Mikael Nousiainen
d857f18163
Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far.
2021-11-28 20:52:29 +02:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
7c1e14d79d
Try to get the correct tx_vfo when in reverse split for kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 22:49:23 -06:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
e58db5cd52
Fix data mode detection in kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 11:33:58 -06:00
Mike Black W9MDB
8928672e2c
Rigs with non-targetable set_mode will now use cached values to determine if mode needs to be changed
...
Hamlib 5.0 plans are to start using transceive mode and AI2 mode to detect rig changes so eventually
users on these types of rigs will be able to twiddle knobs and hamlib will follow.
But for now we are avoiding the VFO flashing and relay chattering on non-targetable rigs
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 09:03:26 -06:00
Mike Black W9MDB
d94c8c9225
Fix compile on kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-23 10:01:25 -06:00
Mike Black W9MDB
70a7db3318
Extract current vfo for kenwood split setting to ensure datamode gets set on correct VFO
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-23 09:53:56 -06:00
Mike Black W9MDB
ccac553f1b
Add Main/Sub support to kenwood data mode determination
...
Improve simkenwood
https://github.com/Hamlib/Hamlib/issues/872
2021-11-23 08:33:57 -06:00
Mike Black W9MDB
e283e2b039
Make kenwood set_split more robust to possible reverse split
2021-11-22 16:56:54 -06:00
Mike Black W9MDB
cf527c8d24
Fix Kenwood split to remove redundant FT call
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-20 23:46:29 -06:00
Mikael Nousiainen
39cec4aa27
Merge branch 'master' into async-reader
2021-11-20 22:50:55 +02:00
Mikael Nousiainen
1f538ad7ec
Started work on asynchronous reader thread to enable handling of rig tranceive and waterfall data (WIP)
2021-11-20 21:33:29 +02:00
Mike Black W9MDB
383d97dee0
Add update to rig->state.current_vfo in a couple of places
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-19 00:04:00 -06:00
Mike Black W9MDB
f3dc90f8f5
Show split result in kenwood_get_split_vfo_if
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-18 16:09:45 -06:00
Mike Black W9MDB
c229c2f52d
Add some debug to kenwood.c
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-18 12:05:57 -06:00
Mike Black W9MDB
489ecf6aed
kenwood.c change to minimize mode setting if change not needed
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-18 09:21:09 -06:00
Mike Black W9MDB
0032f567e1
More fixes to k4_set_ptt
...
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 18:05:27 -06:00
Mike Black W9MDB
4c530dc578
More fixes to k4_set_ptt
...
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 17:49:49 -06:00
Mike Black W9MDB
782e39eb33
More fixes to k4_set_ptt
...
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 17:39:08 -06:00
Mike Black W9MDB
7dceda7d2c
More fixes to k4_set_ptt
...
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 17:27:47 -06:00
Mike Black W9MDB
65cc461918
Fix k4_set/get ptt
2021-11-10 17:09:51 -06:00
Mike Black W9MDB
ff89d6441e
Add new k4_set_ptt
...
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 16:57:14 -06:00
Mike Black W9MDB
f2ae765c37
Fix elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 23:56:32 -06:00
Mike Black W9MDB
5102d3e721
Another attempt at elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:48:34 -06:00
Mike Black W9MDB
353bee3a5f
Fix elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:32:29 -06:00
Mike Black W9MDB
6ba1bc0811
Add elecraft_get_vfo_tq to take advantage of K4's new TQ command
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:07:40 -06:00
Mike Black W9MDB
aa86f25321
For Kenwood rigs read split status to see if split needs to be set
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 13:20:14 -06:00
Mike Black W9MDB
40546d9e5a
For Kenwood rigs set_freq now reads VFO to see if it needs changing
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 13:05:05 -06:00
Mike Black W9MDB
d6541eba0a
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 11:59:15 -06:00
Mike Black W9MDB
a3e888dc3f
Fix post_write_delay for K3 and zeroize for K4
...
f5abd7a176
2021-11-09 11:17:51 -06:00
Mike Black W9MDB
de1b0f5126
Fix kenwood unsupported VFO error for currVFO
...
https://github.com/Hamlib/Hamlib/issues/849
2021-11-02 09:34:47 -05:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
b9c86da0fb
For kenwood.c allow another 2 transacation_reads after ? return
...
For the TS-2000 doing IF; after RX; was returning ? but still returned IF response later
https://github.com/Hamlib/Hamlib/issues/844
2021-10-28 17:28:27 -05:00
Mike Black W9MDB
0309a34d02
Change kenwood.c to not do a set_vfo if current_vfo already is set
...
https://github.com/Hamlib/Hamlib/issues/844
2021-10-28 16:42:07 -05:00
Mike Black W9MDB
022d4e4f67
Change Elecraft to remove AB3 command as it took 650ms to execute.
...
We now just set VFOB freq to VFOA freq when setting split mode
https://github.com/Hamlib/Hamlib/issues/842
2021-10-27 23:21:28 -05:00
Mike Black W9MDB
1dc9f56e13
Add debug to kenwood_set_split_vfo
...
https://github.com/Hamlib/Hamlib/issues/842
2021-10-27 08:48:59 -05:00
Mike Black W9MDB
eb8c8d8e5f
Add comment to kenwood.c
2021-10-27 08:40:03 -05:00
Mike Black W9MDB
0e3393a1e0
Add copy VFOA>B for Elecraft K3, KX2, and KX3 when split mode is requested to ensure we avoid cross band error
...
https://github.com/Hamlib/Hamlib/issues/839
2021-10-23 15:53:01 -05:00
Mike Black W9MDB
f5abd7a176
Add 10ms post_write_delay for the K3 -- was not going into split
...
Seems faster computers are speeding up serial I/O
https://github.com/Hamlib/Hamlib/issues/839
2021-10-23 13:24:36 -05:00
Mike Black W9MDB
6553373ad1
Fix kenwood_get_mode for Elecraft K4 to use MD$ to get mode
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-20 16:21:43 -05:00
Mike Black W9MDB
5e90774728
Change detection of Elecraft K4 in k3.c to use VFOB commands
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-20 08:52:13 -05:00
Mike Black W9MDB
6b6156c416
Fix Elecraft K3 BW$ length read warning
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-19 06:46:25 -05:00
Mike Black W9MDB
a15726e652
For the Elecraft K4 changing mode on either VFO while in split will now change mode on the other VFO
...
https://github.com/Hamlib/Hamlib/issues/830
2021-10-19 06:42:37 -05:00
Mike Black W9MDB
0cd7e5cc16
Update debug statement in elecraft.c to show is_k4
2021-10-18 22:59:18 -05:00
Mike Black W9MDB
c0aeb14a2a
Change Elecraft K4 to use AB3;FT1 instead of AB0;FT1
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-18 22:41:07 -05:00
Mike Black W9MDB
dc09191f07
Add copy A/B for Elecraft K4 to avoid cross-band error when setting split
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-18 15:33:50 -05:00
Mike Black W9MDB
736072bbaf
Fix k3.c case of BW command
2021-10-18 15:27:30 -05:00
Mike Black W9MDB
84df12919f
Fix Elecraft K3 DT/DT$ command to expect the correct answer length
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-17 22:54:09 -05:00
Mike Black W9MDB
899cd71b1d
Fix Elecraft K3/K4 bandwidth BW to expect 6 instead of 7 response
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-17 22:49:50 -05:00
Mike Black W9MDB
1b10d113f2
Add debug info to k3_set_mode
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-17 06:54:07 -05:00
Mike Black W9MDB
25e5f59300
Fix k3.c build
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-17 06:47:26 -05:00
Mike Black W9MDB
015d79cc80
Fix k3_set_mode for K4 VFOB case
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-17 06:43:18 -05:00
Mike Black W9MDB
50512b4bf9
Fix Elecraft K4 set_mode to work with VFOB
...
https://github.com/Hamlib/Hamlib/issues/825
2021-10-15 12:05:46 -05:00
Mike Black W9MDB
891ca6ed75
Fix TS450 and TS690 split check -- should be using IF status now
...
Should work with any rigs that don't have split status too in case there are any.
https://github.com/Hamlib/Hamlib/issues/826
2021-10-15 12:02:41 -05:00
Mike Black W9MDB
2319d17389
Fix rigs so that VFOB/A split works as well as VFOA/B
...
https://github.com/Hamlib/Hamlib/issues/745
2021-10-08 23:55:48 -05:00
Mike Black W9MDB
a5ad107c63
Adding NOTES.txt to rig model directories to keep track of rig behaviors
...
This could be turned into a help facility eventually
2021-09-30 09:10:45 -05:00
AuroraRAS
782ad2a034
make the Android.mk files adapt to multi arch
2021-09-25 07:03:23 +08:00
Mike Black W9MDB
388294c3d6
Fix RIG_STATUS_STABLE misspelling
2021-09-15 13:50:31 -05:00
Mike Black W9MDB
8cc59cca3b
Rigs have been at BETA status forever so promoting all to STABLE
2021-09-15 13:44:42 -05:00
Mike Black W9MDB
7561642898
Turns out thd72 has a mini USB so may take hardware flow control
2021-09-15 13:36:45 -05:00
Mike Black W9MDB
efb57f9a10
Change hardware flow back to xonxoff for THD72
...
Promote all TH rigs to stable
2021-09-15 08:57:34 -05:00
Mike Black W9MDB
9b618b6f47
Patch from Stephen McCallum for THD72 change to hardware flow
2021-09-14 22:18:35 -05:00
Mike Black W9MDB
0f2a92b2de
Change kenwood to only set VFOA default on 1st rig_open call
...
https://github.com/Hamlib/Hamlib/issues/797
2021-09-13 13:13:12 -05:00
Mike Black W9MDB
a7ac90e76e
Add needed return in ts890s.c
2021-09-11 09:59:39 -05:00
Mike Black W9MDB
1b3b5b70c1
Remove overlapping union reference in flex6xxx.c
2021-09-11 09:58:24 -05:00
Michael Black
196884e3b1
Merge pull request #790 from AuroraRAS/keepgoingndk
...
Fix compile-time errors in Android NDK environment
2021-09-10 23:31:51 -05:00
Mike Black W9MDB
e881993433
Fix segfault in kenwood_set_vfo
...
https://github.com/Hamlib/Hamlib/issues/794
2021-09-10 05:36:42 -05:00
AuroraRAS
b5bd1f4036
Append the missing information to build hamlib v4.3 for Android NDK
...
The following errors were fixed in this commit:
error: undefined symbol: rig_sprintf_vfo
error: undefined symbol: initrots2_radant
error: undefined symbol: ts890s_caps
2021-09-07 21:30:09 +08:00
Mike Black W9MDB
f6b57e147d
Make kenwood set_split_vfo behave the same as set_vfo in both directions
...
https://github.com/Hamlib/Hamlib/issues/746
2021-08-29 08:29:26 -05:00
Mike Black W9MDB
2c8092d21b
For kenwood rigs reset split after set_vfo FR command if needed
...
Side effect of this change is support of reverse split by changing to VFOB
https://github.com/Hamlib/Hamlib/issues/746
2021-08-28 22:35:16 -05:00
Mike Black W9MDB
4653aa2f6e
astyle files
2021-08-27 22:25:53 -05:00
Mike Black W9MDB
7bddd99cd8
Remove RX from kenwood.c -- did not put rig on VFOA
...
https://github.com/Hamlib/Hamlib/issues/746
2021-08-27 18:00:11 -05:00
Mike Black W9MDB
fe8c02bba0
Add RX command to kenwood rigs hopefully setting VFO to VFOA after split set
...
FT450 and others turn split off doing FR0 and FT1; leaves the rig on VFOB
https://github.com/Hamlib/Hamlib/issues/746
2021-08-27 13:08:15 -05:00
Mike Black W9MDB
49e59083f0
Change kenwood set_split to check split instead of priv->split
...
https://github.com/Hamlib/Hamlib/issues/746
2021-08-26 22:49:41 -05:00
Mike Black W9MDB
aa9b9196b4
Fix Kenwood FR/FT sequencing
...
https://github.com/Hamlib/Hamlib/issues/746
2021-08-26 16:31:37 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Wouter van Gulik
9aec383329
Simplify get_ant by having setting to unknown by default.
...
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Mike Black W9MDB
0965a4382c
Fix Kenwood rigs that turn split off during FR command by turning split back on if needed
...
https://github.com/Hamlib/Hamlib/issues/746
2021-08-22 16:47:29 -05:00
Mike Black W9MDB
9cf4b1658f
Move FT1 command to K4 rig only
2021-08-14 23:45:59 -05:00
Mike Black W9MDB
4c91889a10
For Elecraft add a set split after DT$ command in set_split_mode
...
On the K4 the setting of VFOA was turning split off
https://github.com/Hamlib/Hamlib/issues/748
2021-08-14 22:36:33 -05:00
Mike Black W9MDB
3baa9da839
Add a 2nd try on kenwood.c ID command -- TS450S was failing on 1st try
2021-08-09 16:23:17 -05:00
Mike Black W9MDB
e7e5cc063d
Fix K4 split problems
...
https://github.com/Hamlib/Hamlib/issues/748
2021-08-04 22:45:54 -05:00
Mike Black W9MDB
f8da39243d
Default Kenwood rigs to VFOA and split=off
...
https://github.com/Hamlib/Hamlib/issues/745
2021-08-04 09:38:15 -05:00
Mike Black W9MDB
a8200886bf
Ensure kenwood rigs stay in split mode after FR0; command
...
https://github.com/Hamlib/Hamlib/issues/746
2021-07-19 23:49:48 -05:00
Mike Black W9MDB
fe2c0e7723
Update kenwood.h version
2021-07-18 16:19:42 -05:00
Mike Black W9MDB
534246a807
Add TS-890S to rig id list in kenwood.c
2021-07-18 16:14:59 -05:00
Mike Black W9MDB
e966508b3a
For all kenwoods query split and don't change if not needed
...
https://github.com/Hamlib/Hamlib/issues/744
2021-07-17 17:02:42 -05:00
Mike Black W9MDB
ca7ca873bc
Add TARGETABLE_MODE to k3.c
...
https://github.com/Hamlib/Hamlib/issues/728
2021-06-24 17:48:30 -05:00
Mike Black W9MDB
c8439de131
Reverse K3 PKTLSB/PKTUSB sensing
...
Was causing WSJTX to get a PKTLSB response after sending PKTUSB
These rigs now only set MD when MD needs changing which speeds up the polling cycle
https://github.com/Hamlib/Hamlib/issues/726
2021-06-18 22:58:49 -05:00
Mike Black W9MDB
b80ff9330c
Add debug to k3.c to chase down mode setting problem
...
https://github.com/Hamlib/Hamlib/issues/726
2021-06-18 10:35:27 -05:00
Mike Black W9MDB
3b2715463d
Change kenwood_set_mode to only change mode if necessary by reading it first
...
https://github.com/Hamlib/Hamlib/issues/726
2021-06-15 22:35:05 -05:00
Mike Black W9MDB
c7b10e0e8f
Change K3 rigs to query MD and not set if not a change
...
K3S was taking 400ms to do MD6; when already in MD6; so query is a lot faster
Will also avoid trying to set mode when PTT is on
https://github.com/Hamlib/Hamlib/issues/722
2021-06-12 10:25:02 -05:00
Mike Black W9MDB
e427262a89
Promote thd74 to stable
2021-06-06 23:02:55 -05:00
Mike Black W9MDB
fcb2529ed0
Have thd74.c call kenwood_open
...
https://github.com/Hamlib/Hamlib/issues/718
2021-06-06 07:57:33 -05:00
Mike Black W9MDB
976ba6df02
Add small delay in flex6xxx.c after ptt off -- seems to take a short while to really do it for the ANAN rigs
2021-06-05 22:23:57 -05:00
Mike Black W9MDB
540ca9cce3
Remove empty cmd from thd74.c and bump up to beta
...
https://github.com/Hamlib/Hamlib/issues/718
2021-06-05 16:54:53 -05:00
Mike Black W9MDB
53476dd14d
Remove some more debug
2021-06-01 07:19:00 -05:00
Mike Black W9MDB
92ed52b5f7
Zero out response in flex6xxx.c -- was generating funky error messages
2021-05-27 10:19:49 -05:00
Mikael Nousiainen
252a3ead63
Add RIG_TARGETABLE_ROOFING to allow Yaesu roofing filter targeting by VFO only for FTDX5000 and FTDX101. Fix TS-480 VOXDELAY level definition.
2021-05-12 23:51:35 +03:00
Mike Black W9MDB
493860dae8
Add ; to k3.c to please the eye
2021-05-07 12:30:14 -05:00