Wykres commitów

78 Commity (2db37fe7dbca630a95c2437cd4de8500cd80b838)

Autor SHA1 Wiadomość Data
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Mike Black W9MDB 3d38f8b214 Add offset_vfoa and offset_vfob configuraiton parameters for adding freq offsets to VFOA/Main and VFOB/Sub 2023-02-17 12:33:14 -06:00
Mike Black W9MDB c02370d279 Allow rigctld to continue when an invalid set_conf parameter is used 2023-01-17 09:19:39 -06:00
Mike Black W9MDB 3f8da23bb6 Improved set_conf error when serial_handshake is invalid 2023-01-17 08:50:47 -06:00
Mike Black W9MDB 56c87cfa9a Fix CM108 ptt setting
https://github.com/Hamlib/Hamlib/issues/1203
2023-01-09 11:03:50 -06:00
Mike Black W9MDB 04b18c9d5b Add --set-conf=tuner_control_pathname=hamlib_tuner_control
Program will be passed 0 or 1 (Off or On)
Example script in tests/hamlib_tuner_control
https://github.com/Hamlib/Hamlib/issues/1192
2022-12-19 12:55:18 -06:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB 827bc13193 Add RIGMICDATA to ptt_type in dumpcaps 2022-03-06 08:39:54 -06:00
Mike Black W9MDB 0333cdfca5 astyle files 2022-03-01 11:40:14 -06:00
Michael Black 44c4e45eec
Merge pull request #964 from challinan/master
Add support for extlevels in rig_token_foreach()
2022-02-15 16:44:01 -06:00
challinan 4b60373d66 Add support for extlevels in rig_token_foreach() 2022-02-15 17:30:41 -05: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 324e663d81 Also update rig->state.pttport.type.ptt -- used by JTDX and WSJXT right now so have to copy it
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:06:59 -06:00
Mike Black W9MDB 4c6f9bf9f2 Another copy of deprecated info 2022-02-01 14:12:16 -06:00
Mike Black W9MDB 64af7ca65a Fix depreated references in conf.c
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 17:01:05 -06:00
Mike Black W9MDB 931037450e Add deprectead hamlib_port references in conf.c
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 15:18:34 -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 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 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 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 0e5962a816 Change sprintf to SNPRINTF in conf.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 14:48:47 -06:00
Mike Black W9MDB fd935597a9 Finish implementing rig_get_conf2
https://github.com/Hamlib/Hamlib/issues/924
2022-01-10 08:48:08 -06:00
Mikael Nousiainen e486f10c52 Fix typo in conf parameters documentation 2022-01-06 10:38:39 +02: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
Mike Black W9MDB 60c1be9d0d Improve debug in rig_token_lookup to show parameter 2022-01-02 08:27:28 -06:00
Mike Black W9MDB fb04893918 Improve debug in rig_confparam to show parameter 2022-01-02 08:27:02 -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
Michael Black W9MDB 3d613519d5 Rename macros to avoid collisions with other software 2021-03-06 12:37:53 -06:00
Michael Black W9MDB 221d87c2e4 Add auto_power_off option from JTDX team
Change rig_get_vfo_info to do real calls intstead of cache
2021-03-02 13:03:30 -06:00
Michael Black W9MDB ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB 185a938a76 Add twiddle_timeout and twiddle_rit --set-conf options
rigctld --set-conf=twiddle_timeout=5,twiddle_rit=1
This will set the twiddle timeout to 5 seconds and turn on twiddle_rit
For twiddle timeout VFOB will not be poller for 5 seconds after VFO twiddling is detected.  For RIT VFOB get_freq is suppressed and returns the cached value only (set_freq on VFOB still works).
rigctld --twiddle is deprecated and will be removed in 5.0
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 11:15:02 -06:00
Michael Black W9MDB 5fec08b262 Add disable_yaesu_bandselect option 2021-01-20 11:34:30 -06:00
Michael Black W9MDB 8827f081dd Add flushx option for MicroHam devices to allow flushing by read instead of tcflush.
The special name of uh-rig only works on Linux and has other purposes apparently for ptt use
https://github.com/Hamlib/Hamlib/issues/446
2020-11-25 08:40:24 -06:00
Michael Black W9MDB 4faad82da7 Change get_ptt RTS/DTR to keep serial port open
New option --set-conf=ptt_share=1 to revert to old behavior where serial port is opened/closed every get_ptt
https://github.com/Hamlib/Hamlib/issues/383
2020-10-12 23:27:13 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Bill Somerville 281febec62
New power on option rather than power on/off
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville 3f40029720
Add missing config parameters for rig power on/off and screen-saver
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Michael Black W9MDB fa08887471 Change hamlib_cache_t enums to HAMLIB namespace 2020-07-02 10:23:41 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 9e710156e3 Add ability for rigctld client to turn vfo mode on/off with (,)
https://github.com/Hamlib/Hamlib/issues/232
Add caching of some limited rig information
Can be adjusted or turned off with rig_cache_set_timeout_ms or in rigctl with \set_cache_timeout
https://github.com/Hamlib/Hamlib/issues/228
2020-05-01 12:03:54 -05:00
Michael Black 8ef027c676 Fixes the default initialization of ranges by defaulting to range_list1.
Another step in migration of rigs to separate model numbers for variations in models
We default to using range_list1 now and eventually there will only be 1 range_list per model
We have enough room in the model numbers now to expand...so for example we will have
5 models for the IC-9700
IC-9700 USA
IC-9700 EUR
IC-9700 ITR
IC-9700 TPE
IC-9700 KOR
2020-03-06 08:49:21 -06:00
Michael Black ff8ddf018c astyle all C files 2020-02-23 11:26:09 -06:00
Michael Black 01f83804d0 Add new 5-range frequency logic 2020-02-17 06:46:03 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
C-Elegans d8f010cfa3
Add ability to have rigctld display transverter frequency
Use -C lo_freq=xxxxx to have rigctld add x to your vfo frequency
internally
2018-11-07 11:49:06 -05:00
Jeroen Vreeken bfa948ebc5 Add GPIO and GPION options for DCD.
Also bump abi version since the config params struct needed resizing.
2018-03-29 23:55:25 +02:00
Nate Bargmann ab3e6bb5a5 Formatted src/ to final coding guidelines 2017-10-04 21:32:08 -05:00