Stéphane Fillod, F8CFE
6897781c5f
fix previous commit, which was preventing the parsing of ext_levels/ext_parms
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3011 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-02 22:23:57 +00:00
Stéphane Fillod, F8CFE
8690fb0594
Implement exit status according to manual page:
...
1 if there was an invalid command line option or argument;
2 if an error was returned by Hamlib.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3009 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-01 21:41:55 +00:00
Stéphane Fillod, F8CFE
a702f4a8ae
- Tx VFO arg checking in set_split_vfo()
...
- get/set channel improvements (stdout flushing, ext_levels, ..)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2928 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-28 19:47:35 +00:00
Stéphane Fillod, F8CFE
a7c37f8a69
necessary stdout flushing in interactive mode with prompt, under win/wine
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2909 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-05 20:11:55 +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
Stéphane Fillod, F8CFE
d8d60cd2e7
error checking when parsing
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2867 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 10:15:36 +00:00
Stéphane Fillod, F8CFE
453995e7c0
fix segfault and allow mode listing in rigctl
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2865 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 10:01:09 +00:00
Nate Bargmann, N0NB
b261cea22e
Reserve '#' for comments in Extended Response Protocol
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2842 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-01 22:37:06 +00:00
Nate Bargmann, N0NB
1f6604b188
Complete addition of Extended Response Protocol to rigctld
...
Update and synchronize rig and rot ctl(d) man pages
Update testctld.pl for ERp.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2837 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-18 00:18:54 +00:00
Nate Bargmann, N0NB
14841cf118
Removed -b|--block option in favor of using '+' prepended to a command
...
from the client to request Extended Response protocol.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2827 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-08 23:37:07 +00:00
Nate Bargmann, N0NB
fb4f7258bc
Rewrote power2mW to work with modern rigctl and rigctld.
...
Added mW2power for conversion the other way from power2mW.
Text label edits to dumpcaps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2824 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-06 15:05:17 +00:00
Nate Bargmann, N0NB
5e47dcf8d3
Added two new commands to rigctl_parse.c, \chk_blk and \chk_vfo to allow
...
clients to query the state of the -b|--block or -o|--vfo options from rigctld
Cleaned up strings in dumpcaps.c to remove duplicates to facilite
their use as key:value pairs
Updated rigctld man page for new commands
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2820 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-04 00:53:56 +00:00
Nate Bargmann, N0NB
52a87d096c
Added initial support for Block protocol in rigctld and documented same.
...
Rewrote testctld.pl for new block protocol and included it with
source distribution.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2813 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-24 23:24:20 +00:00
Terry Embry, KJ4EED
bad429c950
Eliminated "warning: ignoring return value of scanf"
...
for functions set_channel() and power2mW()
line, and those below, will be ignored--
M rigctl_parse.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-06 21:07:23 +00:00
Stéphane Fillod, F8CFE
303b617827
added RIG_CONF_BUTTON
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2623 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 17:28:38 +00:00
Terry Embry, KJ4EED
bdd0bf3e25
memset channel_t chan in get_channel
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2560 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-05 02:20:59 +00:00
Stéphane Fillod, F8CFE
025c1f4dd1
flexible command termination for send_cmd
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2557 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-04 14:49:17 +00:00
Terry Embry, KJ4EED
a18e75470f
Partially implemented set_channel
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-04 14:23:43 +00:00
Terry Embry, KJ4EED
f2aac246f2
Added mw2power testing into power2mW test
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2542 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-01 17:21:02 +00:00
Terry Embry, KJ4EED
22a0167a81
Changed vfo to txvfo = RIG_VFO_TX in set_split_freq(), get_split_freq()
...
Changed vfo to txvfo = RIG_VFO_TX in set_split_mode(), get_split_mode()
RIG_VFO_TX is "split or uplink vfo";
This may/will break code, maybe we want a vfo option instead?
Terry KJ4EED
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2499 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-13 22:51:36 +00:00
Stéphane Fillod, F8CFE
6686489197
fix 'vfo_mode stuck to 0' bug found by Zhang Bo
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2496 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-10 08:37:35 +00:00
Stéphane Fillod, F8CFE
f541b221fe
new netrigctl/netrotctl protocol with return value
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2428 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 22:23:36 +00:00
Stéphane Fillod, F8CFE
7894144c4e
* CTCSS/DCS squelch accessors
...
* DTMF send/recv and get_dcd
* dump_state for internal use by netrigctl backend
* factorize the "END" marker for rigctld, with proprer flushing/error handling
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2393 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:24:47 +00:00
Stéphane Fillod, F8CFE
c7279c14cf
* new command dump_conf from within rigctl
...
* DBTS #258692 : '?' show all the possibilities at rigctl prompt
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2365 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-23 14:30:12 +00:00
Stéphane Fillod, F8CFE
8e96f2812c
fix Debian #263478 , rigctl: help sheet doesn't line up
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2356 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-08 10:46:27 +00:00
Stéphane Fillod, F8CFE
db1b660205
make use of factorized rig_lookup_mem_caps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2334 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:57:04 +00:00
Nate Bargmann, N0NB
6ff8d83364
Added info about `ldconfig' to INSTALL.
...
Removed unneeded variable in rigctl_parse.c as the prompt variable
already served the role needed to send the END command.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2287 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-12 00:36:58 +00:00
Nate Bargmann, N0NB
c649181f37
Implement and document rigctld protocol and provide a compatible test.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2283 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-10 03:42:35 +00:00
Stéphane Fillod, F8CFE
109af84b52
make dumpcaps also through rigctld
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2276 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-05 18:13:12 +00:00
Stéphane Fillod, F8CFE
926bcbca8f
code taken from rigctl, to be factorized among rigctl and rigctld.
...
(optional) pthread support added because rigctld needs it.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2241 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-11 23:03:38 +00:00