Kamal Mostafa
b3dd277eff
Fix spelling errors
...
(cherry picked from commit 3466512dbd
)
2012-08-21 19:55:13 -07: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
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
421909bad2
Let set_ptt() select source, either TX mic or TX data
2011-07-20 00:09:50 +02: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
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
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
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
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
Stéphane Fillod, F8CFE
46289ed58e
convert parallel ptt to cwdaemon interface(STROBE+INIT)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2747 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-01 18:48:27 +00:00
Stéphane Fillod, F8CFE
bbafe261fd
factorize port_open/port_close, fix a bug when setting RTS/DTR
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2729 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:49:04 +00:00
Stéphane Fillod, F8CFE
976540de77
set/get_split_{freq,mode} assisted by frontend
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2655 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 14:14:31 +00:00
Stéphane Fillod, F8CFE
b3037797c8
fix error code in rig_mW2power()
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2515 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-16 22:40:32 +00:00
Stéphane Fillod, F8CFE
ab24cf45e3
MinGW network fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2472 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-05 23:02:00 +00:00
Stéphane Fillod, F8CFE
30245bf73a
resolve normal passband where available in rig_get_mode/rig_get_split_mode
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2445 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 23:08:59 +00:00
Stéphane Fillod, F8CFE
2492903ea9
accept partial 'pathname' for PORT_NETWORK
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2406 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-23 22:02:40 +00:00
Stéphane Fillod, F8CFE
0e7d1eacea
implementation of PORT_NETWORK
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2395 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:30:35 +00:00
Stéphane Fillod, F8CFE
6f4705fc20
BUG#2106524: allow backend specific override get_ptt even if RIG_PTT_SERIAL_DTR (e.g. FT757GXII)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2379 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-12 11:49:32 +00:00
Stéphane Fillod, F8CFE
74495d7dfb
default serial device on BSD systems
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2343 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 15:36:23 +00:00
Nate Bargmann, N0NB
ec79e3cfb3
Documentation edits and additions for doxygen generated documentation.
...
Add missing enum to string definitions in settings.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2257 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-26 20:54:12 +00:00
Martin Ewing, AA6E
f6ddc3edad
documentation
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Alexandru Csete OZ9AEC
8798d79045
Cast constant caps to variable caps in order to avoid compiler warnings.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2118 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 13:08:19 +00:00
Stéphane Fillod, F8CFE
f3fba54375
bump (c) date, add delay if RTS/DTR is set
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2076 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:28:04 +00:00
Stéphane Fillod, F8CFE
36c62542ae
added usb port type support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2046 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-11-01 23:02:02 +00:00
Stéphane Fillod, F8CFE
15acf131b2
rig_mW2power fix reported by Brian Mury VE7NGR
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2037 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-06-20 21:15:48 +00:00
Stéphane Fillod, F8CFE
20f5e6fc3c
tab reformat
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1989 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 18:31:00 +00:00
Stéphane Fillod, F8CFE
8c5dc8e225
fix targetable all
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1984 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 22:33:08 +00:00
Stéphane Fillod, F8CFE
9fae198566
renamed port_t as hamlib_port_t
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1957 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 12:27:17 +00:00
Stéphane Fillod, F8CFE
c806c7e40c
added emulated split operation through RIG_OP_TOGGLE
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1949 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-26 17:57:14 +00:00
Stéphane Fillod, F8CFE
af21fced51
initial parallel port support for *BSD
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-02-20 02:38:29 +00:00
Chuck Hemker, N2POR
4270967938
Use RIG_TARGETABLE_MODE in rig_set_mode and rig_get_mode
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1897 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-12 01:55:38 +00:00
Stéphane Fillod, F8CFE
3e43344263
Split parallel port primitives in separate file from serial
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1862 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 20:37:24 +00:00
Stéphane Fillod, F8CFE
643fb5feae
* ser_ptt*/ser_dcd* are gone. Try to not mix low level serial stuff with
...
high level Hamlib stuff. Added ser_get_cts,ser_get_dsr,ser_get_car.
* better error code cascading
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1861 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 20:18:16 +00:00
Stéphane Fillod, F8CFE
f23efe3a7c
prepare work for Win32 systems which have 2 possible ABI: _stdcall and _cdecl
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:32:09 +00:00
Stéphane Fillod, F8CFE
7bac83a841
year stuff
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1781 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 23:12:58 +00:00
Stéphane Fillod, F8CFE
b1017566bc
added new error codes, as suggested by Nate
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1605 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-19 07:32:10 +00:00
Stéphane Fillod, F8CFE
6985ec78ca
converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR. RIG_LEVEL_STRENGTH is then derived from calibration table
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:14:44 +00:00
Stéphane Fillod, F8CFE
7ec6ee0b12
remove unused buffered mode stuff
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1555 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:44:00 +00:00
Stéphane Fillod, F8CFE
88fb6a6330
Default device name (OS dependant)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1525 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:33:38 +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
dc4564b4ff
fix previous commit(rig_close) and default parallel port
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1492 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-22 21:37:42 +00:00
Stéphane Fillod, F8CFE
73655ad83b
handle RIG_PORT_PARALLEL ports in open/close
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1484 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-22 19:41:59 +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
484235b463
doxygen fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1459 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-27 22:15:06 +00:00
Stéphane Fillod, F8CFE
026428e1b7
upgrade to libtool 1.5
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1447 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-19 13:47:57 +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