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
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
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
57bb2b15d6
Update rig_bench.c for my local testing -- other can customize if needed
2021-11-01 23:43:17 -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
636acf2155
Add model name to dumpcaps output
2021-10-22 17:30:36 -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
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