Mike Black W9MDB
a1c8493c62
First cut at clock setting for IC7300/7800/785x/9700
...
https://github.com/Hamlib/Hamlib/issues/851
2021-12-01 11:50:33 -06:00
Mikael Nousiainen
c20f397c24
Refactor WIN32 I/O port routines to be hopefully compatible with async data reader (not tested). Fix some incomplete data fields in UDP snapshot packets.
2021-11-30 09:25:51 +02:00
Mike Black W9MDB
a36b74deca
https://github.com/Hamlib/Hamlib/issues/514
2021-11-29 16:08:24 -06:00
Mike Black W9MDB
e16035ef8e
Chance #if 0 in tci1x.c to make cppcheck happy
2021-11-28 16:56:25 -06:00
Mike Black W9MDB
fc7beda918
Another attempt to get tci1x.c to compile without warning
2021-11-28 16:50:22 -06:00
Mike Black W9MDB
48b53ffaac
Put null check in correct place in frame.c
2021-11-28 16:49:00 -06:00
Mike Black W9MDB
3affc1066c
Add check for possible NULL in frame.c
2021-11-28 16:46:50 -06:00
Mike Black W9MDB
618cf90145
Ensure map_arg is zeroized in mem.c
2021-11-28 16:44:16 -06:00
Mike Black W9MDB
eaa6d1bc28
Remove redunant break statements in kenwood.c
2021-11-28 16:41:00 -06:00
Mike Black W9MDB
1fe7a9a780
Remove dead code in tci1x.c
...
Note that tci1x is not functional at all yet
2021-11-28 16:39:18 -06:00
Mike Black W9MDB
361dc2c2e2
Hopefully suppress compile warning on tci1x.c
2021-11-28 15:37:46 -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
7349a0de73
Update tci1x.c
2021-11-25 16:02:50 -06:00
Mike Black W9MDB
8a443a8667
First draft of TCI backend
...
https://github.com/Hamlib/Hamlib/issues/736
2021-11-25 15:47:45 -06:00
Mike Black W9MDB
5cf68f3647
Get the correct rx_vfo when split is off
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-25 12:17:39 -06:00
Mike Black W9MDB
d22e7d2f77
Update minlen debug to be accurate
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-25 10:31:44 -06:00
Mike Black W9MDB
643e18dc28
Ensure rx_vfo is set correctly based on tx_vfo requested
...
https://github.com/Hamlib/Hamlib
2021-11-25 09:34:23 -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
921bd9812f
Add some debug to misc.c
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 17:01:15 -06:00
Mike Black W9MDB
71662c79f8
Remove rig_lock/unlock as not needed for eventual async i/o implementation
2021-11-24 15:52:37 -06:00
Mike Black W9MDB
ada6543b09
Update read_string to use a minimum-size read based on experience
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 15:48:11 -06:00
Mike Black W9MDB
02bd4f6e9e
Remove rig_lock/un_lock from icom.c -- not needed for eventualy implemenatioin of async read
2021-11-24 15:45:22 -06:00
Mike Black W9MDB
d1a7964ac4
Allow for set_split with VFOA/VFOA to put RX VFO on VFOB
2021-11-24 13:33:16 -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
238e17b736
rig_set_mode for non-targetable rigs will only set mode on VFOB once per run unless mode is changed
...
This allows subsequent rig_set_mode to execute quickly without any VFO juggling
If user twiddles with VFOB mode they are on their own
https://github.com/Hamlib/Hamlib/issues/872
2021-11-22 16:54:22 -06:00
Mike Black W9MDB
3fb9f50003
Improve simkenwood.c
2021-11-22 16:41:11 -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
Mike Black W9MDB
ba407cfcdf
Fix RIG_VFO_OTHER in icom.c set_vfo
...
https://github.com/Hamlib/Hamlib/issues/853
2021-11-20 17:02:48 -06:00
Mike Black W9MDB
6f308b9407
Fix timing simulation for dummy rotator
...
https://github.com/Hamlib/Hamlib/issues/861
2021-11-20 16:45:13 -06:00
Mike Black W9MDB
42284ef70b
Fix G command in netrigctl.c
...
https://github.com/Hamlib/Hamlib/issues/874
2021-11-20 16:26:47 -06:00
Mikael Nousiainen
39cec4aa27
Merge branch 'master' into async-reader
2021-11-20 22:50:55 +02:00
Michael Black
9b5e283e95
Merge pull request #875 from mikaelnousiainen/yaesu-apf-and-contour
...
Add contour, audio peak filter and keyer functions/levels for many Yaesu rigs
2021-11-20 14:31:48 -06: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
Mikael Nousiainen
f71712b23b
Add contour, audio peak filter and keyer functions/levels for many Yaesu rigs
2021-11-20 21:28:26 +02:00
Mike Black W9MDB
12f7bb4d8f
Change getnameinfo to return numeric IP instead of hostname to avoid Windows long delay on reverse lookups
...
https://github.com/Hamlib/Hamlib/issues/873
2021-11-20 11:52:39 -06:00
Mike Black W9MDB
4b3bbabc5d
Fix rig_set_split problem on Kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-19 16:19:18 -06:00
Mike Black W9MDB
050826bb44
Add send_voice_mem to ic7610.c
2021-11-19 14:16:27 -06: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
8c3e8fed28
Improved debug in rig_get_cache
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-18 10:42:58 -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
d9d247cad3
Add rig_lock to icom.c -- testing multicast capability
...
https://github.com/Hamlib/Hamlib/issues/695
2021-11-15 07:23:18 -06:00