Wykres commitów

80 Commity (d54d737ba5d66f746cc3e83ea3beabd242327505)

Autor SHA1 Wiadomość Data
Nate Bargmann d54d737ba5 rigctl_parse.c: Implement readline interactive mode
Initial implementation of Readline input handling.  Only if 'configure'
finds Readline will it be enabled and when enabled it will only be used
by rigctl in interactive mode.  Passing rig commands from the rigctl
command line and rigctld use the original input handling which has not
been modified.
2013-02-22 17:26:32 -06:00
Nate Bargmann 7e9f628648 rigctld/rotctld: Remove -e|--end-marker option
Remove support for deprecated "End Marker" protocol in rigctld and
rotctld.
2013-02-05 14:40:41 -06:00
Nate Bargmann 417cb98d2e Tidy up rigctl --list output
Implemented hash table to temporarily store and sort the rig models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rig backend register output by setting rig_debug_level to 0
for list output.

Removed riglist definition of RPC backend.
2012-02-13 15:28:42 -06: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 b54932ec96 Assure NULL terminated strings in rigctl/rigctld
The -r, -p , and -d options could result in a port pathname that is
not a NULL terminated string as the allowed string length is the same
size as the buffer per the strncpy manual page.  This is corrected by
assuring that the allowed length is FILPATHLEN - 1.
2012-01-06 23:11:35 -06:00
Nate Bargmann 0882cd696d Update GPL/LGPL header in tests source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05: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
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 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
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
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 dbb8c50555 new command dump_conf from rigctl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2364 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-23 14:26:09 +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 a0755abe0c code factorized in rigctl_parse.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2243 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-11 23:04:22 +00:00
Spaceman Spiff 7abb9a638d Added several letters to the interactive commands to implement more test functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2191 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-02-28 08:55:07 +00:00
Alexandru Csete OZ9AEC 20ec2ce78c Fixed type mismatches that caused compile warnings.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2131 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 19:24:56 +00:00
Nate Bargmann, N0NB e2110f298e 20060922:
Update:
		Applied July 30, 2006 patches from Kent Hill, AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2114 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-22 14:31:19 +00:00
Nate Bargmann, N0NB c85dcd5105 20060718:
Update:
		Committing patches received from AD7AI for several Icom
		models including IC-746, IC-756, and IC-7800.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2111 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-07-18 22:51:43 +00:00
Stéphane Fillod, F8CFE 3e22a1156c line-up
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2023 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 13:29:43 +00:00
Stéphane Fillod, F8CFE f2477fbc2c added special \send_cmd(w), fixed ARG_IN_LINE parsing, started coding set_channel(WIP), some tab reformat and reshuffled test_table for better alignment
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2009 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-11 22:11:28 +00:00
Stéphane Fillod, F8CFE c9a4c4c735 tab reformat
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2007 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 22:32:54 +00:00
Stéphane Fillod, F8CFE ec94dde189 send_morse takes a whole line, including spaces
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1940 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-13 17:55:47 +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 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 f805bab257 only print argument name if it is an input
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1859 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:33:21 +00:00
Stéphane Fillod, F8CFE bf3ee98315 powerstat & send_morse commands
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1750 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-06 21:59:54 +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 72ae118f85 rigctl -l reformating
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1678 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-08 20:25:36 +00:00
Stéphane Fillod, F8CFE 916a21ad52 moved some sprintf's out of library into dumpcap application.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1594 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:34:00 +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 788d8a49b8 typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1530 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:45:10 +00:00
Stéphane Fillod, F8CFE ce1e20cdd3 strange longlong portability(win32) fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1528 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:38:08 +00:00
Stéphane Fillod, F8CFE 343deb6f59 Support for pipelined tuning, including DCD on CD line.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1510 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-17 22:39:07 +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 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 d5345090e5 added ability to specify target vfo for each cmd when -o option is passed on command line
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1417 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-27 23:44:20 +00:00
Nate Bargmann, N0NB 437a1114ac 2003-03-24:
Update:
		Fixed a stupid error in ft890_get_freq that caused returned
		freq to be divided by 10.
		Added two new functions, set_ptt and get_ptt to set rig
		into and out of TX mode and query PTT status.
		Modified ft890_set_freq to check passed vfo against stored
		value and update rig only if passed vfo differs.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1413 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-24 12:18:42 +00:00
Stéphane Fillod, F8CFE 2d9de98a62 added set/get xit and ant
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1295 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-28 22:25:46 +00:00
Stéphane Fillod, F8CFE c8e58f5cb5 handle every parameter cases for get_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1204 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:50:54 +00:00
Stéphane Fillod, F8CFE 4e528d0f85 merged testcaps and dumpcaps into rigctl, added -u option (dumpcaps) to rigctl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1160 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-06 14:07:17 +00:00
Stéphane Fillod, F8CFE c36db76150 added ability to enter long command names in interactive mode, by prefixing them with a \
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1158 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-06 10:43:59 +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 8754944bf8 added transceive Event reporting, ptt_type and dcd_type options now accept keywords
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1135 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-22 23:44:50 +00:00
Stéphane Fillod, F8CFE 118b86574d patch from Rein PA0RCT implementing icom_set_rit, and ability to call rig_set_rit from rigctl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1133 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-19 22:17:11 +00:00
Stéphane Fillod, F8CFE 11baf8ecfb fixed support for new vfo param in get_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1119 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-10 21:34:53 +00:00
Stéphane Fillod, F8CFE e8403d542d added "extra" level and "extra" parm support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1111 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 20:40:28 +00:00