Mike Black W9MDB
4f4b14f771
Fix compiler warning in iofunc.c
2021-12-20 09:17:27 -06:00
Mikael Nousiainen
baea7e8c9a
Merge upstream changes and fix conflicts. Update NEWS.
2021-12-20 10:06:42 +02:00
Mikael Nousiainen
2cd18ffa3c
Improve multicast UDP snapshot data documentation
2021-12-20 09:53:21 +02:00
Dawid SQ6EMM
0d8e1355bd
Let SEND_MORSE and SEND_VOICE_MEM be announced as capabilities.
2021-12-20 00:30:24 +01:00
Mikael Nousiainen
cd9a24b72e
Merge upstream changes and fix conflicts
2021-12-18 23:53:42 +02:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
41eb23bb26
Update jst145
...
Add and fix agclevel calls
2021-12-13 16:15:26 -06:00
Mikael Nousiainen
1d067d6a43
Merge branch 'master' into async-reader
2021-12-12 23:05:48 +02:00
Mikael Nousiainen
56c95b1529
Merge upstream changes and fix conflicts
2021-12-12 23:05:26 +02:00
Mike Black W9MDB
5e15159c79
Move debug in set_ptt to see logic for serial port sharing
2021-12-12 08:17:30 -06:00
Michael Black W9MDB
b90c745239
Add levelagcvalue and levelagcstr functions
...
https://github.com/Hamlib/Hamlib/issues/883
2021-12-10 08:39:16 -06:00
Mike Black W9MDB
759918aac6
Fix date_strget DLL export
...
https://github.com/Hamlib/Hamlib/issues/882
2021-12-07 12:17:02 -06:00
Mike Black W9MDB
c67f21bf96
Fix timezone to zero for UTC time values
...
https://github.com/Hamlib/Hamlib/issues/851
2021-12-06 11:57:45 -06:00
Mike Black W9MDB
cb80f2b18d
Fix date_strget to use the "T" seperator for ISO8601 standard
...
https://github.com/Hamlib/Hamlib/issues/851
2021-12-06 11:50:30 -06:00
Mike Black W9MDB
67e18b865e
https://github.com/Hamlib/Hamlib/issues/851
...
Fix msys ISO8601 date time string -- hopefully portable everywhere
2021-12-06 11:43:22 -06:00
Mike Black W9MDB
674a9868d9
Implement ISO8601 time standard in more places.
...
Debug time now shows localtime + utc offset
Rigs that can set the clock now can set either local or utc time on the rig
Icom rigs can only display clock#1 right now so users may want either local or utc
So here are IC7300 examples
rigctl -m 3073 -r com3 -s 115200 set_clock local
rigctl -m 3073 -r com3 -s 115200 set_clock utc
2021-12-06 10:23:18 -06:00
Mike Black W9MDB
07cac7be76
Move ELAPSED macros to rig.h for global use
...
Add ELAPSED to get_vfo_info in rigctl_parse.c
2021-12-05 09:46:00 -06:00
Mike Black W9MDB
a1da584bc1
Add HAMLIB_CACHE_ALWAYS to rig_get_mode
...
https://github.com/Hamlib/Hamlib/issues/880
2021-12-02 16:53:22 -06:00
Mike Black W9MDB
b5a4e99a3e
Add HAMLIB_CACHE_ALWAYS
...
Enable for rig_get_freq
https://github.com/Hamlib/Hamlib/issues/880
2021-12-02 16:44:39 -06:00
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
618cf90145
Ensure map_arg is zeroized in mem.c
2021-11-28 16:44:16 -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
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
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
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
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
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
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
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
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
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
3de368f6a2
Add rig_lock and rig_unlock to support serial I/O locking for a transaction
...
https://github.com/Hamlib/Hamlib/issues/695
2021-11-15 07:16:31 -06:00
Mike Black W9MDB
f044c2bfdd
If VFO_RX requested use rx_vfo
...
https://github.com/Hamlib/Hamlib/issues/866
2021-11-14 22:52:10 -06:00
Mike Black W9MDB
8b5685425a
For non-targetable VFOs we will set VFO on every set_freq
...
https://github.com/Hamlib/Hamlib/issues/865
2021-11-11 17:10:57 -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
e64a128f3a
In rig_set_split_mode and rig mode is not targetable we disable split, set mode, and re-enable to avoid vfo flashing.
...
This disable is moved behind the targetable mode now as it should not be required in that case
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 23:52:21 -06:00
Mike Black W9MDB
61141126c1
Add more ELAPSED timings
2021-11-09 23:20:02 -06:00
Mike Black W9MDB
68edfe3357
Add more ELAPSED timings
2021-11-09 23:14:44 -06:00
Mike Black W9MDB
9eccaec6af
Improve debug in rig_get_split_vfo
2021-11-09 23:07:02 -06:00
Mike Black W9MDB
eed9637675
Do not change split freq if change not needed
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:06:48 -06:00
Mike Black W9MDB
b17d681fc2
More portable debug method -- should work on any compiler
2021-11-08 10:28:28 -06:00