Mike Black W9MDB
2f15661067
Update testrigcaps.c for Linux 64-bit build
2021-12-27 09:03:34 -06:00
Mike Black W9MDB
3da4a9ea74
Revert "Revert "Add testgrid and move grid lat/lon functions to rig.h""
...
This reverts commit 1601375f7a
.
2021-12-26 10:07:24 -06:00
Mike Black W9MDB
1601375f7a
Revert "Add testgrid and move grid lat/lon functions to rig.h"
...
This reverts commit d510893f7e
.
This may have messed up DLL compatibility
2021-12-26 09:53:58 -06:00
Mike Black W9MDB
499ffcc1f8
Add testgrid.c
2021-12-24 13:21:13 -06:00
Mike Black W9MDB
d510893f7e
Add testgrid and move grid lat/lon functions to rig.h
...
This will support future gps integrations for autogrid during mobile operations
2021-12-24 13:13:56 -06: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
4c0af35163
Update testcache to not use PTT for dummy device
2021-12-13 09:15:51 -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
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
4d1e7e63f1
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-12-05 09:46:42 -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
Daniele Forsi IU5HKX
c6fbc8e682
The -M option needs an argument like its long version "multicast-addr"
2021-12-04 10:57:41 +01: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
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