Wykres commitów

584 Commity (e409efbaefb3724fbb3653adb75d48552ab26ef7)

Autor SHA1 Wiadomość Data
Mike Black W9MDB e409efbaef Fix TCP connection to Xiegu X6100 to not be overridden by UDP implementation
https://github.com/Hamlib/Hamlib/issues/1009
2022-04-16 08:18:16 -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 606609f62e Improved set_mode error reporting 2022-03-02 07:47:17 -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 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 1444448aeb Allow rig_get_vfo_list to work if rig is not open 2022-02-25 07:41:10 -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
challinan d6f05e1974 Correct compiler warning - s.b. bitwise or 2022-02-19 21:39:17 -05:00
Michael Black c0630312a3
Merge pull request #965 from challinan/master
Removed redundant RETURNFUNC() call
2022-02-16 12:03:16 -06:00
challinan 779c2d344e Removed redundant RETURNFUNC() call 2022-02-16 12:55:44 -05:00
Mike Black W9MDB 799b588a7c Add some RETURNFUNC2 to rig.c for errors 2022-02-14 17:44:40 -06:00
Mike Black W9MDB a0fc3eaffa Add a check to a bogus warning in rig.c to make it correct 2022-02-07 07:17:51 -06:00
Mike Black W9MDB 776c68e3b1 Allow backwards compatibility for rigctl and rigctld by copying deprecated values to new port_t structures 2022-02-05 23:55:46 -06:00
Mike Black W9MDB 8c34ce1a2d astyle source code 2022-02-05 15:27:43 -06:00
Mike Black W9MDB 81d61c09cc Remove temp debug from rig.c
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 23:10:04 -06:00
Mike Black W9MDB 9aade8de3f Add config.h to include/hamlib so HAVE_PTHREAD is available if needed
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 22:31:42 -06:00
Mike Black W9MDB bbd20c45dd Fix valgrind-discovered unitialized curr_vfo in rig.c 2022-02-03 10:41:54 -06:00
Mike Black W9MDB 5a1e73396c Remove FUNC calls from rig_cleanup as rig is closed 2022-02-03 08:38:17 -06:00
Mike Black W9MDB 9852288992 Baland RETURNFUNC statements in rig.c 2022-02-02 23:48:42 -06:00
Mike Black W9MDB c4e01ddadb Change debug level from BUG to VERBOSE for debugging.
Causes abort in JTDX when BUG is used
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 08:45:46 -06:00
Mike Black W9MDB 9ede1174a3 Add temporary debug for rig->state.pttport.type.ptt diagnosis
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:45:00 -06:00
Mike Black W9MDB 9dd5f70b01 Add some more copy for hamlib_deprected structures
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 11:29:26 -06:00
Mike Black W9MDB 011f9789e2 Add another copy to deprecated hamlib_port to fix PTT method in JTDX/WSJTX
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 07:57:59 -06:00
Mike Black W9MDB 171f581243 Fix rig_set_ptt to copy new hamlib_port_t structure to deprecated 2022-01-31 06:58:49 -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 63b31eac4e Add tx_freq to debug statement 2022-01-30 10:51:49 -06:00
Mike Black W9MDB 3c60636b80 In rig_set_split rx_vfo set to vfo value passed in 2022-01-30 07:28:52 -06:00
Mike Black W9MDB afd595d2da Allow asyncio rigs to use cached-only values for rig_get_freq and rig_get_mode
https://github.com/Hamlib/Hamlib/issues/894
2022-01-29 08:39:27 -06:00
Mike Black W9MDB 86c62d5dbb Remove ASYNC_BUG #ifdef blocks as it is all working now 2022-01-28 09:55:48 -06:00
Mike Black W9MDB fab7f4d54c Revert "Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated""
Fixing hamlib_port_t deprecation
This reverts commit f696123a3b.
https://github.com/Hamlib/Hamlib/issues/894
2022-01-27 06:37:55 -06:00
Mike Black W9MDB b5bcae4af3 Fix compilation after revert 2022-01-26 18:04:29 -06:00
Mike Black W9MDB f696123a3b Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated"
This reverts commit 401e718d60.
2022-01-26 17:56:58 -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 81bb70bb84 Deprecate hamlib_port_t to hamlib_port_t_deprecated
New hamlib_port_t at end of structure -- eventually need to change this to a pointer'
Enable ASYNC_BUG now works with new hamlib_port_t
Backwards compatible with already-compiled clients and newly-compiled clients
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 12:39:13 -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 cb36210ddb Revert "Fix rig.c memcpy to deprecated hamlib_port_t"
This reverts commit 27adcc2e75.
2022-01-25 15:02:51 -06:00
Mike Black W9MDB 27adcc2e75 Fix rig.c memcpy to deprecated hamlib_port_t 2022-01-25 14:52:07 -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 4dfaa03838 Enable ASYNC and rename async to asynio to avoid python name collision
https://github.com/Hamlib/Hamlib/issues/894
2022-01-24 10:37:07 -06:00
Michael Black 51da62f3fb
Merge pull request #943 from mikaelnousiainen/async-rigctld-icom-bugfixes
Bugfixes for async I/O, rigctld and Icom backend
2022-01-23 11:49:14 -06:00
Mike Black W9MDB 1beebfc835 Make set_transaction functions use intra process mutex -- Phase 1
Phase 2 will be inter-process named mutexes
https://github.com/Hamlib/Hamlib/issues/942
2022-01-23 09:01:06 -06:00
Mikael Nousiainen 1f428c8d95 Allow icom_rig_open() to succeed even if the rig is powered off. Fix issues with async I/O error code propagation. Allow rigctld daemon to start even if rig is powered off. Add mutex locks around rig_open()/rig_close() calls as multiple client connections could end up calling them concurrently, which could lead to all kinds of issues as the functions are not meant to be thread-safe. This also blocks execution of rigctl commands during rig open/close. 2022-01-22 23:19:07 +02:00
Mike Black W9MDB 970d253866 In rig_set_vfo query vfo first to see if it needs to be changed.
Doing VS0 on an FTDX-3000 was causing VFOA to mute
https://github.com/Hamlib/Hamlib/issues/903
2022-01-19 15:40:08 -06:00
Mike Black W9MDB 09c9b01552 Change snprintf to SNPRINTF in src
https://github.com/Hamlib/Hamlib/issues/857
2022-01-19 09:11:04 -06:00
Mike Black W9MDB e2bb11aa4c Change sprintf to SNPRINTF in misc.c, network.c, and rig.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 15:07:49 -06:00
Mike Black W9MDB 165b5b2921 Change sprint to SNPRINTF in rig.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 14:39:34 -06:00
Mikael Nousiainen 2857a54ea6 Allow enabling of async data mode via conf option. Ignore multicast data publishing if the publisher routine is not enabled. 2022-01-05 19:12:43 +02:00
Mikael Nousiainen 8ee0383464 Merge branch 'master' into async-io-on-windows 2022-01-03 14:40:09 +02:00
Mikael Nousiainen a00d78c860 Implement pipes using asynchronous/overlapped I/O on Windows 2022-01-03 14:18:49 +02:00