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