Daniele Forsi IU5HKX
f7fe2912ec
Remove unused includes of errno.h
2022-12-09 12:32:54 +01:00
Mike Black W9MDB
2b145fe717
Add netrigctl_send_raw to allow send_raw to work with rigctld
...
https://github.com/Hamlib/Hamlib/issues/1157
2022-12-01 16:20:23 -06:00
Mike Black W9MDB
ca4814c472
astyle files
2022-11-23 23:31:08 -06:00
Mike Black W9MDB
1ef3549e94
Fix rigctld showing the real rig agc_levels instead of all levels
...
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
57aa5e8399
Revert "Fix FT897 freq set/get for > 100MHz"
...
This reverts commit 44ad5c6363
.
2022-07-28 07:10:13 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
dd3208ad34
Change malloc to calloc
2022-07-27 10:08:29 -05:00
Michael Black
74b4d7beb6
Merge pull request #1091 from dforsi/fix/unused-includes
...
Fix/unused includes
2022-07-24 11:44:01 -05:00
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02:00
Daniele Forsi IU5HKX
4dfe46edbb
Remove unused includes related to times and dates
...
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
1c0655a9f5
Reduce a couple of debug statements from ERROR to VERBOSE
2022-07-22 12:43:22 -05:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
994d7a2ca6
Fix RTS PTT working with rigctld
...
https://github.com/Hamlib/Hamlib/issues/1074
Was fixed by this patch
fc6e432143
2022-07-06 08:33:14 -05:00
Mike Black W9MDB
5f26083fac
Add ENTER/RETURNFUNC to netrigctl_open to identify lines when EPROTO errors occur
2022-06-12 07:46:35 -05:00
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