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
4fa2d68477
Add rig_model and rigctld_version to dump_caps in rigctl_parse.c
2021-12-11 22:54:54 -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
d38a248fda
set/get_clock routines for IC7100/7300/7600/7610/7700/7800/785x/9700
...
https://github.com/Hamlib/Hamlib/issues/851
2021-12-01 22:52:55 -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
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
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
42284ef70b
Fix G command in netrigctl.c
...
https://github.com/Hamlib/Hamlib/issues/874
2021-11-20 16:26:47 -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
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
a7a97776bb
Revert "Remove VFO argument from stop_morse, wait_morse, send_voice_mem, and get_dcd"
...
This reverts commit c3d1e1559a
.
2021-10-23 10:13:30 -05:00
Mike Black W9MDB
c3d1e1559a
Remove VFO argument from stop_morse, wait_morse, send_voice_mem, and get_dcd
...
None of these should require a vfo
2021-10-22 13:02:02 -05:00
Mike Black W9MDB
a8a317f6ab
Move parse_mode error message to the function itself
2021-10-16 09:45:24 -05:00
Mike Black W9MDB
4462fe423e
Add USB-D and LSB-D to mode_map for Log4OM mode requests
2021-10-16 09:20:24 -05:00
Mike Black W9MDB
5db5c47ce2
Fix rigctl send_morse command when in vfo mode
2021-09-10 05:46:13 -05:00
Mike Black W9MDB
a0672e4f7e
Fix rigctl/rigctld interaction regression from issue 773
...
https://github.com/Hamlib/Hamlib/issues/778
https://github.com/Hamlib/Hamlib/issues/773
2021-08-29 09:59:47 -05:00
Mike Black W9MDB
36387c8af7
Put rigctl flow debug in if statement
...
https://github.com/Hamlib/Hamlib/issues/773
2021-08-29 00:03:27 -05:00
Mike Black W9MDB
d16fa490d7
Fix display of arguments for rigctl non-readline version
...
https://github.com/Hamlib/Hamlib/issues/773
2021-08-28 23:44:35 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Mike Black W9MDB
72da9f645c
Fix ptt settings using rigctld -P
...
https://github.com/Hamlib/Hamlib/issues/727
2021-06-21 16:48:06 -05:00
Mike Black W9MDB
a63d009035
Remove some more debug
2021-06-01 07:17:11 -05:00
Mike Black W9MDB
c5378b9f70
Remove some more debug
2021-06-01 07:10:44 -05:00
Mike Black W9MDB
aa161f1598
Comment out some debug from rigctl_parse.c
2021-06-01 07:03:24 -05:00
Mikael Nousiainen
de4bbd6a24
Add comment about implementing spectrum data multicast
2021-05-27 10:14:23 +03:00
Mikael Nousiainen
a7de662937
Merge branch 'master' into initial-spectrum-scope-support
2021-05-26 23:41:38 +03:00
Mikael Nousiainen
b4ba22d369
Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress.
2021-05-26 23:40:53 +03:00
Mike Black W9MDB
39951dc288
Fix segfault when using rig_get_info stacked calls
...
rigctl get_vfo_info VFOA get_vfo_info VFOB
2021-05-25 08:09:01 -05:00
Mike Black W9MDB
2acbd22173
Fix multi-command rigctl capability for readline capable build
...
https://github.com/Hamlib/Hamlib/issues/711
2021-05-24 10:51:08 -05:00
Mike Black W9MDB
47cf245826
Fix +\get_vfo_list to put RPRT on a separate line
2021-05-12 22:44:33 -05:00
Mike Black W9MDB
78a697e582
Add rig_get_mode_bandwidths -- see NEWS
...
Return token set of bandwidths for given mode
2021-05-03 15:35:56 -05:00
Mike Black W9MDB
5bafde9ae6
Add bandwidths to get_modes
2021-05-03 11:26:41 -05:00
Mike Black W9MDB
231f9faad8
Add get_modes call to return list of rig modes
2021-05-03 09:24:02 -05:00
Mike Black W9MDB
16f5502af0
Fix get_vfo_info args
...
It still incorrectly gives a Freq prompt for the VFO.
2021-05-01 15:52:11 -05:00
Mike Black W9MDB
a27595d71e
Fix segfault in rigctl_parse.c when rig does not have ctcss_list or dcs_list
2021-04-30 15:42:03 -05:00
Mike Black W9MDB
e3255e7a8d
Comment out work in progress in rigctl_parse.c
2021-04-29 17:25:54 -05:00
Mike Black W9MDB
81e3e2e5d2
astyle files
2021-04-29 17:23:37 -05:00
Mike Black W9MDB
604516ed8f
Clean up mingw compiler warning for tones.h
...
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 17:16:51 -05:00
Mike Black W9MDB
386b08dc4f
Add ctcss_list and dcs_list to rigctld so rigcctld caps reflects the connected rig
...
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 10:49:29 -05:00
Mike Black W9MDB
5473249e9a
Add power2mW and mW2power to netrigctl.c
2021-04-28 17:39:08 -05:00
Mike Black W9MDB
af499a979e
Fix freqB on rig_get_rig_info
...
https://github.com/Hamlib/Hamlib/milestone/7
2021-04-27 12:13:15 -05:00
Mike Black W9MDB
6b13c6c3a3
New rig_get_rig_info function
...
Also get_rig_info in rigctld too
Example output with rig in split mode
This is a string return to allow for easy future expansion without changing the API
New tokens may be introduced and can be skipped if not used by clients
VFOA Freq=10133000 Mode=LSB Width=0 RX=1 TX=0
VFOB Freq=10134000 Mode=LSB Width=0 RX=0 TX=1
Split=1 SatMode=0
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 11:51:43 -05:00
Mike Black W9MDB
6c13951da8
Add satmode to rig_get_vfo_info
...
Add prototype for rig_get_rig_info
https://github.com/Hamlib/Hamlib/issues/682
2021-04-27 10:32:12 -05:00
Mike Black W9MDB
b0e006ce6c
astyle files
2021-04-21 23:48:29 -05:00
Mike Black W9MDB
778758200e
A more robust rigctld that can survive the rig disappearing and coming back again.
...
This means when a rigctld client sees RIG_EIO it can keep polling and will reconnect when the rig reappears.
2021-04-10 14:22:53 -05:00
Mike Black W9MDB
c4e37ef277
Add timeout to dump_state so rigctld will use the rig's timeout value plus 200ms for additional network delays
2021-04-09 15:35:30 -05:00
Michael Black W9MDB
dd156f74e2
astyle files in preparation for 4.2 release
2021-03-26 14:26:56 -05:00
Michael Black W9MDB
0ba0b55b87
Remove debug from rigctl_parse.c
2021-03-20 23:19:01 -05:00