Remi Chateauneu
60019c9444
Monolitic libraries.
2013-09-08 14:56:28 +01:00
Nate Bargmann
b9ff04abf0
Fix W2k 'freeaddrinfo' error
...
Trying to run the pthread enabled binaries on W2k resulted in an error
dialog with the text, "The procedure entry point freeaddrinfo could not be
located in ws2_32.dll". A Microsoft support page
(http://support.microsoft.com/kb/955045 ) hints that when 'ws2tcpip.h' is
included that 'wspiapi.h' should be included as well. Since MinGw
includes both files, this patch corrects the runtime error on W2k
2013-05-18 07:31:40 -05: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
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
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