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
8bf9942736
Fix cppcheck warnings in aor
2019-12-06 15:35:52 -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
Michael Black W9MDB
281e83332a
Fix compile warnings for aor
2018-04-22 18:38:16 -05:00
Michael Black W9MDB
0b1a58d308
Fixed indentation warnings detected by newer gcc
...
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Bill Somerville
222ad74de7
Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
...
This change allows the set_mode functions to leave the rig passband
unchanged if required. For the few rigs that do not have explcit
passband width control either current state is read and rewritten or a
"normal" width is chosen e.g. select a normal width when there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Nate Bargmann
b5e4c4e853
Update LGPL header in AOR source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Nate Bargmann, N0NB
bd20ccd356
AOR SR2200 backend added by Stefano Speretta
...
New backend, SR2200, heavily derived from AR8200 backend. From Stefano
Speretta <s.speretta@isispace.nl>.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:32:55 +00:00
Stéphane Fillod, F8CFE
8411d9d1d7
* aor_transaction: handle rigs configured to return extra LF
...
* fix RIG_LEVEL_RAWSTR for AR8600, and possibly AR8000
* S-meter caliration data for AR8600 from Mark P. Grimes, WAØTOP
* S-meter caliration data for AR8200 from AR8200 Bulletin
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2951 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-20 08:18:23 +00: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
Larry Gadallah, VE6VQ
8787e8f917
Added caps for AR7030+
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2790 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-22 07:09:07 +00:00
Stéphane Fillod, F8CFE
1a12ca681f
Patch ID:2845171 "Initial changes to get the AOR8000 working"
...
by JohnU (johncunderwood)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2730 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 21:22:59 +00:00
Stéphane Fillod, F8CFE
56431cada6
implemented scanning
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2319 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 17:10:45 +00:00
Martin Ewing, AA6E
c830f57da2
SM6PPS mods for AOR 5000a
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2155 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-02 15:19:58 +00:00
Martin Ewing, AA6E
124468dad2
allow atten = 0 dB
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2147 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 13:12:54 +00:00
Alexandru Csete OZ9AEC
842a06fe98
- Fixed type mismatches and unhandled switch cases.
...
- Incremented backend version numbers.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2135 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 21:10:11 +00:00
Stéphane Fillod, F8CFE
8292e78dce
handle empty channels, bank_num, chop trailing spaces off memory names, allow aor_get_channel(RIG_VFO_CURR)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2033 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-21 20:19:41 +00:00
Stéphane Fillod, F8CFE
62fdd61787
make use of save memory at once API, don't expect and ack in aor_close
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2029 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 14:50:56 +00:00
Stéphane Fillod, F8CFE
71aa2e836e
fix get_channel with empty slots, and first try at bank base problem
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2018 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-15 21:50:27 +00:00
Stéphane Fillod, F8CFE
26dfe2aa7d
Do wait for a reply on each aor command
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2016 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-15 18:18:42 +00:00
Stéphane Fillod, F8CFE
f3f29c4b7a
refactor mode/width parsing among aor models, and update AR5000 caps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2015 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-15 17:48:41 +00:00
Stéphane Fillod, F8CFE
fe3eb0b51f
fix read_string return code bug, query only one channel memory content in aor_get_channel, and parse only declared fields in mem_caps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2002 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 20:59:30 +00:00
Stéphane Fillod, F8CFE
653b51c8cb
added initial support for get_channel/set_channel, set_mem/get_mem, set_bank, more VFO to set_vfo/get_vfo and fixed aor_get_mode
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2001 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-09 16:33:42 +00:00
Stéphane Fillod, F8CFE
8b28265a63
tab reformat
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1999 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-08 20:15:00 +00:00
Stéphane Fillod, F8CFE
094d009a07
commit fixup
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1905 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-25 00:33:38 +00:00
Stéphane Fillod, F8CFE
23369a0c25
* abstract 64bit int format type to cope with portability issues.
...
introduce PRIll (printf format) and SCNll (scanf) in misc.h.
This needs to have config.h included beforehand.
* do likewise with freq_t type (double) in rig.h
FREQFMT is deprecated.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-24 23:04:35 +00:00
Stéphane Fillod, F8CFE
6b7fa0b0ea
added support for:
...
* aor_get_dcd
* set_level/get_level: RIG_LEVEL_AGC (only AR5000), RIG_LEVEL_RAWSTR
* set_powerstat: RIG_POWER_ON (only AR5000)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1839 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-07 20:40:20 +00:00
Stéphane Fillod, F8CFE
efa8e51c8b
initial support for AR3030
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1761 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-14 21:10:11 +00:00
Stéphane Fillod, F8CFE
10b3b43f3f
Added initial AR7030 support (set_freq)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1715 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-04-16 19:58:10 +00:00
Stéphane Fillod, F8CFE
91df9591f4
Prepare eventual move from freq_t as a "long long" to a "double" type.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-20 22:15:02 +00:00
Stéphane Fillod, F8CFE
84ad9b827b
include fixup, stdio.h is not included by rig.h anymore
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00:00
Stéphane Fillod, F8CFE
960c83c4c5
* added ABI VERSION to backend entry point symbol name
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1442 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:30:43 +00:00
Stéphane Fillod, F8CFE
e0b2a7b4ac
fix headers
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +00:00
Stéphane Fillod, F8CFE
6b8c137e6d
patch from Chuck N2POR fixing End-of-message and a potential seg fault in get_freq. Added get_level/set_level support for ATT, and moved mode handling for AR5000
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1382 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-24 22:27:41 +00:00
Stéphane Fillod, F8CFE
d1097024b3
added initial support for the AR3000A
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1372 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-13 22:17:44 +00:00
Stéphane Fillod, F8CFE
ad7310335b
replaced fread_block in favor of the more intelligent read_string, added some serial_flush
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:37:13 +00:00
Stéphane Fillod, F8CFE
0d4dbe965c
added AR5000
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@972 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:17:22 +00:00
Stéphane Fillod, F8CFE
17e03e7d97
added set_vfo/get_vfo, vfo_op, get_info and other fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@859 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-09 23:11:16 +00:00
Stéphane Fillod, F8CFE
303861e483
warning: backend module breakage: symbol changed: init_ -> initrigs_
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@821 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:28:04 +00:00
Stéphane Fillod, F8CFE
99915b6c57
misc sscanf format fix
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@786 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 22:59:09 +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
632426c9e4
fix stupid typo
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@720 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-11-14 18:29:14 +00:00
Stéphane Fillod, F8CFE
dc63f18a07
added AR8000
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@698 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:23:42 +00:00
Stéphane Fillod, F8CFE
1f01081335
converted to LGPL
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE
8b0ac00d64
more win32 efforts
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@566 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-20 06:08:22 +00:00
Stéphane Fillod, F8CFE
c74995b05f
further win32 porting
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:08:37 +00:00
Stéphane Fillod, F8CFE
bb4c5fa6fa
better error handling
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@543 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-12 07:07:11 +00:00