Wykres commitów

50 Commity (16692258a1adab993308620dcf42d67643a39c1c)

Autor SHA1 Wiadomość Data
Michael Black 7ee3a702f5
Replace all usleep with hl_usleep
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Michael Black 444fcfa575 Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS 2019-12-10 15:54:12 -06:00
Michael Black 3220c37ff2
Change XOPEN to 600 2019-12-10 14:50:24 -06:00
Michael Black 3a3d66d52d Now compiles with -std=c99 and no c99 warnings 2019-12-09 22:45:37 -06:00
Michael Black fb73e5abd7
Fix some cppcheck warnings
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black 398f20b7e1
Fix cppcheck warnings in orion.c 2019-12-08 22:54:45 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 72087f1b10
Change all __FUNCTION__ to __func__ 2019-11-30 10:16:28 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Bill Somerville 56ee4fd18a Fix timeout issues with the Ten-Tec Orion/Eagle
Added much  more generous serial port  timeouts as these rigs  seem to
occasionally delay  CAT responses  by a second  or more.  Also flushed
serial Rx buffer before retries in case timeout is not enough.
2019-05-04 11:37:57 +01:00
Bill Somerville 5ede844baf Fix Ten-Tec Orion get/set split functions
The get_split_vfo function was returning inverted results.

The set_split_vfo function was ignoring the split argument!
2014-10-14 14:19:40 +01:00
Nate Bargmann 245ab86441 Quell compiler warnings on Cygwin
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -05:00
Martin Ewing 3404103ffd Orion.c: remove spurious debug statement. 2011-12-30 22:07:12 -05:00
Martin Ewing 4f50bab0e3 Add test for valid set frequency, esp. for VFOA (ham band only)
Expand valid range_lists for full hardware ranges
Fix tt565_transaction to allow Morse commands.
2011-12-30 21:16:17 -05:00
Nate Bargmann 02a90bf2cf Update LGPL header in TenTec source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stephane Fillod fde68a09eb make tt565_transaction() static 2011-07-20 00:08:35 +02:00
Stéphane Fillod, F8CFE 1404b754fe portability of long long
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 19:04:00 +00:00
Martin Ewing, AA6E d6b03e41ea Init revision - tnx Stephane
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2680 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-21 18:17:30 +00:00
Martin Ewing, AA6E 7ecf023d5e Downgrade ERR to WARN (i/o retry)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2635 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-14 21:33:22 +00:00
Martin Ewing, AA6E 3f0cb61586 Minor comment re rit/xit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2630 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-11 19:26:07 +00:00
Martin Ewing, AA6E 371c708c7b Orion: Allow frontend to handle RIG_LEVEL_STRENGTH
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2562 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-05 17:39:57 +00:00
Martin Ewing, AA6E 4c3c55d61b Orion - implement RIG_LEVEL_STRENGTH
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-03 23:05:57 +00:00
Martin Ewing, AA6E b18272f0e8 fix string handling in LEVEL_RAWSTR
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2550 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-03 20:58:32 +00:00
Martin Ewing, AA6E 6c88a2df6c Switch back to ASCII freq. setting because of hardware(?) bug.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2367 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-06-19 04:26:52 +00:00
Martin Ewing, AA6E 32be6d0e81 Fix serial I/O error checking
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2337 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-01 21:30:28 +00:00
Martin Ewing, AA6E a41917c998 Better error handling, reliability for serial I/O. Misc prettification.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2300 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-15 23:04:52 +00:00
Martin Ewing, AA6E ef94c9c21e Adjust retry & timeout values to help in case of no response from rig, i.e.,
if rig power happens to be off.  Prettify some code indents.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2250 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-23 04:54:12 +00:00
Martin Ewing, AA6E db317f0fcf Fix bug that seg faulted when get_info returned null. (No reward points!)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2246 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-15 04:10:31 +00:00
Martin Ewing, AA6E e10bd43b84 Ensure printable get_info string
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2238 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-09 03:16:32 +00:00
Martin Ewing, AA6E 0c18b6b64f Moved firmware detection to new tt565_open routine, where it is done
every time the rig is opened.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2228 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-05 18:42:48 +00:00
Martin Ewing, AA6E 5ee6414e24 Add autodetect version 1 or 2 firmware (using rig_get_info).
Correct V1 calibration.  Make V2 calibration the default.
Signal RIG_LEVEL_STRENGTH supported.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2227 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-05 03:53:24 +00:00
Martin Ewing, AA6E 6cabb43d44 use binary mode VFO requests
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2193 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-03-02 16:29:11 +00:00
Martin Ewing, AA6E 90e704bae4 split orion.c and add doc info
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2153 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-30 20:17:58 +00:00
Martin Ewing, AA6E c712baa969 Squashed warnings about signedness
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2106 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-04-13 22:24:53 +00:00
Martin Ewing, AA6E ae731ac9bd Add get_, set_ant (ignores rx only ant)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2014 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-15 15:30:09 +00:00
Martin Ewing, AA6E 8268eb44f3 Support LEVEL_VOX, VOXGAIN, ANTIVOX
Support LEVEL_NR as Orion NB setting (firmware bug), FUNC_NB -> NB=0,4


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2010 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-12 01:47:47 +00:00
Martin Ewing, AA6E 8ef74de474 Added VFO_OPS, promote to Beta
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2008 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-11 14:00:51 +00:00
Stéphane Fillod, F8CFE 6ba9819f5d fix error code return convention, which is negative when failed
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2004 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 21:49:38 +00:00
Martin Ewing, AA6E 656df6ae67 Added RIG_FUNC_TUNER, RIG_FUNC_LOCK and RIG_FUNC_VOX, fixed MEM_CAP.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1995 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-05 13:52:42 +00:00
Martin Ewing, AA6E 9346d0096a Added RIG_LEVEL_CWPITCH, RIG_LEVEL_KEYSPD, send_morse()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 18:08:18 +00:00
Stéphane Fillod, F8CFE cb589fcd25 account for improvements
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1975 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 20:23:19 +00:00
Stéphane Fillod, F8CFE 53defa86aa use rig_debug instead of printf
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1958 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 15:54:01 +00:00
Martin Ewing, AA6E b036bdb032 various bug fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1956 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-01 19:32:18 +00:00
Martin Ewing, AA6E 8ce815cf86 Fix timeout, add retry, better S-mtr scale
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1955 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-30 04:30:30 +00:00
Martin Ewing, AA6E bd36ce1d87 Fix SWR & S-meter, set ATT, set AGC, add rough STR_CAL func.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1951 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-28 02:33:36 +00:00
Martin Ewing, AA6E a105b40dfb specified buffer lengths, added default vfo A setting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1946 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-25 20:33:31 +00:00
Stéphane Fillod, F8CFE cccf1318ce second pass at getting rid of "ll" immediate literal format (64bit int)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1904 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-25 00:22:14 +00:00
Stéphane Fillod, F8CFE 047ef44e77 first bite at the Orion
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1763 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-14 21:15:20 +00:00
Stéphane Fillod, F8CFE 6498879c50 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1730 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-03 22:33:13 +00:00