Nate Bargmann
59160c5d03
dummy.c: Make all setting_t bitmasks unsigned long
...
To assure the correct types, the DUMMY_FUNC/LEVEL/PARM/VFO_OP/SCAN
bit mask macros are defined as unsigned long integers.
2013-01-31 18:03:50 -06:00
Nate Bargmann
f82184cbf5
Add RIT and XIT as rig_set/get_func() members
...
In response to a long standing request from Tor, N4OGW, and others, RIT
and XIT are added as members for the rig_set/get_func() members.
"RIT"/"XIT" have been added as tokens. The dummy rig backend and
testrig.c have been updated for these new functions.
Applications should test a backend with the rig_has_set/get_func() and
test for RIG_FUNC_RIT or RIG_FUNC_XIT. A non-zero result indicates
these functions are implemented by a given rig backend. It will take
some time for all backends to migrate to this new implementation. Once
implemented, RIT or XIT should be set to '0' to 'clear' the value
without deactivating the rig's RIT/XIT function. The dummy/dummy.c file
can be used as a simple guide for backend authors implementing this
behavior.
2013-01-15 12:47:47 -06:00
Nate Bargmann
088edb3735
Update LGPL header in Dummy source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Stéphane Fillod, F8CFE
20bfa6f080
ext_levels in get_channel(), and fix func list
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2934 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 08:42:01 +00:00
Stéphane Fillod, F8CFE
05d191cc8b
* fix mem leak/double free of ext_levels when copying channels
...
* fix bug in set/get_func
* better range checking of memory channel number
* implemented RIG_OP_TOGGLE
* frequency dependent LEVEL_STRENGTH
* some caps update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2911 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-10 20:25:47 +00:00
Stéphane Fillod, F8CFE
7a6aff96db
fix level/func list in memcaps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2850 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-06 17:31:19 +00:00
Nate Bargmann, N0NB
18c31c61ad
Added backend functions for power2mW and mW2power frontend support.
...
Backend pretends to be a 100W radio.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2826 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-06 15:28:25 +00:00
Stéphane Fillod, F8CFE
30c54a0b51
example of backend specific conf
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2770 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-22 12:01:38 +00:00
Stéphane Fillod, F8CFE
13f9300a69
new RIG_CONF_BUTTON example, renamed the other ext_levels
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2622 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 17:27:54 +00:00
Stéphane Fillod, F8CFE
65c49320ec
* Extra levels and extra parms
...
* dummy backend now has 2 antennas
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2599 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-28 22:53:18 +00:00
Stéphane Fillod, F8CFE
b8fe3df910
new backend ala rpcrig/rpcrot, but using rigctld/rotctld and simpler protocol
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2396 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:34:16 +00:00
Stéphane Fillod, F8CFE
731eadc013
make S-Meter jiggle randomly
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2338 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 14:08:55 +00:00
Alexandru Csete OZ9AEC
740db1b127
Added RIT, XIT and IF shift ranges to dummy backend.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2108 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-07-02 17:05:26 +00:00
Stéphane Fillod, F8CFE
66360b4f14
Prefixed misc str* and parse_* calls with rig_ to export them in rig.h
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1738 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-17 21:09:45 +00:00
Stéphane Fillod, F8CFE
64d539acd9
be freq_t and setting_t type agnostic
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1641 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 22:43:59 +00:00
Stéphane Fillod, F8CFE
02e5735c72
gcc-2.x fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1630 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-08 08:46:11 +00:00
Stéphane Fillod, F8CFE
f5d709c6c5
gran fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1585 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:20:35 +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
a07a4a336e
Adopt new split_vfo handling. Basically, rename set_split/get_split
...
to set_split_vfo/get_split_vfo, and take an extra transmit vfo arg.
Ascending compatibility is retained at the API frontend level.
NOTE: only function name has changed. The backends do not implement
necessarily the new semantic (the extra tx vfo is just ignored).
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:40:36 +00:00
Stéphane Fillod, F8CFE
0a6040a75a
make use of TS_ANY, added 2 new vfo_op: UP/DOWN
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1380 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-23 22:43:01 +00:00
Stéphane Fillod, F8CFE
376ab5a5c4
reflect rig.h changes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1279 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-12 00:16:28 +00:00
Stéphane Fillod, F8CFE
56c527ddae
added mem_cap, missing filters, and first dummy level_gran
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1249 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:36:57 +00:00
Stéphane Fillod, F8CFE
1f3c7f9598
improved chan support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1196 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-03 20:13:35 +00:00
Stéphane Fillod, F8CFE
27f6be0fd0
WARNING: renamed strmode to strrmode because the symbol is already in use on BSD systems
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1139 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-26 21:26:06 +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
3a08190627
gcc3 fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1109 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-08 22:53:27 +00:00
Stéphane Fillod, F8CFE
4476081add
fix in get_level/get_level and get_parm/get_parm, added support for VFOA/VFOB, memory channel and vfo_ops
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@959 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-15 00:12:44 +00:00
Stéphane Fillod, F8CFE
cd808f596e
renamed freq_sprintf to sprintf_freq
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@929 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:49:12 +00:00
Stéphane Fillod, F8CFE
8e41b09fdd
be more capable and more verbose, and use channel_t to store current parameters
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@889 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-22 00:43:05 +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
b3ef7f9f0f
let the dummy backend think it can do more
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@797 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:37:46 +00:00
Stéphane Fillod, F8CFE
170644f6e5
removed useless vfo arg to set_trn/get_trn funcs
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:46:13 +00:00
Stéphane Fillod, F8CFE
d515f58b7c
static/dynamic build fixes and make use of str functions
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@750 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:24:56 +00:00
Stéphane Fillod, F8CFE
6bdc7d0f39
return last set freq/mode/width
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@723 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-11-18 14:16:57 +00:00
Stéphane Fillod, F8CFE
fe388a8784
various cleanup of old stuff (mv_ctl)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@614 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-08 06:04:49 +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
c9dc785aaa
renamed xet_ctcss to xet_ctcss_tone and xet_dcs to xet_dcs_code to make it less ambiguous in regards to the squelch functions
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@576 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-01 11:46:17 +00:00
Stéphane Fillod, F8CFE
16b77c5b31
simplified xet_split_freq/xet_split_mode, now handles only tx freq/mode
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@568 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-27 17:32:47 +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
da19dd9a47
new port_t design
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE
7ffe3fbe22
mv_ctl replaced by vfo_op, added RIG_VFO_MEM support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@522 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-03 19:54:05 +00:00
Stéphane Fillod, F8CFE
f6dfb59eff
misc update
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@517 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 18:11:21 +00:00
Stéphane Fillod, F8CFE
e25dcdf247
* misc additions
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@484 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-08 09:08:59 +00:00
Stéphane Fillod, F8CFE
3a9ad961a5
* cleanup and made it more readable
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@473 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:37:35 +00:00
Stéphane Fillod, F8CFE
49f0c90f5d
* set_poweroff is gone in favor of set_powerstat
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@422 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:30:11 +00:00
Stéphane Fillod, F8CFE
d0d333994c
* added new fields in caps: ctcss_list, dcs_list, chan_list (maintainers,
...
please populate them!)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@410 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 00:26:19 +00:00
Stéphane Fillod, F8CFE
7e94783822
* 2 new fields in caps (vfo_list and priv)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@404 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:03:45 +00:00