Stephane Fillod
07bc66e7ab
Port rigctld/rotctld to Mingw32
...
Sockets under Windows require specific startup and cleanup calls.
Besides, the standard fdopen() does no work on socket descriptors,
and has to be worked around thanks to _open_osfhandle().
2011-03-27 19:13:22 +02: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
6ee58f0bff
get ready for IPv6
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2883 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 20:50:14 +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
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
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
f7e6d60341
restrict listening IP address
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2399 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 20:32:08 +00:00
Stéphane Fillod, F8CFE
22beda2e28
create threads in detached state in order to prevent zombies
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2389 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-17 20:36:34 +00:00
Stéphane Fillod, F8CFE
591f77e271
fix thread-leak and pthread_create error code checking
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2388 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-17 18:56:13 +00:00
Stéphane Fillod, F8CFE
b58bd02ef3
do not make rigctld conditional anoymore, check for winsock2 so rigctld can compile on mingw32
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2358 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-08 16:21:33 +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
a1b92934c3
initial revision, inspired by rigctl
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2240 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-11 23:02:01 +00:00