Mike Black W9MDB
ad2f5047e0
Fix rig_set_lock_mode and rig_get_lock_mode
...
https://github.com/Hamlib/Hamlib/issues/1044
2022-06-06 22:54:10 -05:00
Mike Black W9MDB
f555eceff9
Got set_lock_mode and get_lock_mode working now
...
https://github.com/Hamlib/Hamlib/issues/1044
2022-06-02 15:55:56 -05:00
Mike Black W9MDB
b1a4bb06ce
Astyle files
2022-05-21 13:23:51 -05:00
Mike Black W9MDB
c9d31337b9
Fix MICDATA ptt with rigctld and the few rigs which needs this -- e.g. TS-590, TS-480, TS-890, TS-990. VX-1700. ICF-8101
...
https://github.com/Hamlib/Hamlib/issues/1033
2022-05-20 09:06:17 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
770aa4e98a
Stage 1 rigctld password working using MD5 hash
...
Need to add Stage 2 which will be encryption using the MD5 hash as the key so the secret key nevers gets trasmitted
Then need to add a "by connection" capability as password is permanent across connections right now.
2022-04-15 13:21:35 -05:00
Mike Black W9MDB
7671229529
Fix compilation warning in netrigctl.c
...
https://github.com/Hamlib/Hamlib/issues/1000
2022-04-02 16:21:10 -05:00
Mike Black W9MDB
20019efe6d
Fix netrigctl.c
2022-03-05 16:41:53 -06:00
Mike Black W9MDB
0333cdfca5
astyle files
2022-03-01 11:40:14 -06:00
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
23280e812c
Fix compilation warning on netrigctl.c
...
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:42:37 -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
dabf1f2c61
Revert "Balance RETURNFUNC"
...
This reverts commit 8b40735752
.
2022-02-19 16:29:59 -06:00
Mike Black W9MDB
8b40735752
Balance RETURNFUNC
2022-02-19 16:29:31 -06:00
Mike Black W9MDB
09e5d4089c
Update hamlib_check_rig_caps
2022-02-11 11:21:49 -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
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
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
52ca1f5dfa
Change sprintf to SNPRINTF in dummy
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:16:45 -06:00
Mike Black W9MDB
30a06c4fc6
Fix static array reference in netrigctl.c
...
https://github.com/Hamlib/Hamlib/issues/932
2022-01-17 16:59:31 -06:00
Mike Black W9MDB
8829a8011d
Change sprintf to snprint in dummy directory
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 12:17:34 -06:00
Mike Black W9MDB
01b7f81119
Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
...
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Michael Black
b62d1da671
Merge pull request #897 from sq6emm/master
...
Allow \send_voice_mem to be used over network and tested in dummy rig
2021-12-20 17:01:39 -06:00
Dawid SQ6EMM
dfa6b730d9
Allow \send_voice_mem to be used over network and tested in dummy rig
2021-12-20 16:50:13 +01: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
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
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
8928672e2c
Rigs with non-targetable set_mode will now use cached values to determine if mode needs to be changed
...
Hamlib 5.0 plans are to start using transceive mode and AI2 mode to detect rig changes so eventually
users on these types of rigs will be able to twiddle knobs and hamlib will follow.
But for now we are avoiding the VFO flashing and relay chattering on non-targetable rigs
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 09:03:26 -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
Mike Black W9MDB
4b3bbabc5d
Fix rig_set_split problem on Kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/872
2021-11-19 16:19:18 -06:00
Mike Black W9MDB
3de368f6a2
Add rig_lock and rig_unlock to support serial I/O locking for a transaction
...
https://github.com/Hamlib/Hamlib/issues/695
2021-11-15 07:16:31 -06:00
Mike Black W9MDB
a9c2792c23
Fix netrigctl.c power2mW buffer overflow
...
https://github.com/Hamlib/Hamlib/issues/855
2021-11-07 06:52:40 -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
746ba96eb1
Fix netrigctl_stop_morse
2021-10-30 16:42:18 -05:00
Christoph Berg
8cba9d7ee9
Implement netrigctl_stop_morse
...
This allows \stop_morse to work across rigctld.
Tested with IC-7610.
2021-10-28 22:21:04 +02:00
Mike Black W9MDB
a5064bc5d9
Fix shadow variable in flrig.c
2021-09-11 05:35:05 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Wouter van Gulik
9aec383329
Simplify get_ant by having setting to unknown by default.
...
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Mike Black W9MDB
28c8b5a502
Increase timeout in netrigctl.c to 10000 to allow for worst case rig
...
Most rigs will have their timeout set to the rig's timeout plus 500ms.
2021-07-12 11:22:26 -05:00
Mike Black W9MDB
466afd5d3f
Fix WSJTX rig split behavior with rigctld -- was setting VFOA to VFOB freq
...
https://github.com/Hamlib/Hamlib/issues/721
2021-06-28 22:27:26 -05:00
Mike Black W9MDB
42a9d4fbd6
Fix netrigctl vfo where non vfo mode VFOB was not working
...
https://github.com/Hamlib/Hamlib/issues/721
2021-06-13 22:53:18 -05:00
Mike Black W9MDB
503897c41c
Fix debug msg in netrigctl.c
2021-05-27 23:40:33 -05:00
Mike Black W9MDB
81e3e2e5d2
astyle files
2021-04-29 17:23:37 -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
60f861bfd5
More changes to bring rigctld dump_caps into line with rigctl dump_caps
...
https://github.com/Hamlib/Hamlib/issues/659
2021-04-24 09:16:40 -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