Wykres commitów

50 Commity (d857f181635059fd6c227f758cffd0707f26ffe5)

Autor SHA1 Wiadomość Data
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
Nate Bargmann f76b354588 Reformatted src directory 2017-08-09 06:14:31 -05:00
Bill Somerville fca48348a6 Add missing configuration getters 2016-02-04 09:09:35 -06:00
Stephane Fillod 46033db165 CM108 GPIO PTT: do not break ABI
Move around the ptt_bitnum field in the union of hamlib_port_t.
Increase Hamlib frontend revision.
2012-01-11 23:28:01 +01:00
Andrew Errington 1a77ef9eb9 Initial support for CM108 GPIO contorl of PTT
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-11 06:16:51 -06:00
Nate Bargmann f3fe7bffc8 Remove set but unused variable errors in src. 2011-08-25 10:42:00 -05:00
Nate Bargmann dad27d1f69 Update LGPL header in src source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stephane Fillod 421909bad2 Let set_ptt() select source, either TX mic or TX data 2011-07-20 00:09:50 +02:00
Stéphane Fillod, F8CFE 9de8e3f1d2 Add Mark/Space serial parity
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2996 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 19:31:09 +00:00
Stéphane Fillod, F8CFE 022ddda4ad - serial conf parameters appear only for serial type rig
- backend conf params appear last in rig/rot_token_foreach()
- debug trace in rig/rot_set_conf()
- rig/rot_confparam_lookup() now accept token as number
- moved rot_set_conf/rot_get_conf into rot_conf.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2893 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 17:20:44 +00:00
Stéphane Fillod, F8CFE 4dbec538f6 make ptt/dcd override accessible trough set_conf/get_conf
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2688 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-04-15 17:34:16 +00:00
Stéphane Fillod, F8CFE 03cc4f3787 argument checking in rig_set_conf, patch from Zhang Bo + edit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2593 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 14:25:46 +00:00
Stéphane Fillod, F8CFE 35e2e248c7 check ITU region validity in rig_set_conf('itu_region')
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2357 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-08 12:40:04 +00:00
Stéphane Fillod, F8CFE 4ab3d5371f Be careful, rs->rigport.parm is an union, so serial fields should be
accessed only for the RIG_PORT_SERIAL type.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2314 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-09 21:36:06 +00:00
Martin Ewing, AA6E f6ddc3edad documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Stéphane Fillod, F8CFE b99271e93c bump (c) date
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2077 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:30:49 +00:00
Stéphane Fillod, F8CFE 20f5e6fc3c tab reformat
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1989 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 18:31:00 +00:00
Stéphane Fillod, F8CFE f23efe3a7c prepare work for Win32 systems which have 2 possible ABI: _stdcall and _cdecl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:32:09 +00:00
Stéphane Fillod, F8CFE faffed1e2e (c) date update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1809 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:34:25 +00:00
Stéphane Fillod, F8CFE f8135d52df Implemented emulation of rig transceive mode using polling (based on SIGALRM),
moved all transceive and event related functions from rig.c to event.c.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1468 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-05-03 13:17:25 +00:00
Stéphane Fillod, F8CFE 8d707be2a4 added support for set DTR/RTS state, useful to power external device from the serial port
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1378 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-23 22:38:54 +00:00
Stéphane Fillod, F8CFE e2f54e9d10 split rig.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1242 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:22:30 +00:00
Stéphane Fillod, F8CFE 41f5748be2 converted to C99 intialization style
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE 9b245477da token defines moved to token.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:55:30 +00:00
Stéphane Fillod, F8CFE bea28f5a76 more config params
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@804 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:45:38 +00:00
Stéphane Fillod, F8CFE 8d89b72752 added rig_token_foreach for conf table perusing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@781 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:47:53 +00:00
Stéphane Fillod, F8CFE 95c6c458dc static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@745 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:14:47 +00:00
Stéphane Fillod, F8CFE e115bf459b feed me! I wanna grow up
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@607 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:58:15 +00:00
Stéphane Fillod, F8CFE 21ef1c8b75 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@595 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 12:55:04 +00:00