Wykres commitów

1185 Commity (267184ad44eb703eaea274e612408739aae5faa5)

Autor SHA1 Wiadomość Data
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
AuroraRAS 7f27917dbc AndroidSensor codes improvement
append rotctl CLI tool to android.mk file
save target az/el to priv pointor, make them accessible more.
remove some c++ warnings.
bug fixes.
codes optimization.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-10-06 13:51:19 +08:00
AuroraRAS 1c3250f6f4 add androidsensor rotator
The androidsensor rotator is not a real rotator, it uses the accelerometer sensor and magnetic field sensor of the cell phone or tablet to perform attitude determination for your antenna and the phone tied to it.
Now you can wave your antenna to find radio signals.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-09-25 09:51:11 +08:00
Mike Black W9MDB e51e645d2a Fix rigtestlibusb.c to include config.h 2021-09-22 22:38:04 -05:00
Mike Black W9MDB 875104c395 Update comments in tests/Makefile.am 2021-09-22 13:25:07 -05:00
Mike Black W9MDB 0806896e3b Fix compilation when OS does not have libusb installed
https://github.com/Hamlib/Hamlib/issues/803
2021-09-21 23:32:12 -05:00
Mike Black W9MDB 9671a26858 Add mutex back to rigctld. Migrating to mutext locks on all rig functions
https://github.com/Hamlib/Hamlib/issues/695
2021-09-21 23:30:45 -05:00
Wouter van Gulik a3ab4a4312 Fix rig_cookie: use lock for reads and write.
Ensure we never print more then HAMLIB_COOKIE_SIZE otherwise we read
out-of-bounds.
Drop stray printf.
Add tests for invalid input and overly large input.
Fix test2 to release the cookie.
2021-09-20 22:10:55 +02:00
Mike Black W9MDB 63240f1671 Fix rigtestlibusb test_wrapped_device for libusb-1.0.22 or less 2021-09-18 06:08:16 -05:00
Mike Black W9MDB be3d79ce19 Change libusb warning in rigtestlibusb.c to Android-only
Doesn't appear wrapped usb devices are needed elsewhere
2021-09-17 10:09:39 -05:00
Mike Black W9MDB 12e184a0e8 Rename testlibusb to rigtestlibusb to avoid name collisions with other testlibusb.exe files 2021-09-15 23:45:16 -05:00
Mike Black W9MDB 8cc59cca3b Rigs have been at BETA status forever so promoting all to STABLE 2021-09-15 13:44:42 -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 f064241c64 Update testlibusb.c warning to "may be" instead of "will be" 2021-09-07 22:37:35 -05:00
Mike Black W9MDB 4679d0f2ef Make testlibusb.c compatible with libusb < 1.0.23 2021-09-07 07:03:53 -05:00
Mike Black W9MDB d1c824be5c Add simple.c example of rig_get_rig_info call 2021-09-03 10:17:51 -05:00
Mike Black W9MDB eaa39df66b Update tests/Makefile.am to not remove build scripts 2021-08-30 10:41:05 -05:00
Mike Black W9MDB 53b67d24ec Fix Startup information in rigctl and rigctld 2021-08-29 23:32:29 -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 9efa3c7259 Fix testcache.c 2021-08-28 10:31:00 -05:00
Mike Black W9MDB 9f0d5951cb Move Startup message after debug_set_level in rigctld.c 2021-08-28 09:53:19 -05:00
Mike Black W9MDB 1b52a009ef Move Startup debug line after set_debug_level 2021-08-28 09:10: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 ff61c407f0 Put simulators in their own directory...this is an ongoing project to make these more robust.
Simulators are currently used to debug things and need to improved to allow model selection and all the complexities of simulating multiple models
2021-08-26 06:47:14 -05:00
Mike Black W9MDB 547bd0fb55 Fix ANT get/set for IC756Pro series
https://github.com/Hamlib/Hamlib/issues/774
2021-08-22 16:40:48 -05:00
Mike Black W9MDB 1f515458fe Allow testlibusb to compile on < libusb-1.0.23
Generate warning for libusb-1.0.23 future requirement
https://github.com/Hamlib/Hamlib/issues/763
2021-08-20 10:21:10 -05:00
Mike Black W9MDB 6d829ec43f Fix without-libusb build to not build testlibusb 2021-08-17 17:53:14 -05:00
Mike Black W9MDB 87122795e7 Change tests/Makefile.am testlibusb to use LIBUSB_CFLAGS and LIBUSB_LIBS 2021-08-17 08:12:16 -05:00
Mike Black W9MDB a7cc7da17f Hopefully portable detection of libusb.h in testlibusb.c
https://github.com/Hamlib/Hamlib/issues/763
2021-08-16 22:24:51 -05:00
Mike Black W9MDB 0818062372 Add testlibusb to Makefile.am in tests
https://github.com/Hamlib/Hamlib/issues/763
2021-08-15 23:46:27 -05:00
Mike Black W9MDB 45935336cb Adding testlibusb.c 2021-08-14 10:39:00 -05:00
Mike Black W9MDB 5cab1acc0d In rigctld do not try to close fsockin/fsockout when null -- happens during error on fsockin or fsockout
https://github.com/Hamlib/Hamlib/issues/757
2021-08-05 07:50:15 -05:00
Mike Black W9MDB a44c3d08cf Update simelecraft 2021-08-04 09:48:07 -05:00
Mike Black W9MDB f5f4fdeca6 Add simicom 2021-08-04 09:47:30 -05:00
Mike Black W9MDB 38a258d52a Add simkenwood 2021-08-04 09:36:30 -05:00
Mike Black W9MDB 02577d43c0 Add simelecraft 2021-08-04 08:18:31 -05:00
Mike Black W9MDB 4bfd71f91f Fix Icom split and implement reverse split
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB 4b777bc14e Adding beginning of simyaesu 2021-08-01 12:19:44 -05:00
Mike Black W9MDB 9a2cc9ff62 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-07-25 22:18:25 -05:00
Lorenzo Santina e48e16beb0
Fixed rigctl ignore error command line 2021-07-26 01:40:34 +02:00
Mike Black W9MDB fa10d10e38 Add -R --rot_file2 option to rotctl and rotctld for 2nd rotator controller for RT21
https://github.com/Hamlib/Hamlib/issues/747
2021-07-23 23:28:02 -05:00
root dbdf86fa9a Fix testcache.c to avoid modifying constant 2021-07-14 23:22:46 -04:00
Mike Black W9MDB 75687ea273 Show startup arguments for rigctl and rigctld 2021-06-28 10:11:29 -05:00
Mike Black W9MDB 1f91bdb7a6 Fix compile warnings in testrig.c 2021-06-25 07:31:15 -05:00
Mike Black W9MDB dd2ed945fd Change default multicast to 0.0.0.0 for now until implemented and tested
https://github.com/Hamlib/Hamlib/issues/695
2021-06-21 16:52:27 -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
Michael Black c4e6ed39e6
Merge pull request #715 from mikaelnousiainen/fix-icom-transceive-and-spectrum-data-conflicts
Attempt to handle asynchronous rig output data in Icom backend
2021-05-31 08:31:42 -05:00
Mikael Nousiainen 3a67356bc1 Add some comments and improved debugging on SIGIO async data handling 2021-05-31 16:22:22 +03:00
Mike Black W9MDB fabec4a94c Improve rig_open error msg in rigctl.c and rigctld.c 2021-05-30 06:48:12 -05:00
Mikael Nousiainen de4bbd6a24 Add comment about implementing spectrum data multicast 2021-05-27 10:14:23 +03:00
Mikael Nousiainen 12527581b0 Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs. 2021-05-27 10:12:01 +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 556304d455 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-05-25 09:19:33 -05:00
Mike Black W9MDB ffeb98a0da Add cookie_use param to rigctl
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:18:20 -05: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 3e4ff69b96 Add multicast_item_e and change multicast_server API
https://github.com/Hamlib/Hamlib/issues/695
2021-05-23 07:40:08 -05:00
Mike Black W9MDB 3d780676b5 Finish rig_cookie
Not implemented anywhere yet but functional
2021-05-21 15:39:41 -05:00
Mike Black W9MDB cc1f277e5f Beginning of multicast capability
https://github.com/Hamlib/Hamlib/issues/695
2021-05-19 13:17:46 -05:00
Mike Black W9MDB fdf1f7f6f0 Fix newline in help in rigctld.c 2021-05-17 00:05:16 -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 9902ec796c Reduce rigctld verbosity when using direct commands from rigctl client
https://github.com/Hamlib/Hamlib/issues/690
2021-05-09 15:16:23 -05:00
Mike Black W9MDB 3da8bb344a New format for freq in memcsv.c 2021-05-09 13:46:33 -05:00
Mike Black W9MDB 7f60e1fcb0 Fix dummy rig to recognize Main/Sub VFOS -- this fixes "M CW 500"
Fix rig.c set_mode to recognize curr_vfo correctly
https://github.com/Hamlib/Hamlib/issues/689
2021-05-04 14:35:34 -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 92d01adaa1 Fix MinGW compile warning in dumpcaps.c 2021-05-01 13:06:32 -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 1cfa4c205c Remove SQLSTAT deprecated level 2021-04-24 09:17:53 -05:00
Mike Black W9MDB 9231c2f7e5 Some more change to bring rigctld dump_caps into line with rigctl dump_caps
https://github.com/Hamlib/Hamlib/issues/659
2021-04-24 08:47:01 -05:00
Mike Black W9MDB e0a3f8deac Fix rigctld caps ptt_type to reflect the connected rig
https://github.com/Hamlib/Hamlib/issues/659
2021-04-23 23:40:40 -05:00
Mike Black W9MDB b6a29f1e16 Update simicom.c to recognize VFOA/B and Main/Sub selections
Need to get simicom.c to have optional capabilities for the different CI-V capabilities of Icom rigs
2021-04-23 11:01:53 -05:00
Mike Black W9MDB b0e006ce6c astyle files 2021-04-21 23:48:29 -05:00
Mike Black W9MDB e42571de9c Change default device in testrig.c to show pts usage 2021-04-21 23:47:42 -05:00
Mike Black W9MDB 994bfe4ffe Add 0x04 command to simicom.c 2021-04-21 17:48:44 -05:00
Mike Black W9MDB 7e7e2cb1ac Add hamlib version so simicom.c 2021-04-18 11:42:08 -05:00
Mike Black W9MDB cfa42f2365 Beginning of Icom simulator -- does not work on Windows yet 2021-04-17 22:48:14 -05:00
Mike Black W9MDB cec6216388 Fix vfo_fixup
https://github.com/Hamlib/Hamlib/issues/663
2021-04-14 16:56:38 -05:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Mike Black W9MDB 974d978eaa Eliminate debug msg from rigctld.c 2021-04-12 08:33:58 -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 758e9bc3a7 Use different method to detect rigctld port being offline 2021-04-10 11:07:10 -05:00
Mike Black W9MDB 601f0ab1f1 Allow rigctl to reopen port if it has been closed 2021-04-10 10:43:49 -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
Mike Black W9MDB 6901bb1cda Remove vfo_mode printout 2021-04-09 15:16:41 -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 33e9839080 Add vfo list printout to testrig.c 2021-03-26 10:31:59 -05:00
Michael Black W9MDB 79b5142c44 Fix tests/Makefile.am to build all tests items correctly 2021-03-21 22:56:43 -05:00
Michael Black W9MDB 21426c1eef Fix tests/Makefile.am to refer to correct hamlibdatetime.h 2021-03-21 22:29:20 -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 1fdbebd7b2 Fix rigctlcom VFOB set_freq
https://github.com/Hamlib/Hamlib/issues/620
2021-03-20 11:51:41 -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 1224e9f6ba Move hamlibdatetime.h generation to src directory
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 23:14:13 -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
Michael Black W9MDB dee6bd6524 Add SA command handling to rigctlcom.c
https://github.com/Hamlib/Hamlib/issues/620
2021-03-19 14:59:42 -05:00
Michael Black W9MDB ab0ae7d6b1 https://github.com/Hamlib/Hamlib/issues/618 2021-03-19 11:19:15 -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 1ba72fa725 Improve caching
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB 1d23fb6358 Fix some errors with the HAMLIB_ macro changes 2021-03-11 06:42:21 -06:00
Michael Black W9MDB c2cab54650 Change all FILPATHLEN names to HAMLIB_FILPATHLEN 2021-03-09 10:16:18 -06:00
Michael Black W9MDB be3748d383 https://github.com/Hamlib/Hamlib/issues/514 2021-03-08 09:54:24 -06:00
Michael Black W9MDB 94e51bfa24 rigctld.c add retry of rig_open with an IO error
https://github.com/Hamlib/Hamlib/issues/560
2021-03-07 09:03:37 -06:00
Michael Black W9MDB 1fcb9404b9 More changes to support macro renaming 2021-03-06 14:59:57 -06:00
Michael Black W9MDB f88c3f4a4c Fix mingw compilation errors on new rig_debug macro 2021-03-05 12:03:40 -06:00
Michael Black W9MDB c3a1b489b7 Add return code to debug statements
Remove some RETURNFUNC that don't work with this change
2021-03-05 11:51:56 -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 20a7111c54 Changing testrigcaps to give a warning on power_max instead of an error
Added comments to rig_state explain fragility of shared library effects
vfo_list is the only known item that really matters to if that changes it will fail make check
https://github.com/Hamlib/Hamlib/issues/581
2021-03-03 09:09:48 -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
Michael Black W9MDB 10fbe9bd4a Change get_vfo_info to also return split
Since this is still a new call in 4.2 not considering this an API breakage
since it shouldn't be in common use yet
2021-03-01 14:56:21 -06:00
Michael Black W9MDB f5e14a09b6 Fix cppcheck warnings in testrigcaps.c and testrigopen.c 2021-02-28 12:43:23 -06:00
Michael Black W9MDB ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB 0aec4d8bea rigctl now aborts after 3 retries to open the rig again
https://github.com/Hamlib/Hamlib/issues/560
2021-02-22 23:13:29 -06:00
Michael Black W9MDB 965ad4c642 Add some info to simyaesu.c 2021-02-21 23:38:21 -06:00
Michael Black W9MDB c915d373e7 Add simyaeus to help test yaesu commands 2021-02-21 23:36:57 -06:00
Michael Black W9MDB 529685ab69 Disable rigctld error check with rig_close/rig_open -- more investigation needed
https://github.com/Hamlib/Hamlib/issues/556
2021-02-20 10:24:08 -06:00
Michael Black W9MDB 185a938a76 Add twiddle_timeout and twiddle_rit --set-conf options
rigctld --set-conf=twiddle_timeout=5,twiddle_rit=1
This will set the twiddle timeout to 5 seconds and turn on twiddle_rit
For twiddle timeout VFOB will not be poller for 5 seconds after VFO twiddling is detected.  For RIT VFOB get_freq is suppressed and returns the cached value only (set_freq on VFOB still works).
rigctld --twiddle is deprecated and will be removed in 5.0
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 11:15:02 -06:00
Michael Black W9MDB 636d64d114 Fix compile warning try#2 in rigctl_parse.c 2021-02-18 07:11:03 -06:00
Michael Black W9MDB bd2384e55e Fix compile warning in rigctl_parse.c 2021-02-18 07:04:21 -06:00
Michael Black W9MDB 06723c959b Limit the error retry in rigctld.c to 4 times
https://github.com/Hamlib/Hamlib/issues/551
2021-02-18 06:48:06 -06:00
Michael Black W9MDB 64b0b37d49 Move comma correct to outer level to apply in both usage cases 2021-02-11 15:52:29 -06:00
Michael Black W9MDB 4f73d24666 Correct for commas in set_level values done by Java in international mode 2021-02-11 15:25:44 -06:00
Michael Black W9MDB 6ffbf168d0 Add get_vfo_list command so rigctl can see available vfos
Should allow Log4OM to query VFOB/Sub freq now
Another fix to argumenet prompting with rigctl/rigctld
Add 2nd line of return for rigerror -- we well gradually be improving error info
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 17:32:59 -06:00
Michael Black W9MDB 9251dfa909 FIx rigctl/rigctl parsing of extended commands and arg prompting
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 12:35:50 -06:00
Michael Black W9MDB 306345442c Fix 2nd argument parsing in rigctl_parse.c 2021-02-08 16:59:07 -06:00
Michael Black W9MDB b3c23f82ef Fix extra VFO: print out when rigctl --vfo is used and VFO argument is given
https://github.com/Hamlib/Hamlib/issues/535
2021-02-08 10:42:24 -06:00
Michael Black W9MDB 418e963c86 Add \get_vfo_info to rigctl and rigctld to allow geting freq/mode/width by vfo in one call
Overcomes limitation of f command where vfo swapping is needed if not in --vfo mode
rig_get_vfo_info function added
Log4OM should be able to get VFOB frequency on most rigs
https://github.com/Hamlib/Hamlib/issues/530
2021-02-07 12:45:59 -06:00
Michael Black W9MDB 1d8a010493 Fix 2nd arg prompt for rigctl
https://github.com/Hamlib/Hamlib/issues/447
https://github.com/Hamlib/Hamlib/issues/339
2021-02-05 17:40:10 -06:00
Michael Black W9MDB 9394a6cfe4 Fix link error with testloc.c 2021-01-30 22:16:14 -06:00
Michael Black W9MDB 620c97fe12 Remove debug from rigctl.c 2021-01-28 14:35:53 -06:00
Michael Black W9MDB c717bb5d76 Improve -V version info 2021-01-25 22:24:57 -06:00
Michael Black W9MDB 1b89407a8d Fix compilation of rigctld.c on mingw 2021-01-24 17:19:58 -06:00
Michael Black W9MDB 2be172ac4e Improve robustness of rigctld
Now retries opening indefinitely
Improved client side too
Error message should now show timeout if rig disappears
2021-01-24 10:51:19 -06:00
Michael Black W9MDB e7b6e61ed0 astyle files prepping for 4.1 release 2021-01-22 10:41:30 -06:00
Michael Black W9MDB d6baea110e Add 32-bit Intel and 32-bit Arm checks to rigtestcaps.c 2021-01-21 23:54:21 -06:00
Michael Black W9MDB 39e4aad778 Another attempt to get testrigcaps to recognize compiler differences 2021-01-21 12:04:46 -06:00
Michael Black W9MDB fbce397f3b Fix testrigcaps for ming32, ming64, and all others
Structure packing may be different yet on some other compilers
2021-01-21 09:36:46 -06:00
Michael Black W9MDB 619e130483 Add 32-bit values to testrigcaps.c
This may still need changes for different compilers with different structure packing
2021-01-21 08:15:55 -06:00
Michael Black W9MDB 8cad9dc200 Adding testrigopen.c 2021-01-20 11:16:48 -06:00
Michael Black W9MDB a4d9dac5ce Add testritgcaps to make clean 2021-01-20 11:15:12 -06:00
Michael Black W9MDB 05728f74eb Fix testrigcaps.c 2021-01-20 10:46:07 -06:00
Michael Black W9MDB e32e47a858 Add testrigcaps to catch potential shared library problems
Add testrigopen to test time it takes to timeout when rig is powered off
2021-01-20 10:44:37 -06:00
Michael Black W9MDB 6fbf33e8ed Undo changes on testrig.c 2021-01-09 23:17:37 -06:00
Michael Black W9MDB 6e8b90aeec Fix cppcheck warnings 2021-01-09 15:19:19 -06:00
Michael Black W9MDB ca8ed30f8f astyle files 2021-01-09 10:13:17 -06:00
Michael Black W9MDB 0089964af7 Add some dumpcaps values to allow for set/get_freq and set/get_vfo functions
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 16:37:53 -06:00
Michael Black W9MDB 7a9e909b61 Add Barrett 950
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:15:42 -06:00
Michael Black W9MDB 15958c8aab Fix parsing of SH command in newcat.c
Remove get_vfo from FT-891
https://github.com/Hamlib/Hamlib/issues/455
2020-12-06 22:54:47 -06:00
Michael Black W9MDB 1b2236bb2e Fix example.c to include rotator.h 2020-12-06 08:49:13 -06:00
Michael Black W9MDB 99d568df72 Fix compilation with libxml2
https://github.com/Hamlib/Hamlib/issues/456
2020-12-05 10:01:55 -06:00
Mikael Nousiainen 457211a7e3 Add get_status command for rotator status flags. Add missing rotator caps in dumpcaps output. 2020-12-03 21:40:34 +02:00
Mikael Nousiainen a661bee283 Add rotator funcs/levels/parms to rotator caps dump 2020-12-02 22:35:38 +02:00
Mikael Nousiainen bb315270bf Merge branch 'master' into rotator-speed-control-and-status 2020-12-02 21:46:23 +02:00
Michael Black W9MDB eb8082b1f8 Fix rig_get_channel API change in dumpmem.c
https://github.com/Hamlib/Hamlib/issues/430
2020-12-02 07:10:12 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Mikael Nousiainen a48f149955 Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress. 2020-11-24 21:51:10 +02:00
Michael Black W9MDB a475ebf017 Add debug to rotctlparse.c 2020-11-23 08:46:15 -06:00
Nonoo 2deeca86dc Fix decimal separators which sscanf can't handle
This is a workaround for some apps like Gpredict, which use comma as a decimal
separator (depending on locale settings), but sscanf in Hamlib can only handle
dots.
2020-11-14 08:56:37 +01:00
Michael Black W9MDB fe672e8115 Fix cppcheck for memcsv.c 2020-10-31 17:18:08 -05:00
Michael Black W9MDB ce7a30f038 remove some cppcheck statements not needed anymore 2020-10-29 12:52:09 -05:00
Michael Black W9MDB a70e45413a Expand argument sizes for rigctl in order to accommodate Yaesu BS command reponse length
https://github.com/Hamlib/Hamlib/issues/424
2020-10-25 06:43:48 -05:00
Michael Black W9MDB 948e9d5f99 astyle files 2020-10-23 11:36:42 -05:00
Michael Black W9MDB 4e748df12b Add -x/--uplink switch for GPredict. Will avoid reading freq from the uplink VFO 1=Sub, 2=Main
This will likely deprecate the twiddle option
https://github.com/Hamlib/Hamlib/issues/404
2020-10-23 11:34:42 -05:00
Michael Black W9MDB d4e1e91272 Fix rigctl -W and --twiddle_timeout 2020-10-22 16:04:53 -05:00
Michael Black W9MDB f52007d02d Fix twiddle short command 2020-10-20 16:20:05 -05:00
Michael Black W9MDB 4c43689d6c Add wait_morse to rigctl_parse.c
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 14:22:42 -05:00
Michael Black W9MDB f5e22acbaf Shorten wording on mw2power to clean up menu alignment 2020-10-18 12:28:15 -05:00
Bill Somerville 25851f74e1
Remove temporary file 2020-10-17 21:23:33 +01:00
Bill Somerville 2c5aaff0c4
Another attempt at a reliable SCS version header generation 2020-10-17 17:17:37 +01:00
Bill Somerville e149c9980f
Correct use of sh if 2020-10-17 13:35:16 +01:00
Bill Somerville d81a027063
Minimize rebuilding 2020-10-17 13:32:49 +01:00
Bill Somerville d866d4dc33
Force copy over existing 2020-10-17 13:25:35 +01:00
Bill Somerville c8a30f2ef3
Build hamlibdatetime.h every time 2020-10-17 12:30:08 +01:00
Bill Somerville 93560bf682
Fix rebuild dependency 2020-10-17 12:25:40 +01:00
Bill Somerville aab02e5a27
Use BUILT_SOURCES make mechanism as intended 2020-10-17 12:11:47 +01:00
Michael Black W9MDB de20ee6533 Fix hamlibdatetime.h error for in-git build 2020-10-16 23:17:28 -05:00
Bill Somerville 146bdf7d41
Fix make dist versioning 2020-10-17 03:18:30 +01:00
Bill Somerville f38ee5c6f1
Ensure old hamlibdatetime.h headers in the source dir are ignored 2020-10-17 02:31:17 +01:00
Bill Somerville 8872ee50ad
Make version recording safe for parallel builds
without breaking make dist, developer, builds, downstream builds
whether in-source or out-of-source. Done by putting generated files in
the build tree rather than the source tree.
2020-10-17 01:48:24 +01:00
Michael Black W9MDB 05d57f5867 Fix the git tree build 2020-10-16 18:20:11 -05:00
Michael Black W9MDB 892c2bd634 Change tests/Makefile.am to put hamlibdatetime.h in the build directory to support parallel builds 2020-10-16 17:16:22 -05:00
Michael Black W9MDB 5add4b343d Add rig_stop_morse to API and stop_morse command for rigctl
No rigs implemented yet
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 08:41:57 -05:00
Michael Black W9MDB 7c78530da2 remove cppcheck items from uthash.h 2020-10-15 12:49:29 -05:00
Daniele Forsi 1e00e4e8db Fix typos
Command line:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor,objext,ans
2020-10-11 18:03:50 +02:00
Michael Black W9MDB 6d51f65528 astyle files 2020-10-06 23:14:27 -05:00
Michael Black W9MDB fca4cc7903 Lots of changes to get Main/Sub recognized across rigctl/rigctld boundary
Needs lots of testing
https://github.com/Hamlib/Hamlib/issues/395
2020-10-06 21:50:37 +01:00
Michael Black W9MDB 0e44e2f317 Move dummy to rigs directory
Remove unneeded references to dummy
2020-10-05 09:58:20 -05:00
Michael Black W9MDB 293a844c41 Fix W command speed by using bytes requested correctly
read_string now recognizes binary strings to read 5X more bytes
Fixed Reply: prompt double output and space after :
https://github.com/Hamlib/Hamlib/issues/387
2020-10-02 17:23:48 -05:00
Michael Black W9MDB 7bee01f785 Add suppress for AST broken bug in cppcheck 2020-09-19 16:09:44 -05:00
Mikael Nousiainen 23971f8e75 Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump. 2020-09-16 18:10:35 +03:00
Michael Black W9MDB f9da2d0b82 Remove RIG_LEVEL_BRIGHT from dumpmem.c 2020-09-11 08:04:43 -05:00
Michael Black W9MDB 275db971cd Remove sleep on rigctld EOF -- don't think it's really needed
https://github.com/Hamlib/Hamlib/issues/366
2020-09-07 08:53:39 -05:00
Michael Black W9MDB 1b6d67a278 Fix stack smash in sprintflst when long lists occur
Need to pass length into these functions
2020-09-06 16:45:52 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB 110cfe7abd Remove warning from ampctl.c 2020-09-02 22:13:11 -05:00
Michael Black W9MDB fade1681fa Fix cppcheck errors and warnings 2020-09-02 16:56:11 -05:00
Michael Black W9MDB e459d4edc2 astyle files 2020-09-01 09:06:46 -05:00
Michael Black W9MDB 119f5e6eb9 Remove itu_region from rigctl_paparse.c and replace with constant 0 -- it's not used at all by any rig 2020-07-24 12:57:33 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 6f8100ffc0 Fix cppcheck warnings 2020-07-08 11:48:48 -05:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Michael Black W9MDB 0db3eafe66 Fix rigctl argument prompt for non-readline capable system
https://github.com/Hamlib/Hamlib/issues/339
2020-07-06 10:15:57 -05:00
Michael Black W9MDB 0fb7148172 Fix compilation warning in cachetest.c 2020-07-04 11:41:42 -05:00
Michael Black W9MDB 5ebb95bb43 Add testnet.c for testing IPV4/IPV6 address/port combinations 2020-07-04 07:21:02 -05:00
Michael Black W9MDB ed3a26296d Fix cppcheck warnings 2020-07-04 07:17:45 -05:00
Michael Black W9MDB b181c1720c Fix compile error on cachetest2.c 2020-07-03 08:37:17 -05:00
Michael Black W9MDB 88cf2f6da6 Fix compile error on cachetest.c 2020-07-03 08:35:39 -05:00
Michael Black W9MDB fa08887471 Change hamlib_cache_t enums to HAMLIB namespace 2020-07-02 10:23:41 -05:00
Michael Black W9MDB bda6d1d12d Fix make check compilation 2020-07-02 08:32:01 -05:00
Michael Black W9MDB f454cff0b7 Add check for -s switch on all utils to ensure integer is entered 2020-07-01 08:52:44 -05:00
Michael Black W9MDB 65de309e70 Fix rigctlcom to work with Main/Sub rigs too
https://github.com/Hamlib/Hamlib/issues/302
2020-06-23 22:57:36 -05:00
Michael Black W9MDB a9d43a1fbe Remove rig_flush from rigctlcom.c -- OmniRig not happy being flushed
https://github.com/Hamlib/Hamlib/issues/273
2020-06-23 17:19:48 -05:00
Michael Black W9MDB dfef8770cd Move chk_vfo_executed so it will work without readline support
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:21:22 -05:00
Michael Black W9MDB 1fa84652f4 Fix compatibility between 3.3 rigctl and 4.0 rigctld
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:12:15 -05:00
Michael Black W9MDB 055ac839c0 Add debug to rigctl_parse.c to show full command
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 10:14:10 -05:00
Michael Black W9MDB 1be5c71e76 More conversions to rig_flush
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:39:11 -05:00
Michael Black W9MDB ac1f990474 Remove AI_CANONNAME from rigctld.c
Didn't work with simple "rigctld" and no -T
https://github.com/Hamlib/Hamlib/issues/298
2020-06-22 09:52:08 -05:00
Michael Black W9MDB a3c4eb9ee0 Fix cppcheck warnings 2020-06-21 22:31:31 -05:00
Michael Black W9MDB e092a4a0a4 rigctld -T ::1 now works with rigctl -r ::1
More IPV6 testing needed on Windows and MacOS
Still not binding to link local addresses to be addressed next
https://github.com/Hamlib/Hamlib/issues/29
2020-06-21 17:47:04 -05:00
Michael Black W9MDB 542e227f85 Remove retries for rigctl.c rig_open as they were never used and didn't work 2020-06-19 06:55:56 -05:00
Michael Black W9MDB 8e7586b3b2 Fix meade Autostart clause 2020-06-10 08:16:02 -05:00
Michael Black W9MDB f71c12da94 astyle files 2020-06-09 22:37:03 -05:00
Michael Black W9MDB 490e05595a Fix debug statement warnings in cachetest.c 2020-06-09 14:57:29 -05:00
Michael Black W9MDB 1485a19e47 Fix testloc.c dmmm2dec function change
https://github.com/Hamlib/Hamlib/issues/286
2020-06-07 15:08:52 -05:00
Michael Black W9MDB 4a24f63f0f Undo readline change 2020-06-05 23:48:09 -05:00
Michael Black W9MDB 30d0335983 Fix rl_readline_name in rigctl.c 2020-06-05 23:40:52 -05:00
Bill Somerville 7d53c28ac2
Avoid 'echo -n' as macOS sh doesn't support it 2020-06-06 00:58:13 +01:00
Michael Black W9MDB 6fd6488d63 Add SHA to version info 2020-06-04 12:18:41 -05:00
Michael Black W9MDB 17b404a6c7 Add seconds to dmmm2dec
Change meade.c to support dmmm2dec seconds
https://github.com/Hamlib/Hamlib/issues/268
2020-06-03 22:33:56 -05:00
Michael Black W9MDB 207c50f36b Fix rigctlcom split indication in IF generation
Add some debug to see the cmd being requested by the client
https://github.com/Hamlib/Hamlib/issues/272
2020-06-01 12:11:15 -05:00