Mike Black W9MDB
0d46e5b92e
Fix check_buffer_overlow for rig_set_ant
2022-05-25 11:55:14 -05:00
Mike Black W9MDB
19f00558e4
More cleanup of rigctl_parse.c output
2022-05-22 23:01:14 -05:00
Mike Black W9MDB
1c379e793a
Clean up rig_get_level output in rigctl_parse.c
2022-05-22 22:45:25 -05:00
Mike Black W9MDB
febeb40722
Add resp_sep to a couple more places in rigctl_parse.c
2022-05-22 22:35:21 -05:00
Mike Black W9MDB
f44fe0ed31
Fix output format of rigctl_parse.c for non-interactive clients
...
Add ARG_NOVFO to get_vfo_info
2022-05-22 09:00:38 -05:00
Mike Black W9MDB
b1a4bb06ce
Astyle files
2022-05-21 13:23:51 -05:00
Mike Black W9MDB
11bcf03229
Add get_separator and set_separator to rigctld
...
This allows rigctld clients to change the reponse format
Multi-line response will use the new separator for fields and a newline at the end of message.
The allows node-red tcprequest to wait for newline and then parse the fields in one message.
https://github.com/Hamlib/Hamlib/issues/1015
2022-05-21 12:42:34 -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
921d4d43ef
Add -S/--separator option to rigctld to allow something other then \n as a field separator
...
Should work better for node-red parsing
https://github.com/Hamlib/Hamlib/issues/1030
2022-05-19 12:28:49 -05:00
Mike Black W9MDB
4d8e64acfe
Stop mapping MICDATA ptt to PTT -- there should be no reason to do this and it was interfering with rigctld and MICDATA rigs TS480/590/890/990
...
https://github.com/Hamlib/Hamlib/issues/998
2022-05-15 11:53:38 -05:00
Mike Black W9MDB
3892bc41dc
Remove form feed form rigctl_parse. Did not do what we need for node-red
2022-05-14 22:13:17 -05:00
Mike Black W9MDB
f16988d363
Fix get_vfo_info prompt
2022-05-14 17:36:28 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
81d0c3c768
Remove sys/time.h include from rig.h -- not needed
...
Remove redundant semicolon from rig_debug macro and fix rig_debug's without a semicolon
Some more work on settings and password control -- still in work
https://github.com/Hamlib/Hamlib/issues/813
https://github.com/Hamlib/Hamlib/issues/985
2022-05-13 16:41:59 -05:00
Mike Black W9MDB
49cbc18e19
Fix missing semicolon in rig.c and rigctl_parse.c
2022-05-13 11:09:30 -05:00
Mike Black W9MDB
45208df8c6
Fix misspelling in rigctl_parse.c
2022-05-11 22:58:46 -05:00
Mike Black W9MDB
71407bbf1d
Add debug to show file handle in rigctl_parse
...
https://github.com/Hamlib/Hamlib/issues/1026
2022-05-11 11:53:20 -05:00
Mike Black W9MDB
a22787393f
Add debug to rigctl_parse.c to chase down fscanf problem with node-red on some commands
2022-05-10 12:20:54 -05:00
Mike Black W9MDB
22d4009327
Add flush to set_powerstat to avoid any queued data during power operations
2022-05-09 07:11:01 -05:00
Mike Black W9MDB
0b62193d92
Add new error code for security
...
https://github.com/Hamlib/Hamlib/issues/813
2022-04-29 17:17:43 -05:00
Mike Black W9MDB
5c0e98fe56
First phase of .hamlib_settings -- currently saves sharekey in current directory when rigctld -A is run
...
https://github.com/Hamlib/Hamlib/issues/813
https://github.com/Hamlib/Hamlib/issues/985
2022-04-29 16:30:00 -05:00
Mike Black W9MDB
5400d8ed01
Fix send_command to detect FLRig correctly
2022-04-25 12:54:06 -05:00
Mike Black W9MDB
fbd7893192
Add cat_string to the raw send command in rigctl for FLRig
2022-04-25 12:42:27 -05:00
Mike Black W9MDB
382282ba20
Fix rigctl option -B
2022-04-25 08:18:06 -05:00
Mike Black W9MDB
b55668e2fa
Update usage and no arg for -B option
2022-04-25 08:09:51 -05:00
Mike Black W9MDB
6497048f28
Allow rigctlcom to map set_freq on VFOA to VFOB instead
...
This will allow CW Skimmer to work with some rigs (e.g. IC7300) using FM
mode on VFOA and CW mode on VFOB and split mode transmit on VFOB.
Clicking on CW Skimmer will change VFOB instead of VFOA to allow working
dxpeditions where the fox is staying on frequency
2022-04-24 14:19:20 -05:00
Mike Black W9MDB
863f50f2fb
Really move rig_make_md5 to rig.h
...
https://github.com/Hamlib/Hamlib/issues/813
2022-04-16 06:48:41 -05:00
Mike Black W9MDB
4055810dc8
Remove md5.h from rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/813
2022-04-16 06:40:01 -05:00
Mike Black W9MDB
d54b541c0d
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2022-04-16 00:03:41 -05:00
Mike Black W9MDB
eb6ce19600
Move rig_make_md5 to rig.h
...
extern HAMLIB_EXPORT(char*) rig_make_md5(char *pass);
2022-04-16 00:00:44 -05:00
Mike Black W9MDB
5c6e92a089
Change make_md5 to rig_make_md5 and export for the DLL build
...
https://github.com/Hamlib/Hamlib/issues/813
2022-04-15 22:44:53 -05:00
Mike Black W9MDB
ad2e3bb0ee
Move md5.h to src
2022-04-15 17:49:00 -05:00
Mike Black W9MDB
cd5f69fb96
Remove make_md5 declaraion from rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/813
2022-04-15 17:41:49 -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
8fbda12ce2
Fix warning in rigctl_parse.c
2022-03-05 16:49:56 -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
c5a5276b15
Adding func_chk.c to test balancing of ENTERFUNC and RETURNFUNC/RETURNFUNC2 statements
2022-02-28 16:35:16 -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
9e2ac43631
Move security/security_test to tests/testsecurity
...
https://github.com/Hamlib/Hamlib/issues/813
2022-02-28 12:54:04 -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
c8d5f8ca07
Fix twiddle_rit in rigctld.c
2022-02-11 16:37:24 -06:00
Mike Black W9MDB
a360bd0a07
Add some deprecated copies to ampctl.c
2022-02-11 16:28:03 -06:00
Mike Black W9MDB
43f8a1d680
Remove some debug from rigctl.c
2022-02-09 23:54:51 -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
6934536e09
Add some more deprecated port copies
2022-02-06 08:22:53 -06:00
Mike Black W9MDB
6f486e69d6
Add some more copies to port_deprecated structures for rigctl and rigctld
2022-02-05 23:25:02 -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