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