Mike Black W9MDB
499198bf50
Basic rigctld password working -- still need to add secure method -- plain text right now
...
https://github.com/Hamlib/Hamlib/issues/813
2022-03-01 11:39:11 -06:00
Mike Black W9MDB
b3d93cc231
Remove testsecurity from tests/Makefile.am
...
Will implement later
https://github.com/Hamlib/Hamlib/issues/813
2022-02-28 13:08:41 -06:00
Mike Black W9MDB
2c43ee5f0c
Fix compilation warning on rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:50:57 -06:00
Mike Black W9MDB
9ae519fc41
Working on password access for rigctld -- not fully implmented yet
...
Need to check on security audit and cross-platform compilation first
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:28:25 -06:00
Mike Black W9MDB
3df4571ec4
Allow rigctl w command to time out faster
2022-02-06 08:24:37 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
f08c7d7e36
Change ENTERFUNC RETURNFUNC calls in rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 09:34:32 -06:00
Mike Black W9MDB
615f102ccc
Fix mingw static build
...
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 09:12:18 -06:00
Mike Black W9MDB
456ab24f58
Fix mingw32 compilation errors
2022-01-31 08:19:50 -06:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
2028d4d1fa
Add some more memcpy's to sync hamlib_port_t_deprecated
...
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 17:44:03 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB
c2cb94e412
Change sprintf to snprint in tests
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 00:00:44 -06:00
Mike Black W9MDB
d96d616ce5
Change sprint to snprintf in rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-08 16:08:24 -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
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