Wykres commitów

238 Commity (d857f181635059fd6c227f758cffd0707f26ffe5)

Autor SHA1 Wiadomość Data
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
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
Michael Black W9MDB 8c11f888a3 Fix rigctld return blank mode for rig_get_vfo_info 2021-03-20 16:58:38 -05:00
Michael Black W9MDB bb43078b25 More work on SATMODE for rigctlcom.c
https://github.com/Hamlib/Hamlib/issues/620
2021-03-20 11:21:11 -05:00
Michael Black W9MDB 6eee309b56 Improve rig_get_version and hamlib_version2 information to include commit information
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -05:00
Mikael Nousiainen 90112b5769 First attempt at fixing rigctl_parse return values and unnecessary rig re-open cycles 2021-03-16 23:39:35 +02:00
Michael Black W9MDB 3bc39aaec1 astyle files is preparation for 4.2 release 2021-03-15 17:51:22 -05:00
Michael Black W9MDB be3748d383 https://github.com/Hamlib/Hamlib/issues/514 2021-03-08 09:54:24 -06:00
Michael Black W9MDB 1fcb9404b9 More changes to support macro renaming 2021-03-06 14:59:57 -06:00
Michael Black W9MDB 635372ae84 Remove debug from rigctl_parse.c 2021-03-04 15:29:57 -06:00
Michael Black W9MDB 247c90d4b0 Should fix icom power on
A little more cleanup to come
https://github.com/Hamlib/Hamlib/issues/583
2021-03-04 12:18:00 -06:00
Michael Black W9MDB 82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00