Nate Bargmann
39fe57864f
Quell variable set but not used warning.
2012-01-12 15:44:29 -06:00
Stephane Fillod
46033db165
CM108 GPIO PTT: do not break ABI
...
Move around the ptt_bitnum field in the union of hamlib_port_t.
Increase Hamlib frontend revision.
2012-01-11 23:28:01 +01: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
b31cc6ecd9
Assure NULL terminated strings in src files.
...
Various strncpy operations 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-07 20:50:34 -06:00
Stephane Fillod
da80137819
Add support for RIG_PORT_UDP_NETWORK
...
Also some copyright year update,
and default serial device on MacOSX
2012-01-06 09:28:24 +01:00
Nate Bargmann
3dedd4404f
Add elapsed time reporting to read_block()
...
Upon a read timeout, the elapsed time in seconds will be displayed in
the timeout error message.
Added function name to the beginning of all debug output messages.
2011-11-30 06:17:12 -06:00
Nate Bargmann
a54ef9c157
Add elapsed time reporting to read_string()
...
Upon a read timeout, the elapsed time in seconds will be displayed in
the timeout error message.
2011-11-22 19:00:28 -06:00
Nate Bargmann
f3fe7bffc8
Remove set but unused variable errors in src.
2011-08-25 10:42:00 -05:00
Nate Bargmann
dad27d1f69
Update LGPL header in src source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stephane Fillod
32f135726b
copyright date update
...
(cherry picked from commit 89888b3041
)
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-07-21 04:23:30 -05:00
Stephane Fillod
3c5db5456f
Let set_ptt() select source, either TX mic or TX data
...
(cherry picked from commit 421909bad2
)
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-07-21 04:21:38 -05:00
Nate Bargmann
5f2bf62947
Setup for 1.2.15 development cycle
2011-07-13 22:03:12 -05:00
Nate Bargmann
f500a67b49
Test product string with strncasecmp() now
...
Now testing with strncasecmp() for case insensitive match. Updating
firmware on FUNcube Dongle to v18f resulted in product string changing
from "FunCube Dongle" to "FUNcube Dongle". As new dongles are shipped
with older firmware, both product strings are valid. Sigh...
2011-07-08 07:01:00 -05:00
Nate Bargmann
ba5720d1a9
Fix test of strstr() for Vendor string match.
...
The sense of the test of strstr() return value was reversed. Corrected
so Vendor string match would pass. Tested with FUNcube.
2011-07-07 22:53:24 -05:00
Nirgal Vourgère
b0f9f805bb
Correct dump_hex output
...
Changed dump_hex so that there is only one call to rig_debug()
per line.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-06-19 19:37:25 -05:00
Stephane Fillod
cd5950c2ac
Emulate get/set channel through vfo_op (FROM/TO_VFO)
2011-06-01 09:19:55 +02:00
Stephane Fillod
7b73db7c1f
Make usb_set_configuration() optional upon backend choice, disable it for FUNcude dongle
...
The call to usb_set_configuration() looks troublesome for the setup
for the FUNcube dongle on Win32 target. In fact it appears not to be
necessary (TBC). Make that call optional per backend choice.
2011-04-11 23:24:44 +02:00
Nate Bargmann, N0NB
f22f3a82dc
Bump ABI version, updated README.release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3072 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-03-13 02:43:45 +00:00
Nate Bargmann, N0NB
d78648a170
Added partial match in USB product name
...
In case the usb device name is not found among the available devices, a
partial string comparison is performed.
Author: Stefano Speretta, Innovative Solutions In Space BV
<s.speretta@isispace.nl>
Signed-off-by: Stefano Speretta <s.speretta@isispace.nl>
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3054 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-17 12:22:48 +00:00
Stéphane Fillod, F8CFE
01e2396ead
- revert creation of RIG_MODE_WAM and RIG_MODE_SFM
...
- sr2200:
- fix filter width of WFM
- prevent symbol littering
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3044 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 22:21:11 +00:00
Stéphane Fillod, F8CFE
91deafbcb3
Allow USB device's VID/PID/Vendor/Product to be explicitly specified
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3041 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 09:02:40 +00:00
Nate Bargmann, N0NB
cf6443e3c4
Doxygen tweaks
...
New CSS file, added Doxygen logo to footer, tweaked hamlib.cfg.in for
Doxygen configuration. Minor edits to index.doxygen.
Minor Doxygen edits to rotlist.h and network.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3035 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-03 02:52:17 +00:00
Nate Bargmann, N0NB
53dad4d957
FUNcube interface added by Stefano Speretta
...
Added FUNcube interface to Hamlib. This is a basic FUNcube interface:
at the moment only frequency set/readout is supported. From Stefano
Speretta <s.speretta@isispace.nl>.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:40:45 +00:00
Nate Bargmann, N0NB
bd20ccd356
AOR SR2200 backend added by Stefano Speretta
...
New backend, SR2200, heavily derived from AR8200 backend. From Stefano
Speretta <s.speretta@isispace.nl>.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:32:55 +00:00
Stéphane Fillod, F8CFE
4ce20e5b60
- Clear MSB of data read on 7-bit serial port,
...
as it looks necessary with 7S1
- Do read unwanted response in prm80_transaction().
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3001 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-29 07:50:57 +00:00
Stéphane Fillod, F8CFE
9de8e3f1d2
Add Mark/Space serial parity
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2996 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 19:31:09 +00:00
Stéphane Fillod, F8CFE
db563f7aaf
Add support for USB device without usb_set_configuration() and
...
without usb_claim_interface(). Looks like needed on Windows 7.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2994 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-08 20:43:53 +00:00
Kamal Mostafa, KA6MAL
2567b93af7
Move backend libraries into /usr/lib/hamlib directory.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +00:00
Stéphane Fillod, F8CFE
886542c461
usb_set_configuration() is mandatory for the setup on Windows
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2987 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-22 19:54:12 +00:00
Stéphane Fillod, F8CFE
26f7a9e3c9
* do not check return value of usb_detach_kernel_driver_np(),
...
it's done as best effort, and access failure would be catched later.
* make failure of usb_claim_interface() fatal in usb_port_open()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2984 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-17 15:02:05 +00:00
Stéphane Fillod, F8CFE
5c24ee2925
Workaround SF#3055689
...
* make sure the PTT is not set when configured as RTS/DTR at open()/close() time.
It appears the Linux kernel force their value as explained here[1] during open.
Also obvious when reading the source code[2], esp. in uart_startup()
and uart_update_termios() where uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS)
is called.
[1] http://books.google.fr/books?id=75eeBNcjcuIC&lpg=PA152&ots=Qvgi6VDLvm&pg=PA152#v=onepage&q&f=false
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/serial/serial_core.c;hb=HEAD
* don't let the OS change modem signals at close() time
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2983 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-17 14:46:16 +00:00
Stéphane Fillod, F8CFE
bc5fd233cd
get ready for next round
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2973 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-03 21:28:06 +00:00
Stéphane Fillod, F8CFE
b818045a0a
- better portability check with HAVE_SIGACTION
...
- fix segfault when doing rig_set_trn(POLL->OFF->POLL)
- implement remove_trn_rig()/remove_trn_poll_rig() for rig_set_trn(TRN_OFF)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2956 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-21 11:37:58 +00:00
Stéphane Fillod, F8CFE
a539c8fe0c
- Better state transitions in rig_set_trn()
...
- (weakly) prevent recursion in search_rig_and_poll()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2953 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-20 21:56:45 +00:00
Stéphane Fillod, F8CFE
877a50a3eb
get ready for next round
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2942 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:49:59 +00:00
Stéphane Fillod, F8CFE
880ed4f89d
fix corner case in dump_hex(), where \n was sometime missing
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2929 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-29 14:18:48 +00:00
Stéphane Fillod, F8CFE
b32720c6fb
fix return codes for WIN32
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2922 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-26 19:08:11 +00:00
Stéphane Fillod, F8CFE
6feb18f611
use ptt port pathname same as rig port pathname when unset and rig is type serial
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2915 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-17 22:20:58 +00:00
Stéphane Fillod, F8CFE
ea156d0468
define PARPORT_CONTROL* and PARPORT_STATUS* in frontend
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2897 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 21:15:54 +00:00
Stéphane Fillod, F8CFE
022ddda4ad
- serial conf parameters appear only for serial type rig
...
- backend conf params appear last in rig/rot_token_foreach()
- debug trace in rig/rot_set_conf()
- rig/rot_confparam_lookup() now accept token as number
- moved rot_set_conf/rot_get_conf into rot_conf.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2893 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 17:20:44 +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
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
Stéphane Fillod, F8CFE
a74bc53452
doxy: clarification about ctcss enabling/disabling
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2864 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 09:42:04 +00:00
Stéphane Fillod, F8CFE
7c91105efd
added helper functions for cache timeout management
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-28 16:33:03 +00:00
Stéphane Fillod, F8CFE
462ebd1df4
Copyright date update
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2851 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-07 14:00:34 +00:00
Stéphane Fillod, F8CFE
f411c3fae0
allow tones and func calls to be targetable
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2845 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-05 18:48:40 +00:00
Kamal Mostafa, KA6MAL
5e21991a28
Hard-code length of hamlib_version and hamlib_copyright strings
...
to stay compliant with hamlib 1.2 ABI and avoid spurious "consider
relinking" warnings from dynamic loader.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2839 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-27 16:09:07 +00:00
Nate Bargmann, N0NB
6763e8e750
Fixed long path calculation in azimuth_long_path() in locator.c
...
Spelling edits and removal of space at the end of lines in rig.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2829 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-14 21:47:49 +00:00
Nate Bargmann, N0NB
37435ede91
Formatting edits to misc.c, line up columns with tabs, etc.
...
Added section about autofixer.sh
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2812 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-24 23:18:44 +00:00
Stéphane Fillod, F8CFE
581359dca0
Patch from Eric Sesterhenn, after cppcheck run:
...
- kenwood/ic10.c: (error) Buffer access out-of-bounds
- src/network.c: (error) Memory leak: p
- tentec/paragon.c: (error) Memory leak: priv
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2765 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-03 22:03:56 +00:00