Wykres commitów

1179 Commity (e900b4f9dc7e6c9328d6726f1d66152595d6e2bc)

Autor SHA1 Wiadomość Data
Michael Black eb9e59211a network.c astyle applied 2019-02-07 11:46:52 -06:00
Michael Black 48c8247a86 Fix network_flush as it was not actually flushing before
This was causing an infinite loop and WSJT-X to lock up using flex6xxx backend
2019-02-07 11:44:33 -06:00
Michael Black 2fa14476f6 Reduce verbosity of rig_strvfo 2019-02-05 09:44:19 -06:00
Michael Black 63570dd791 Improve error handling in network_flush when disconnect happens 2019-02-05 09:40:46 -06:00
Michael Black 8f93173462 Reduce verbosity of rig_strrmode and read_string 2019-02-05 09:31:54 -06:00
Michael Black 8b695bcc03 Add BC2 and NB2 functions for newer kenwoods
Change RIG_SETTING_MAX for 64-bit compatibility
2019-01-01 12:33:22 -06:00
Michael Black 772b1ba2c1 Fix rig_idx2settings for 64-bit sprintf_list functions 2018-12-31 15:39:49 -06:00
Malcolm Herring 2ccf99da04 icr30 updates 2018-12-26 08:25:38 +00:00
Malcolm Herring 1747595f10 ICR6 new functions 2018-12-24 11:00:12 +00:00
Michael Black ce3f6806d0 Fix RIG_MODE structure in src/msic.c 2018-12-23 17:37:27 -05:00
Michael Black 64b35ccbee Add PRXll macro for 64-bit use 2018-12-21 16:46:48 -05:00
Malcolm Herring 31cc85bf57 Add IC-R30 2018-12-21 07:07:41 +00:00
Ekki Plicht (DF4OR) 4e8ba3d6f3 Patch for Icom DCS code handling
* Change magic numbers in icom_set|get_ctcss|dcs_sql|code functions to
constants defined in src/tones.h

* fix a minor bug in icom_get_dcs_code (now ignoring polarity instead of
reporting invalid DCS code when sending reverse pol. DCS code)

* introduce DCS codes to IC-R8600 rig backend

73,
Ekki, DF4OR
2018-12-19 18:09:14 -06:00
Robert Benedict 3724ce87ee New iOptron rotator backend
I have an potential initial release of a backend for iOptron alt-az mounts.
I have tested it and it appears to work well both from the command line and
driven by Gpredict with my iEQ45Pro. I ran the source through astyle and I
think that it's OK. Compiling and testing was done under Unbuntu 18.

   Bob KD8CGH
2018-12-13 15:23:46 -06:00
C-Elegans d8f010cfa3
Add ability to have rigctld display transverter frequency
Use -C lo_freq=xxxxx to have rigctld add x to your vfo frequency
internally
2018-11-07 11:49:06 -05:00
Nate Bargmann 1ecadcc594 Quell various defined but not used warnings from MinGW
Enclose various variable and function definitions in CPP macro blocks to quell
warnings when cross-compiling for Microsoft Windows using MinGW.
2018-10-27 20:49:20 -05:00
Nate Bargmann ac540c82cc Quell gcc 8.2.0 warning of possible truncation
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       network.lo
../../hamlib/src/network.c: In function ‘network_open’:
../../hamlib/src/network.c:245:46: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 139 [-Wformat-truncation=]
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
                                              ^~
../../hamlib/src/network.c:245:9: note: ‘snprintf’ output between 44 and 555 bytes into a destination of size 150
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Raising the size of the msg buffer to 1024 quelled the warning.
2018-10-25 16:58:51 -05:00
Michael Black W9MDB aadd458b99 Ensure read_string value is terminated 2018-10-25 08:37:59 -05:00
phl0 b2b20af07e
Ass support for CM108AH chipsets 2018-09-08 21:57:25 +02:00
HB9EIK bde028485a Update build system for ELAD backend 2018-08-21 06:07:09 -05:00
Nate Bargmann ac83428f7b Merge branch 'master' of https://github.com/JeroenVreeken/Hamlib 2018-08-05 21:11:40 -05:00
andz 75228aa974 Added Meade LX200 Protocol to Rotors
* Added new rotor module (18) for Meade telescope rotors
* Implemented all needed rotor functions
* Added README.md

* Tested with DS-2000 Rotor with Autostar 494 and 506 serial cable
* Tested on Linux (Debian) with rotctl and gpredict
2018-07-17 08:57:05 -05:00
Jeroen Vreeken 0057b2f8b1 GPIO working after debugging 2018-06-30 16:09:56 +02:00
Jeroen Vreeken 9c7ce6eacb Merge branch 'master' of github.com:Hamlib/Hamlib 2018-05-06 00:12:23 +02:00
Michael Black W9MDB 1e883d0195 Fix compile warnings for src 2018-04-22 18:38:16 -05:00
Michael Black W9MDB 2dae3ae8fe Reverse bad patch for Android 2018-04-15 16:10:27 -05:00
Michael Black W9MDB 6c369109e6 Add debug time stamps via -Z and --debug-time-stamps 2018-04-15 15:06:52 -05:00
Michael Black W9MDB 841acdf011 Improve network connect error message 2018-04-14 10:46:13 -05:00
Jeroen Vreeken bfa948ebc5 Add GPIO and GPION options for DCD.
Also bump abi version since the config params struct needed resizing.
2018-03-29 23:55:25 +02:00
Mikael Nousiainen 3cdbad1064 TM-D710: Rewrite the whole backend, since most of it was not working anyway. TM-D710 protocol is significantly different from TM-D700 or the TH handheld ones. Most features work, but the control protocol is quite limited: for example, it is not possible to change the selected frequency band of a VFO. Additionally, selecting MEM VFO uses the previously selected band (VFOA/VFOB), since there are no separate MEM VFO definitions for A/B bands. Added FMN mode to string constants, so that it can be used with the set_mode command. 2018-03-15 09:33:01 +02:00
Dieter Röver 1a272f5b0e Fix bug in vfo_comp calculation in Hamlib
I tried to control my "FUNcube Dongle Pro" SDR with Hamlib. At first it
worked fine, but when I tried to correct the frequency divergence with
the vfo_comp parameter, I found a bug in the software.

Example:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 102010000

The correction must toke place when setting the frequency and when it
is read back. But one time the correction must work in on direction,
the other time quite opposite.

I found the code in the file rig.c and could see, that both times the
same calculation is used.

The simplest way to correct this is to go to the “rig_get_freq(“
subroutine and change it in the line 1188 from “+=” to “-=” , even that
is mathematically not correct.

Result:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 99990000

$ ./rigctl -m 2513 -C vfo_comp=0.000022
  Rig command: F 100000000
  Rig command: f
  Frequency: 99999999

You can see, that the result is quite good for small divergences of
some ppm, but there is still an error for bigger divergences. So I
changed the line 1188 to the form I hope it is the mathematically
correct one:

*freq = (freq_t)(*freq/(1.0+(double)rig->state.vfo_comp));

Result:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 100000000

$ ./rigctl -m 2513 -C vfo_comp=0.000022
  Rig command: F 100000000
  Rig command: f
  Frequency: 100000000

Now the result looks good for small and for bigger divergences.

Best regards
Dieter Röver (DK6OV)
2018-02-23 12:34:28 -06:00
Max Lock 5b0a2d851d Addition of support for CM108B PTT 2018-02-19 06:42:08 -06:00
Nate Bargmann ab3e6bb5a5 Formatted src/ to final coding guidelines 2017-10-04 21:32:08 -05:00
c vw 028732bdfd Changes to make microHam support compile under MinGW 2017-09-21 17:55:21 +02:00
Jaroslav Skarvada 9693cce0b3 Fix serial_port DCD squelch
Hi,

I had trouble with CTS serial port squelch (on microHAM USB Interface III).
It seems there is a bug in the hamlib code and I think the similar thing
should be done as has been done for the pttport, i.e. if the dcdport is
the same as the rigport, do not reopen it. Otherwise the serial port will
be reset to its default and it will key the radio PTT forever (because
the RTS line is reset on the port reopen). Patch attached

73! Jaroslav, OK2JRQ
2017-09-10 21:04:55 -05:00
c vw d008ca6e5d Microham support. Use "uh-rig" for rig_pathname to talk to the
microHam device for CAT. If you want hardware PTT via the microham
device, use DTR method and ptt_pathname "uh-ptt".
2017-09-10 19:56:59 -05:00
Bill Somerville 80a4097aba Add best guess transmit status to rig state structure
This flag can  be used by back  ends that need to  take special action
while the  rig is transmitting e.g.  the FT-747GX and similar  that do
not process CAT commands while transmitting.

The flag  is also used as  a default answer to  rig_get_ptt if nothing
better is available.

Deal with inaccurate CAT query for Rx/Tx on the Yaesu FT-847

This rig  doesn't set the Rx/Tx  status flag when PTT  is asserted via
the PTT pin on the rear PACKET  socket so we need to override which we
can do if we known we have asserted PTT via rig_set_ptt().

Adjust style and fix set PTT defects

Fix a warning from a declaration of a deleted function definition
2017-08-09 21:54:50 -05:00
Nate Bargmann f76b354588 Reformatted src directory 2017-08-09 06:14:31 -05:00
Michael Black W9MDB 21a6909a9a Add Barrett 2050 backend 2017-07-04 12:50:23 -05:00
c vw fc6d87addf Do not set DTR/RTS on dedicated PTT port if it is already closed. 2017-05-29 09:37:32 +02:00
Bill Somerville 62fb76019f Fix a state machine defect with repeated PTT reset calls
When the PTT serial  port is not the control port  the intention is to
free the port  when PTT is reset so that  other applications can share
it. This logic  was faulty with attempts to call  port functions on an
unopened port when repeatedly calling the rig_set_ptt API.

Thanks to Christoph van Wullen, DL1YCF, for finding and analyzing this
defect.
2017-02-27 13:02:04 +00:00
Jeroen Vreeken 70127b6b9c Add Dorji DRA818 modules (VHF and UHF variants)
Also works with NiceRF SA818 modules
2017-02-22 12:14:50 +01:00
Jae Stutzman dfd969acd3 Use Windows ioctlsocket to avoid buffer overrun 2017-01-26 19:42:00 -06:00
Jae Stutzman 230430c4e9 Clears potential garbage data in read buffer prior to command being sent 2017-01-25 20:45:24 -06:00
Michael Tatarinov 7848d49a53 Fix typos. 2016-12-18 08:17:54 +04:00
Michael Black 199111bcc4 Changed some modules to LGPL in lieu of GPL 2016-10-31 11:05:24 -05:00
Nate Bargmann 234122bb50 Merge pull request #25 from mdblack98/master
Expose version and licensing via function calls
2016-08-31 20:46:18 -05:00
Bill Somerville e44566e8a7 Release the serial port used for PTT when possible
When  using  separate  serial port  for  PTT  via  RTS  pr DTR  it  is
convienent to close  the port when the PTT line  is not asserted. This
allows other applications to share the PTT serial port.

This has been  achieved by ensuring that file descriptor  for the port
is set to -1 when the port  is closed, this then allows the invalid FD
to be used as a PTT surrogate for the rig_get_ptt API when the port is
only being used for PTT.
2016-08-31 22:34:09 +01:00
Michael Black da40941d7f Merge branch 'master' of https://github.com/N0NB/hamlib 2016-08-31 09:22:13 -05:00
Michael Black 15b3e73e7f Exposed constants via function calls 2016-08-31 09:05:47 -05:00
Bill Somerville 4e53f99e51 Adjust rig_list_foreach to allow use for unregistering
This patch changes rig_list_foreach such  that the called function may
call rig_unregister without having to access freed memory. This avoids
a valgrind  MemCheck and makes  it possible  to clean up  teh rig_list
database.
2016-06-10 01:13:57 +01:00
Nate Bargmann bf2b5c80ba Merge branch 'master' of http://video.vreeken.net/~pe1rxq/hamlib-code 2016-06-05 11:43:53 -05:00
Michael Black W9MDB\n d5b3c049af Fixed SCAN_STOP for all rigs and implmented it plus SCOPE for ic7300 2016-06-02 23:08:22 -05:00
Jeroen Vreeken 3ee7b68d42 Add missing breaks and improve error messages 2016-05-30 14:12:01 +02:00
Jeroen Vreeken 1bf736d650 Add support for GPIO PTT. 2016-05-28 16:00:03 +02:00
Bill Somerville 222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Bill Somerville 21c346453a Implement combined split VFO frequency and mode setting.
CAT protocols that don't allow  direct addressing of VFOs require that
the  "other" VFO  be queried  or set  via a  select then  get/set then
select back  to original or  swap then  get/set then swap  again. When
both frequncy and  mode need to be set the  sequences can be optimized
if a single funciton is avaiable.

This enhancement adds those single functions rig_set_split_freq_mode()
and  rig_get_split_freq_mode()  with  a default  impelementation  that
calls the individual rig_{get,set}_split_{freq,mode}() functions. Back
ends  can choose  to  implement  an optimized  version  which is  used
instead of the default if present.

Using these  functions when  an optimized implementation  is available
allows the TX VFO's frequency and mode to be set in a single operation
with  only  one   VFO  exchange  or  selection  either   side  of  the
operation.  Many CAT  protocols  are very  efficient  when getting  or
setting both  frequency and mode  and some even  combine the two  in a
single command.

The letters 'K' and 'k' are used for the rigctl short command name for
these functions.
2016-03-23 17:09:26 +00:00
Nate Bargmann 0db862e560 Apply Linux C Style to parallel.c 2016-02-21 15:06:16 -06:00
Nate Bargmann 6a3214fd43 Apply Linux C style
Update files modified to support libusb-1.0.
2016-02-21 14:56:44 -06:00
Nate Bargmann 07353e1f80 Fix compiler warnings with x86_64-w64-mingw32-gcc
Compiling for Windows 64 resulted in several warnings.  Correct them by
using proper Windows function calls rather than casts.
2016-02-20 11:44:19 -06:00
Nate Bargmann 9ec98e0fe3 Check for libusb-1.0/libusb.h
Some distributions--Debian and Alpine tested--put libusb.h under the
libusb-1.0 directory.  Test for its presence and if found define
HAVE_LIBUSB_1_0_LIBUSB_H.  Also test for HAVE_LIBUSB or
HAVE_LIBUSB_1_0_LIBUSB_H and conditionally include the correct header
file in the sources.
2016-02-15 08:10:07 -06:00
Stephane Fillod 8d7697c3bd Migrating from libusb-0.1 to libusb-1.0 2016-02-14 18:02:26 +01:00
Michael Black 61a0e77110 Fix port->pathname checks
Was always true since it's statically allocated

RRR
Mike W9MDB
2016-02-09 10:59:09 -06:00
Bill Somerville fca48348a6 Add missing configuration getters 2016-02-04 09:09:35 -06:00
Dario Ventura 46fe57190e New Prosistel rotor backend from IZ7CRX
This is patch adding prosistel rotator backend.
Simply reading and setting azimuth for now.

73,
Dario Iz7crx
2015-12-31 08:25:14 -06:00
Bill Somerville aebe52a45e Add a new command line option '--no-restore-ai' ('-n') to rigctl
As Hamlib now restores the rig auto information state (AI) on exit
there is now a need to disable that functionality so that rigctl can
be used to set/reset AI mode on the rig explicitly.

A new  public API  function 'rig_no_restore_ai()'  is also  added that
allows any  client to  disable this auto  AI restore  functionality if
required. Most  clients should do nothing  as restoring AI state  is a
good thing.
2015-12-04 00:22:01 +00:00
Bill Somerville ca7cbd89f4 Fix compiler warnings 2015-11-27 19:17:47 +00:00
Bill Somerville 181a3e9697 Proper IPv6 and dual stack networking
This means that rigctl & rigctld  now work with default arguments on a
modern Windows  machine with dual  stack and localhost being  [::1] as
the first interface returned by getaddrinfo().

Try all the interfaces return by DNS lookups to establish a connection
or listening  port. Handle  Windows network  errors correctly  so that
meaningful messages are printed.

The rigctl program now accepts  IPv6 numeric addresses in the portname
field like [<addr>}:<port> for example  the IPv6 loopback on port 4531
would be [::1]:4531.
2015-11-27 13:47:48 +00:00
Nate Bargmann ffe3126a85 Make cnctrk visible to rotctl
After all these years one would think I would remember to read the
directions for all the steps involved.  Ummm, nope!

cnctrk is now visible to rotctl.
2015-08-22 11:21:23 -05:00
Michael Black e780f2dc66 Flush the debug stream
Testing under JTSDK MSYS environment debug info was not being seen while
running rigctl -vvvv

Adding a flush to the debug stream fixes it.

Mike W9MDB
2015-05-07 17:13:44 -05:00
Bill Somerville cf65505511 Honour any error status from serial port calls
The  previous commit  introduced  a regression  that  masks any  error
return from  opening the serial  port used for  PTT when that  port is
different from the CAT serial port.
2015-04-22 22:16:35 +01:00
Bill Somerville de3fccf033 Lower both RTS and DTR on alternate PTT serial port
Before this  change only the  line used for  PTT was being  lowered on
open.   It is  necessary for  platforms  other than  Windows to  avoid
issues with other uses of the line not used for PTT such as interfaces
that wire-or RTS and DTR together or use it for CW or FSK keying. This
is because  platforms other  than Windows  raise both  DTR and  RTS on
serial port opening.

Also changed  code that opens CAT  port to lower  RTS or DTR if  it is
used for PTT. In this case there is no need to lower the other line of
DTR  or RTS  as there  is  already a  config parameter  to control  it
(dtr_state or rts_state). This change is necessary to maintain current
functionality.
2015-04-16 23:59:43 +01:00
Bill Somerville ddb0a12403 Use correct argument type for serial control line functions
The serial port  line control functions take a boolean  argument not a
ptt_t argument.   Changed usage in  rig_open() to use a  explicit zero
instead of RIG_PTT_OFF  value which only coincidentally  happens to be
zero.
2015-04-14 10:04:31 +01:00
Bill Somerville 143f305b49 Further clarification in the implementation of kenwood_transaction()
Buffer size is  now an input parameter only as  the return data length
is  implicit since  a null  terminated C  string is  returned.  Better
precondition checks are impelmented.
2015-02-16 12:46:35 +00:00
Stephane Fillod 80f921954b New IC-M700PRO backend
Backend for the ICOM IC-M700PRO marine transceiver.
2015-01-21 23:57:08 +01:00
Bill Somerville 36b8a972cf Error checks on simulated direct VFO addressing
Many APIs  emulate direct VFO  addressing by using  caps->set_vfo() or
caps->vfo_op(..., RIG_OP_TOGGLE)  to simulate  direct addressing  of a
non-current  VFO. The  mirrored function  call to  revert back  to the
original  current  VFO was  not  checking  for  errors.  This  is  not
unreasonable but it turns out that some rigs can arbitarily fail doing
VFO changes or swaps (e.g. Yaesu FT-450).

I have added checks to these calls but only fail with the error if the
API call being wrapped does not fail itself. This allows the mirroring
VFO  operation to  be  completed,  if possible,  even  if the  wrapped
function could not be completed,  hence as before, making every effort
not to change the rig state unnecessarily.
2014-12-11 17:14:58 +00:00
Bill Somerville 82b8649030 Revert read_string() to partial results are a success status
The read_string() function was changed to return a -RIG_ETIMEOUT error
when timing out after having read  some characters. This caused a back
end to fail because it was  using a read_string() with an invalid stop
character  and relying  on the  timed out  read_string() to  fetch the
data. This  patch reverts to  the prior  behavior of returning  a null
terminated buffer and  read bytes count if at least  one byte has been
read.
2014-12-10 01:25:33 +00:00
Bill Somerville 849f1e1bf8 Fix serial i/o on Windows.
Fix bytes read count accumulation in Windows serial I/O.

read_string  from  communications  port   doesn't  handle  timeout  on
anything but the first character read.

Honour VMIN tty parameter correctly.
2014-11-30 11:22:58 +00:00
Bill Somerville 4e2a6adf12 Move serial line control error checks to lower level routines
Moved in preference to introducing errno.h into rig.c.
2014-11-24 00:51:12 +00:00
Bill Somerville 0e0779877d Add more diagnostics and error checks to serial line control 2014-11-24 00:18:48 +00:00
Bill Somerville e1a0e9121c Always clear serial control lines when used for PTT
When a serial  control line (DTR or  RTS) is used for  PTT control the
rig_open()  function clears  the PTT  control line  after opening  the
port. This  is necessary on Linux  because opening the port  sets them
both as part  of the normal RS-232 protocol. The  lines were not being
cleared when the PTT port was the same port as the CAT control port.
2014-11-21 20:58:18 +00:00
Nate Bargmann 870da0a422 Merge branch 'serial-contro-line-error-fix'
of git://git.code.sf.net/u/bsomervi/hamlib
2014-10-18 07:37:20 -05:00
Bill Somerville cd44a8d926 Only check for serial control line conflicts if PTT shares CAT port 2014-10-14 12:51:23 +01:00
Nate Bargmann c38dfb97aa Quell compiler warning--missing parens
Got too quick on the trigger on the previous commit.  Added compiler
requested parentheses around AND test for previous commit.
2014-10-12 09:17:31 -05:00
Veijo Arponen 89ebe6bc84 Add support for DMK Engineering URI
I have a problem with the CM119A GPIO. The PTT line of the DMK
Engineering URI was not activated by the hamlib  when using fldigi or
rigctl.

I fiddled with the source code and managed to edit the code in cm108.c
to get the PTT-line activate on my URI-box.
A successful rigctl command is:

rigctl -p /dev/hidraw0 -C ptt_pathname=/dev/hidraw0,ptt_type=CM108,ptt_bitnum=2
Attached is the modified source code file and a patch in 'git diff'
format.

The version of origin is 1.2.15.3.

73 de Veijo OH3NFC

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2014-10-12 09:05:25 -05:00
Bill Somerville 19f131b1b8 Remove redundant RIG_PTT_SERIAL_CAT enum from ptt_t
The Icom IC-7100 back end added this enum instead of using the extant
RIG_PTT_RIG enum.  Also the rig_get_ptt() implementation didn't handle
it and errored out.

Note: RIG_PTT_SERIAL_CAT was added in commit
e9ee671149  - N0NB
2014-10-09 10:25:38 -05:00
Nate Bargmann 0fa8a5656c Quell warning from MinGW on setting CM108 pttbitnum
MinGW was issuing the following warning:

  CC     rig.lo
rig.c: In function 'rig_init':
rig.c:330:36: warning: assignment makes integer from pointer without a cast [enabled by default]
  rs->rigport.parm.cm108.ptt_bitnum = DEFAULT_CM108_PTT_BITNUM;
                                    ^

The constant DEFAULT_CM108_PTT_BITNUM was being defined as a string on
non-linux platforms.  Now defined to an integer on these platforms.  The
actual value may need to be corrected at some point in the future when
CM108 support is completed for those platforms.
2014-02-16 07:33:42 -06:00
Nate Bargmann 6ea09a138a Clean up build system, fix test programs
Clean up various left over commented lines from dlopen to single
libhamlib transition.  Remove unneeded configure variables.

Correct minor inconsistencies in Makefile.am files.

Define a new variable, READLINE_LIBS, so that only programs that offer
Readline support are linked against it.

Fix various compilation warnings and errors in test files revealed with
'make check' on MinGW.

Define rig and rotor backends to (mostly) be built in alphabetical
order.
2013-12-10 20:14:22 -06:00
mvcstroomer e9ee671149 Add Icom IC-7100 support.
From Martin, CT1IQI:

"Several programs under Linux rely on Hamlib for control. I wanted to
try WSJT-X (digital modes like JT65) and found that my new IC-7100 was
not yet supported, also after having compiled the current git version of
Hamlib and having compiled WSJT-X against that.

So I added a IC-7100 by taking the ic-7200 and 7420 rig files as
example, be it without going (yet) through all of the very many commands
the ic-7100 supports.

This produced the situation where there was communication, e.g. setting
and reading frequencies, but the PTT control did not work.  I debugged
that to actually the lack of a PTT mode in Hamlib that uses serial and
CAT at the same time; currently PTT per 'serial' seems equivalent to
toggling certain RS232 pins but not to any serial command level. So I
added a RIG_PTT_SERIAL_CAT mode for PTT control. Now the wsjt-x program
works nicely with the ic-7100 and controls both frequency and PTT via
the single USB cable."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-10-25 08:40:36 -05:00
Nate Bargmann 9cd11ebe27 Force libhamlib to be relinked when a backend is updated
Add the rig and rotor backends to the list of dependencies for
libhamlib.la so that updating a given backend will force libhamlib.la to
be relinked as well.  Thanks to Bill Sommerville, G4WJS, for reporting
this.

Removed obsolete references and variables related to LTDL.
2013-09-26 21:57:04 -05:00
Nate Bargmann 1f0590dfbe Fix conditional build of winradio backend
With the new registration code set the HAVE_WINRADIO preprocessor
conditional if the winradio backend is to be built and test this
conditional in src/register.c whether to build winradio support.
2013-09-22 20:45:49 -05:00
Bill Somerville efd1917e98 Fix rig_open not failing when PTT/DCD port is unavailable.
rig_open was giving RIG_DEBUG_ERR messsages if PTT or DCD
port was unavailable but the function was not returning an
error status.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-21 21:14:11 -05:00
Nate Bargmann 1bac099494 Remove remaining references to rpc
As rpc backends were removed some time ago, remove all remaining
documentation and other references to rpc.
2013-09-19 15:24:52 -05:00
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Bill Somerville ef28e435d8 Patch to allow same serial port for PTT and CAT.
Hi,

patch attached to enable the above which was partially coded but not
quite working.

73
Bill
G4WJS.

>From 9dab3a250dfad7203772df91aadf79d38c108f04 Mon Sep 17 00:00:00 2001
From: Bill Somerville <bill@classdesign.com>
Date: Fri, 6 Sep 2013 01:13:34 +0100
Subject: [PATCH] Fix using same serail port for PTT and CAT

src/rig.c was coded to allow the same serial port for PTT and
CAT but them tried to open the port twice. I have added code
to share the file descriptor in this situation.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-18 12:34:20 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Nate Bargmann 36f5f4cf6a Revert to previous handling of getaddrinfo()
Use the system gettaddrinfo function when possible as before.  Tested on
GNU, Cygwin, MinGW on Linux, and MinGW on Windows.  Under MinGW the
replacement getaddrinfo is used.  Perhaps this is an area for
investigation to be certain MinGW really doesn't supply getaddrinfo.
This reverts some of the patches from Remi Chateauneu in commit
60019c9.  This fixes build issues encountered building the Windows
binary daily snapshots.

Enabled static library build by default at configure time.

Fixed pthread library linking for the ars backend on MinGW.
2013-09-15 19:47:49 -05:00
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 df64a49428 Specify libhamlib.la dependencies 2013-05-09 22:11:01 -05:00
Nate Bargmann 245ab86441 Quell compiler warnings on Cygwin
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -05:00
Stephane Fillod 212f2c97b2 serial: round up VTIME
Round up the VTIME setting in case the rig timeout is less than 100 ms,
which would make the termios timeout infinite.
2013-05-07 07:59:49 +02:00
Stephane Fillod 6c370dd36d serial: fix blocking call on ports, esp. on win32
Summary from Lada:

On Win7, good testing command is:
C:\hamlib> rigctl -vvvvv -m 214 -r COM1 -s 4800 -C data_bits=8 -C
stop_bits=2 -C serial_handshake=Hardware -C timeout=1000

Behavior of this command differs on COM port. On hardware ports
(onboard, PCI NetMos, all probably 16550-compatible) rigctl freeze in
data write. It is correct, no hardware handshake is estabilished. On
FT232 USB port initialization failed by timeout. I think it is not
correct but this is not subject of this e-mail.

Looked into hamlib source and found, that timeout argument is no
longer handled. SetCommTimeouts takes timeout from c_cc[VTIME] which
is not filled.

Signed-off-by: Ladislav Vaiz <spam@nagano.cz>
2013-05-06 23:47:56 +02:00
Ladislav Vaiz 6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05:00
Nate Bargmann 3f2bc78485 misc.c: Place RIG_FUNC_RIT in numeric order
Debugging made more sense with RIG_FUNC_RIT in numeric order in
func_str.func members.
2013-01-31 17:58:21 -06:00
Nate Bargmann f82184cbf5 Add RIT and XIT as rig_set/get_func() members
In response to a long standing request from Tor, N4OGW, and others, RIT
and XIT are added as members for the rig_set/get_func() members.
"RIT"/"XIT" have been added as tokens.  The dummy rig backend and
testrig.c have been updated for these new functions.

Applications should test a backend with the rig_has_set/get_func() and
test for RIG_FUNC_RIT or RIG_FUNC_XIT.  A non-zero result indicates
these functions are implemented by a given rig backend.  It will take
some time for all backends to migrate to this new implementation.  Once
implemented, RIT or XIT should be set to '0' to 'clear' the value
without deactivating the rig's RIT/XIT function.  The dummy/dummy.c file
can be used as a simple guide for backend authors implementing this
behavior.
2013-01-15 12:47:47 -06:00
Nate Bargmann 0232e30fc0 ABI backward compatibility enhancement
Use the libtool link mode argument '-version-info' to set the Hamlib 3
ABI to be compatible with Hamlib 1.2 ABI.  As the current ABI has not
been changed or removed, we should be able to maintain backward
compatibility.  The libtool docs state that so long as the ABI is only
added to, backward compatibility should be maintained.

My idea here is to be able to have presently compiled programs be able
to use binary libraries of Hamlib 3 without recompiling.  So far I have
tested this locally on Linux and Windows.  More testing is welcome.
2012-10-08 13:07:35 -05:00
Nate Bargmann 52be3c47b8 Provide libltdl in source tarballs
Initializing libltdl is now done by the LTDL_INIT macro in configure.ac.
This now creates a libltdl directory in the tree (not tracked in Git)
when autoreconf is run.  The downside is that this complicates the build
a little bit with the advantage that the build can now take place on a
system that does not have libltdl-dev installed as Hamlib will build on
such systems by passing the '--with-included-ltdl' flag to the configure
script.  In particular, this simplifies the build on Linux for the mingw32
host by not having to run libtoolize manually and assures that libltdl
is built with the same build and host architectures as Hamlib.

Now check if '--with-included-ltdl' has been passed to configure and if
not, only then test for the presence of an installed ltdl.h.

Commented out AM_MAINTAINER_MODE macro.  It is recommended by the
Automake manual that this macro and its configure options not be used as
the Autotools system is designed to regenerate its files.  Let me know
if this is problem as it can be reversed easily enough.  The autogen.sh
script no longer passes the '--enable-maintainer-mode' option to
configure when bootstrapping the build system from Git.

Minor edits in configure.ac to improve readability.

Updated build-win32 files in scripts/
2012-10-07 08:31:10 -05:00
Nate Bargmann 02ef0d7ce0 Merge branch 'master' of ssh://hamlib.git.sourceforge.net/gitroot/hamlib/hamlib
Conflicts:
	macros/ax_python_devel.m4

Kamal's update was corrected by a newer version of
macros/ax_python_devel.m4 I had applied earlier.
2012-10-05 12:38:02 -05:00
Nate Bargmann ea47d89f3f configure.ac: Quell autoconf obsolete warnings
Using the -Wall switch to autoconf/autoreconf revealed a number of
obsolete macros.  At the moment, offending macros have been commented
out using 'dnl'.  They will be removed at some later date.
2012-09-25 22:29:30 -05:00
Kamal Mostafa 3466512dbd Fix spelling errors 2012-08-21 19:54:50 -07:00
Nate Bargmann a5f13e0056 Set AC_PREREQ to 2.67, enable Automake warnings
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Nate Bargmann 8c145cfc6b Merge branch 'API_3'
Conflicts:
	.gitignore
	Makefile.am
	NEWS
	c++/Makefile.am
	configure.ac
	hamlib.spec.in
	rpcrig/rpcrig.x
	rpcrig/rpcrig_backend.c
	rpcrig/rpcrig_backend.h
	rpcrig/rpcrig_proc.c
	rpcrig/rpcrigd.c
	rpcrot/rpcrot.x
	rpcrot/rpcrot_backend.c
	rpcrot/rpcrot_backend.h
	rpcrot/rpcrot_proc.c
	rpcrot/rpcrotd.c
	src/Makefile.am
	tests/rigctl.1
	tests/rotctl.1
2012-02-03 15:03:39 -06:00
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
Nate Bargmann deda9ccc4a Set versions for 1.3.0~alpha 2011-06-08 21:01:23 -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
Stéphane Fillod, F8CFE cc2cfa1006 get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2761 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-02 22:58:03 +00:00
Stéphane Fillod, F8CFE 262134f97c fix corner case in port_close()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2755 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-01 22:39:39 +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
Nate Bargmann, N0NB 8a9a351e9d OSX patches from Stelios, M0GLD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2742 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-10-30 17:59:10 +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 b636a3f6ac allow check of vendor name and product string when looking for USB device
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2727 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:32:36 +00:00
Stéphane Fillod, F8CFE 24078ca7dd fix thinko about rig_check_backend_version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2723 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:25:44 +00:00
Stéphane Fillod, F8CFE e7a8fe2fb2 use define ABI_VERSION when declaring backends, patch by Stelios Bounanos M0GLD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2719 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-04 21:30:32 +00:00
Stéphane Fillod, F8CFE 3f7d602f56 copyright clarification
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2709 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-23 20:30:22 +00:00
Stéphane Fillod, F8CFE 299aba9233 While we're at it, add support for 150 bps serial devices
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2703 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-01 17:02:58 +00:00
Stéphane Fillod, F8CFE c1c220c986 variable common_dcs_list[] with 104 DCS codes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2701 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-01 16:51:41 +00:00
Stéphane Fillod, F8CFE 38b3425646 Add support for 600 bps serial devices, SF ID: 2793000, patch by Magne, LA1BFA
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2698 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-05-18 18:39:59 +00:00
Stéphane Fillod, F8CFE 4dbec538f6 make ptt/dcd override accessible trough set_conf/get_conf
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2688 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-04-15 17:34:16 +00:00
Stéphane Fillod, F8CFE 72b6561a7b get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2668 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-25 19:19:20 +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 3aeba72501 copyright year
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2647 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 12:26:13 +00:00
Stéphane Fillod, F8CFE 6afeac39d2 argument checking in rot_set_conf
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2594 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 15:39:19 +00:00
Stéphane Fillod, F8CFE 03cc4f3787 argument checking in rig_set_conf, patch from Zhang Bo + edit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2593 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 14:25:46 +00:00
Terry Embry, KJ4EED c545f8f5aa removed NAM NFM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2577 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-11 17:36:24 +00:00
Terry Embry, KJ4EED 46da044e37 Added RIG_LEVEL_BKIN_DLYMS string
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-08 18:51:43 +00:00
Terry Embry, KJ4EED 8aa412cefd Added NAM, NFM to mode_str
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2548 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-03 14:15:05 +00:00
Stéphane Fillod, F8CFE 5f2d5bd69e comments, patch by Rob Frohne, KL7NA
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2543 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-01 18:18:11 +00:00
Nate Bargmann, N0NB a2ffaf04dd Correction of short path azimuth calculation by Dave Freese, W1HKJ
in the qrb function.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2536 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-29 13:12:29 +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 d2b920c1ad MinGW network portability and regression fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2473 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-05 23:07:38 +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 a94a781a6c get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2467 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-02 22:11:17 +00:00
Stéphane Fillod, F8CFE 7c4dcfeb00 getaddrinfo replacement
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2456 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-02 12:42:45 +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 d07834e4be Conditional compiling upon getaddrinfo() availability. TODO: replacement code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2437 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 07:51:46 +00:00
Stéphane Fillod, F8CFE 638628e18d make select() watch for errors
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2427 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 22:20:21 +00:00
Stéphane Fillod, F8CFE 2bdd2c910b don't want SIGPIPE, and prefer IPv4 over IPv6
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2426 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 22:18:39 +00:00
Stéphane Fillod, F8CFE a30c4a7198 some more documenting of read_block()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2422 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-26 10:47:33 +00:00
Thomas Beierlein, DL1JBE cdab2cce53 Dropped RIG_STATUS_NEW from enum of possible backend states in rig.h.
Mapped all RIG_STATUS_NEW requests from existing applications to RIG_STATUS_UNTESTED for backward compatibility.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2418 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-25 11:36:02 +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 7347333543 only emulate LEVEL_STRENGTH when rig->state.str_cal is defined
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2391 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:10:24 +00:00
Stéphane Fillod, F8CFE 80483e93bb fix RIG_LEVEL_STRENGTH emulation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2385 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-15 22:03:42 +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 946a153560 in generic save/restore chan, only process decalred properties from mem_caps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2363 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-23 14:19:50 +00:00
Stéphane Fillod, F8CFE 35e2e248c7 check ITU region validity in rig_set_conf('itu_region')
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2357 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-08 12:40:04 +00:00
Stéphane Fillod, F8CFE 1f1a363dc6 new RIG_MTYPE_BAND
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2344 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:15:17 +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
Stéphane Fillod, F8CFE e3d772a8b5 misc comment about STRENGTH relative to S9
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2340 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 14:11:43 +00:00
Stéphane Fillod, F8CFE 6e4ed42cca allow rig_lookup_mem_caps() to retrieve a union of all the mem_caps sets
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2336 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-01 12:32:43 +00:00
Stéphane Fillod, F8CFE 020dbd17b5 added rig_lookup_mem_caps() and rig_mem_count()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2331 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:51:24 +00:00
Stéphane Fillod, F8CFE 4cce6797dc * bug fix in rig_strptrshift (+ and - were inversed, ouch)
* added rig_parse_mtype/rig_strmtype


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2330 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:48:40 +00:00
Stéphane Fillod, F8CFE 1c2f95415a Patch from Jeff Laughlin - N1YWB
Cleanup for invalid code 'str != ""' all over misc.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2328 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:31:07 +00:00
Stéphane Fillod, F8CFE ac5d85e420 get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2324 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 18:22:01 +00:00
Stéphane Fillod, F8CFE 222d72e1ad malloc/realloc success check
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2318 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 14:43:09 +00:00
Stéphane Fillod, F8CFE 7dee1a1c53 ability to report error through callback iteration
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2317 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 14:12:26 +00:00
Stéphane Fillod, F8CFE 1fcc1218d9 check write() return value
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2316 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 14:07:09 +00:00
Stéphane Fillod, F8CFE 4ab3d5371f Be careful, rs->rigport.parm is an union, so serial fields should be
accessed only for the RIG_PORT_SERIAL type.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2314 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-09 21:36:06 +00:00
Stéphane Fillod, F8CFE d1d06636fa get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2299 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-13 23:21:36 +00:00
Stéphane Fillod, F8CFE eaef5e49a5 Update for 1.2.7 release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2294 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-13 22:55:59 +00:00
Nate Bargmann, N0NB f1d77a4407 Re-worked documentation for to/from_bcd functions in misc.c.
Re-worked INSTALL describing `configure' options.  Other minor
editing.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2265 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-04 17:30:31 +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 2f083cd7c2 Correct float vs int interpolation options
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2226 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-05 03:48:14 +00:00
Stéphane Fillod, F8CFE 1b79a2a0ed * call missing usb_find_devices()
* disable usb_set_configuration/usb_set_altinterface since they seem to interfere


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2219 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-10-07 20:12:36 +00:00
Thomas Beierlein, DL1JBE 75851b894e added support for DSP slope tuning in level_str[]
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2208 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-08-19 08:26:27 +00:00
Nate Bargmann, N0NB e904578f5a Bug fixes and slope tuning support for the TS-850.
Thanks to Rob Frohne, KL7NA


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2205 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-08-18 12:55:46 +00:00
Martin Ewing, AA6E c830f57da2 SM6PPS mods for AOR 5000a
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2155 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-02 15:19:58 +00:00
Martin Ewing, AA6E a5ab5154d4 documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2152 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-28 03:49:46 +00:00
Martin Ewing, AA6E 97f0167c5b documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2151 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-17 14:28:52 +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
Martin Ewing, AA6E 587703d4c0 minor - doxygen parameters
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2139 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-12 18:56:48 +00:00
Alexandru Csete OZ9AEC cee96e3af5 Cast constant caps to variable caps in order to avoid compiler warnings.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2136 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 21:33:31 +00:00
Alexandru Csete OZ9AEC 63f2b1a73a Cast from const to variable in order to avoid compiler warnings.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2119 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 13:26:06 +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
Nate Bargmann, N0NB 7c7d909fb8 20060922:
Update:
		Applied Icom patches received 4 Sep 2006 from Kent
		Hill, AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2116 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-22 19:55:59 +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 43c2084e31 drop the release version from shared library name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2085 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-06 23:02:38 +00:00
Stéphane Fillod, F8CFE 1059d1be9e win32 fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2084 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 23:28:13 +00:00
Stéphane Fillod, F8CFE eb7b3348e2 get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2083 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 22:37:43 +00:00
Stéphane Fillod, F8CFE b99271e93c bump (c) date
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2077 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:30:49 +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 fd25cc7a83 misc comment fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2066 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-20 22:41:17 +00:00
Stéphane Fillod, F8CFE 31c58d33a6 added rig_set_debug_callback example in documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2063 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-16 21:00:25 +00:00
Stéphane Fillod, F8CFE 2f375edc3d flesh out rig_[sg]et_mem_all{,_cb} functions, still some work needed on it though
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2062 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:25:25 +00:00
Stéphane Fillod, F8CFE 07a8c95610 make libusb usage optional
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2053 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-11-19 14:41:37 +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 9a2e5d1eb3 Patch is courtesy Petr Salinger, fixing compilation on the GNU/kFreeBSD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2043 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-10-27 20:34:16 +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 579823eb53 extend API to support save/load memory at once
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 14:44:04 +00:00
Stéphane Fillod, F8CFE 91b14bbd4d remove deprecated 64bit code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2022 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 13:28:14 +00:00
Stéphane Fillod, F8CFE 0945682dd1 moved debug primitives from misc.c to proprer debug.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2000 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-09 09:49:13 +00:00
Stéphane Fillod, F8CFE f79eaeccda flexible debug reporting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1997 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-06 21:27:28 +00:00
Stéphane Fillod, F8CFE bc0c2369b0 fix mistake
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1990 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 21:24:51 +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 1316c2c37a fix static building under MinGW/MSYS
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1926 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-02-21 18:56:22 +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
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
Nate Bargmann, N0NB e02795f58c 20050118:
Update:
		src/locator.c -- Applied patch from Dave Hines M1CXW
		yaesu/ft920.* -- Format cleanup


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1899 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-18 23:06:51 +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 32204bf237 1.2.4cvs version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1881 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-17 22:12:52 +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 76e7d9c4bb reflect age changes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1856 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:08:15 +00:00
Mark J. Fine cc25d15ce0 Added a provisional define for a variable bandwidth control
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1844 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-14 22:14:23 +00:00
Stéphane Fillod, F8CFE a983df73bc bump lib revision number
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1820 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-23 21:03:31 +00:00
Stéphane Fillod, F8CFE faffed1e2e (c) date update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1809 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:34:25 +00:00
Stéphane Fillod, F8CFE 623ba09ca8 resolve win32 header compatibility issue: no more HANDLE/timeval specific types
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1794 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-10 21:00:13 +00:00
Stéphane Fillod, F8CFE caee8b612a added ECSSUSB/ECSSLSB and FAX modes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1785 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-08 19:42:59 +00:00
Stéphane Fillod, F8CFE c08cc78724 Fixes for BRK/RTS/DTR handling under win32
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1782 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 23:13:17 +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 223a6ff725 generate .DEF file on Win32 systems, needed for MSVC import lib
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1739 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-17 22:03:10 +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 211ee6dc68 export ser_set_dtr(), added ser_set_brk()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1718 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-04-16 20:04:11 +00:00
Stéphane Fillod, F8CFE c8cd6c4212 new PKT modes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1636 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-24 09:07:52 +00:00
Nate Bargmann, N0NB 5313cf79d4 2003-12-02:
Update:
		Changed usage of NULL in a string context to "" (null string)
		to correct a segfault in rigctl generated by passing a NULL
		pointer	to printf().


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1618 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-03 01:32:35 +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 a57b36e153 changed to ABI version 2
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1604 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:32:21 +00:00
Stéphane Fillod, F8CFE 5c9e225125 gr_pwin32.m4/config.h fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1602 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:15:38 +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 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
Nate Bargmann, N0NB 4cd9842a15 2003-11-03:
Update:
		locator.c--cruft cleanup and tweak the documentation
		comments.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1575 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-03 15:07:23 +00:00
Nate Bargmann, N0NB 781c2daa62 2003-11-02:
Update:
		rotator.h and locator.c--rewrote dec2*() and *2dec()
		functions to use a sign flag.  Further tweaked qrb()
		for proper output.
		testloc.c--rewrote as necessary to support changes in
		locator.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1574 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-03 04:26:37 +00:00
Nate Bargmann, N0NB a28708f8b7 2003-10-27:
Update:
		src/locator.c -- Improved handling of very tiny distances
		in qrb() as well as a new formula for azimuth.
		tests/testloc.c -- extended distance output display for
		very to 6 decimal places which is useful for showing the
		distance of 12 digit locators.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1572 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-28 01:01:06 +00:00
Stéphane Fillod, F8CFE d003253de2 various hacks to make win32_serial_select to work (notify read)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1563 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-17 22:53:54 +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 84ad9b827b include fixup, stdio.h is not included by rig.h anymore
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00:00
Stéphane Fillod, F8CFE f9478f5e97 * reworked parallel port access: invert logic to make it more natural
* explicit ppdev locking
* support for inclusion by C++ code


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1543 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-28 15:34:44 +00:00
Stéphane Fillod, F8CFE 8a5de8c36a support for C++ backends
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1539 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-23 22:52:52 +00:00
Nate Bargmann, N0NB 71b5f5a3d1 2003-09-11
Updated:
		rotator.h -- new declarations dec2dmmm() and dmmm2dec()
		locator.c -- new functions dec2dmm() and dmm2dec() also
			     reworked document comments
		testloc.c -- support for new dec2dmm() and dmmm2dec()


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1535 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-12 03:15:23 +00:00
Nate Bargmann, N0NB 5989eebc0d 2003-09-10
Updated:
		locator.c -- fixed "zero bug" in dec2dms() and dms2dec()
		rotator.h -- changed dec2dms() and dms2dec() parameter,
		degrees to float and minutes to double
		testloc.c -- modified to support changed parameters


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1534 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-11 01:04:14 +00:00
Stéphane Fillod, F8CFE dadc34efef Patches for pipelined tuning and OS535 from Michael Smith
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1533 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-07 18:30:28 +00:00
Stéphane Fillod, F8CFE 61fb6bad2e * fix a bug with TIOCMBIC/TIOCMBIS and char arg
* added support for Win32 parallel port
* added par_read_status() helper


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1526 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:35:55 +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 6f62af0c76 Win32 parallel port support, borrowed from libieee1284
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1524 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:32:32 +00:00
Stéphane Fillod, F8CFE bea137f3a9 added new VFO OP
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:28:52 +00:00
Nate Bargmann, N0NB da8d2e4b41 2003-08-21
Update:
		locator.c -- added argument int pair_count to
		longlat2locator() and changed longlat2locator() from
		void to type int return.  Changed *seconds argument in
		dms2dec() and dec2dms() from type int to type double.

		rotator.h -- function prototypes to match above.

		testloc.c -- modified to support changes in locator.c
		Added additional command line parameter, locator-length
		which is expected after the first locator and before the
		optional second locator.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1517 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-21 20:22:06 +00:00
Nate Bargmann, N0NB 9efbb5e911 2003-08-20
Update:
		locator.c  incoporated Dave Hines' code to work with
		extended locators as long as 6 lon/lat pairs.  Changed
		locator array to be a nul terminated string as created
		by longlat2locator().

		testloc.c  changed to accomodate nul terminated string
		from longlat2locator().


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1516 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-21 03:11:27 +00:00
Stéphane Fillod, F8CFE bc8b5a3fe4 mingw/cygwin fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1513 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-20 07:22:40 +00:00
Nate Bargmann, N0NB cf91bd4b02 2003-08-19
Update:
		locator.c--various bug fixes


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1512 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-19 23:41: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 b47cf01e33 termios replacement for win32 support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1506 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-15 01:25:26 +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 20efdcce8d new pp_write data/control helpers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1485 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-22 19:50:36 +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 da80fb5c86 added AM-S mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1482 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-22 19:39:31 +00:00
Stéphane Fillod, F8CFE a22c42b701 NetBSD HAVE_SIGINFO_T but no SA_SIGINFO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1477 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-21 11:10:52 +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 c83530742a typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1454 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-23 21:06:05 +00:00
Stéphane Fillod, F8CFE 14686ba583 Cygwin fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1451 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-23 20:13:04 +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 8fd0a399ff speed_t requires termios
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1446 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-19 11:49:43 +00:00
Stéphane Fillod, F8CFE c0f33ade9e oops, allow build on win32
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1445 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-19 11:49:05 +00:00
Stéphane Fillod, F8CFE f9c5661564 * portability fixes
* On some arch (win32), backends cannot use exported global variables as initializers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1443 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:33:18 +00:00
Stéphane Fillod, F8CFE 960c83c4c5 * added ABI VERSION to backend entry point symbol name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1442 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:30:43 +00:00
Stéphane Fillod, F8CFE e0b2a7b4ac fix headers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +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 0c3631cc01 misc warning silencing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1424 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:34:15 +00:00
Stéphane Fillod, F8CFE ee79d87399 allow build on solaris
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1420 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-02 07:24:28 +00:00
Stéphane Fillod, F8CFE 9b73e5cb1e fix broken documentation about set_func/get_func
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1418 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-27 23:45:27 +00:00
Stéphane Fillod, F8CFE 531eff3146 added RIG_FUNC_TUNER and RIG_OP_TUNE
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1415 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-24 23:07:10 +00:00
Stéphane Fillod, F8CFE fdabf14513 allow discovery(probe) of more than one rig attached to a port, fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1405 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-10 08:26:09 +00:00
Stéphane Fillod, F8CFE 8d707be2a4 added support for set DTR/RTS state, useful to power external device from the serial port
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1378 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-23 22:38:54 +00:00
Stéphane Fillod, F8CFE 36ce8141ca extract set_dtr/set_rts to serve multiple purposes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1377 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-23 22:36:30 +00:00
Stéphane Fillod, F8CFE d1aa1f385b fix a potential seg fault on backend open failure, removed useless rot_get_position in open
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1357 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-29 23:00:56 +00:00
Stéphane Fillod, F8CFE f6c7db3e03 fix a potential seg fault on backend open failure, initialize state.current_vfo appropriately
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1356 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-29 22:31:18 +00:00
Stéphane Fillod, F8CFE 297c5003ac added RTTYR/CWR, cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1339 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-06 22:08:45 +00:00
Joop Stakenborg, PG4I 6acb2908bd add CWR and RTTYR
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1314 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-12-19 11:02:13 +00:00
Stéphane Fillod, F8CFE 2bb4e81d09 fixes to allow new RIG_PORT_PARALLEL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1300 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-28 22:33:48 +00:00
Stéphane Fillod, F8CFE aeb4d70336 misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1299 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-28 22:32:42 +00:00
Stéphane Fillod, F8CFE 3497d098a5 misc Makefile fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1282 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-13 20:39:07 +00:00
Stéphane Fillod, F8CFE cf781224f4 misc doxygen fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1250 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:37:53 +00:00
Stéphane Fillod, F8CFE fb037ddf51 libhamlib-backend.so.x.y.z -> hamlib-backend.so
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1246 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:27:49 +00:00
Stéphane Fillod, F8CFE 77f89fef6b initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1243 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:23:09 +00:00
Stéphane Fillod, F8CFE e2f54e9d10 split rig.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1242 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:22:30 +00:00
Stéphane Fillod, F8CFE f5b2e665ee bump version info, split rig.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1240 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:18:34 +00:00
Stéphane Fillod, F8CFE 258e56ec61 since the move into conf.c, protos in header are useless
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1236 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:11:51 +00:00
Stéphane Fillod, F8CFE ee248adb53 fixed a bug with even numbers of digits in BCD conversion
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1207 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:57:17 +00:00
Stéphane Fillod, F8CFE f86968030a fix typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1194 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-29 20:18:34 +00:00
Stéphane Fillod, F8CFE 3e02fc1937 bug fix with non file oriented rigs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1193 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-29 19:40:56 +00:00
Stéphane Fillod, F8CFE c69f9b4168 cleanup doxygen warnings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1191 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-24 21:42:56 +00:00
Stéphane Fillod, F8CFE 35bc257ebd fix bug with empty ext list
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1181 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-18 21:19:39 +00:00
Stéphane Fillod, F8CFE 9b82982c18 BSD port fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1167 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-08 22:45:16 +00:00
Stéphane Fillod, F8CFE bcdd5ad08c BSD port fix, by ke4rjq
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1164 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-08 22:30:09 +00:00
Stéphane Fillod, F8CFE f78428fa09 fix to make it build on *BSD, and maybe others
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1157 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-05 18:20:30 +00:00
Stéphane Fillod, F8CFE a6162272fa fixed typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1143 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-01 22:23:49 +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 0590079fb5 fixed locator and dms conversion and also got rid of trunc usage, fixed misnamed 'bearing' references
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1134 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-22 23:42:20 +00:00
Stéphane Fillod, F8CFE 41f5748be2 converted to C99 intialization style
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE b024552a03 fix dangerous typo in case of get_channel emulation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1118 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-10 21:30:47 +00:00
Stéphane Fillod, F8CFE 20a330c20e added FUNC_TBURST
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1114 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 22:18:33 +00:00
Stéphane Fillod, F8CFE 7bf3972b30 - removed rig_save_channel and rig_restore_channel from API
- rig_set_channel and rig_get_channel can now target VFO, besides memories
- emulation of set_channel and get_channel has been kept in generic routines.
  Added in these routines the support for ext_levels.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1113 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 22:17:14 +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
Stéphane Fillod, F8CFE 27b67a82da Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1110 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 20:36:07 +00:00
Stéphane Fillod, F8CFE 3a08190627 gcc3 fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1109 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-08 22:53:27 +00:00
Stéphane Fillod, F8CFE ba26b66075 Temporarily roll back ts2k experimental patches, esp. the VFO bits
kept:
- indentation
- new PARM_KEYLIGHT, SCAN_VFO
- new scan_group field in struct channel
- added RIG_CHFLAG's
ts2k stuff in 'branch_ts2k' will be merged later


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1108 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-08 22:20:15 +00:00
Stéphane Fillod, F8CFE ef95000c65 misc fix for C++
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1095 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-06 09:26:59 +00:00
Stéphane Fillod, F8CFE 51ea94cdb5 removed autogenerated files, use autogen.sh instead
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1088 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-02 18:03:25 +00:00
Dale E. Edmons, KD7ENI 7212a11aa8 Added working TS-2000 files. There are some changes left out but this
is the minimum I could commit and have a functional rig.  The cost is
that I've broken kylix and others that duplicate rig.h.  I'm in the
process of repairing the damage.  Please be patient.  I hope a day or so,
but am asking for up to a week.  E-mail me about *anything* you find
broken.  Kylix (and similar) is (are) known to not work.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1083 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-30 10:17:03 +00:00
Stéphane Fillod, F8CFE 8033d100b4 misc
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1064 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-17 20:59:51 +00:00
Stéphane Fillod, F8CFE cf23615f9e regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1056 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-05-28 21:46:50 +00:00
Stéphane Fillod, F8CFE 54f056d05d dump hex buffer even in error cases
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1045 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-04-23 22:03:51 +00:00
Stéphane Fillod, F8CFE bc3482d2b4 misc adding to parse/str helpers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1040 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-04-23 21:53:59 +00:00
Stéphane Fillod, F8CFE 0ca66e37bb added new error codes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1033 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-18 22:59:30 +00:00
Stéphane Fillod, F8CFE 8ff300fd56 various fixes associated with get_channel and set_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1028 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-14 23:06:02 +00:00
Stéphane Fillod, F8CFE ab2811115b fix a bug introduced by previous commit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1024 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-12 19:28:52 +00:00
Stéphane Fillod, F8CFE b26d39f637 handle nul char in stopset
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1019 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-10 23:41:39 +00:00
Stéphane Fillod, F8CFE d5ef4f01b5 split serial_open in open and serial_setup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-07 22:49:00 +00:00
Stéphane Fillod, F8CFE ce5e6a57c7 added functions to install event callbacks with its private data pointer
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@978 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:34:02 +00:00
Stéphane Fillod, F8CFE d435b092af regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@969 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-26 21:25:55 +00:00
Stéphane Fillod, F8CFE e8abb46b6c added HAMLIB_MODULE_DIR so there's no more need for LD_LIBRARY_PATH setting for backend module path
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@968 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-26 21:23:45 +00:00
Stéphane Fillod, F8CFE 525933afcb added doxygen header
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@958 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-12 22:15:27 +00:00
Stéphane Fillod, F8CFE 19acf74bf0 misc fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@944 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-29 21:59:44 +00:00
Stéphane Fillod, F8CFE 95571eb3a4 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@937 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:59:42 +00:00
Stéphane Fillod, F8CFE d18fc07147 added MATH_LIBS
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@932 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:52:41 +00:00
Stéphane Fillod, F8CFE 9217752595 added more str and sprintf funcs, renamed freq_sprintf to sprintf_freq
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@928 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:47:41 +00:00
Stéphane Fillod, F8CFE 9b245477da token defines moved to token.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:55:30 +00:00
Stéphane Fillod, F8CFE 13042623cf regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@923 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:53:12 +00:00
Stéphane Fillod, F8CFE e029bc70ae added token.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@922 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:52:47 +00:00
Stéphane Fillod, F8CFE 7138cb5e73 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@917 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:48:49 +00:00
Stéphane Fillod, F8CFE bb1593d737 call cfmakeraw only when available
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@900 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-22 21:17:55 +00:00
Stéphane Fillod, F8CFE c61ba8604b added new strvfop/strscan and parse functions from rigctl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@891 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-22 00:50:32 +00:00
Stéphane Fillod, F8CFE e8e8084222 check communication is opened
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@887 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-21 08:30:31 +00:00
Stéphane Fillod, F8CFE beb12ec7c8 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@886 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-20 13:29:56 +00:00
Stéphane Fillod, F8CFE ee816bd98b fix typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@884 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-19 18:51:46 +00:00
Stéphane Fillod, F8CFE 1c5f7d1393 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 23:36:16 +00:00
Stéphane Fillod, F8CFE c3f9e8ec68 non-serial parts of serial.[ch] moved to iofunc.[ch]
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@876 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 22:58:51 +00:00
Stéphane Fillod, F8CFE bc10e0eb97 parts moved from serial.[ch]
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@875 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 22:56:34 +00:00
Francois Retief d88cbe7307 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@872 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 19:18:46 +00:00
Francois Retief e4bb8bfa09 Added rot_move function
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@869 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 17:08:31 +00:00
Francois Retief 8803970e9b check trn state of rig in rig_open.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@855 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 18:18:15 +00:00
Francois Retief bf0246415e Added code to hexdump to right align ASCII dump column
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@848 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 17:41:13 +00:00
Francois Retief 20631e724a Corrected some comments
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@847 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 17:28:36 +00:00
Francois Retief 2e78e9b0bb Added read_serial function to read strings from a port.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@846 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 17:14:22 +00:00
Stéphane Fillod, F8CFE 3f3abb76ef disabled static linked-in backends until better solution
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@834 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-02 23:41:05 +00:00
Stéphane Fillod, F8CFE 48b8dc1f71 rotator backend init symbol changed
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@832 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:38:19 +00:00
Stéphane Fillod, F8CFE dfabeaaf94 fixes, added some more wrappers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@828 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:34:43 +00:00
Stéphane Fillod, F8CFE 609746fa60 added doxygen comments, made locator convertion to work, caution: not very well tested
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@826 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:33:27 +00:00
Stéphane Fillod, F8CFE 303861e483 warning: backend module breakage: symbol changed: init_ -> initrigs_
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@821 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:28:04 +00:00
Stéphane Fillod, F8CFE b91e9c4d8c regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@820 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 22:07:11 +00:00
Stéphane Fillod, F8CFE 313170b604 misc cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@817 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 22:00:43 +00:00
Stéphane Fillod, F8CFE 32bdc73f20 backend init time failure fix and other misc fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@816 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 22:00:27 +00:00
Stéphane Fillod, F8CFE 5681ddebbb added rotator frontend files
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@814 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 21:50:58 +00:00
Stéphane Fillod, F8CFE e66509d2c5 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@812 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 21:46:25 +00:00
Stéphane Fillod, F8CFE 95ac29fbdf fix with backend open failure case, and misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@806 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:47:07 +00:00
Stéphane Fillod, F8CFE 4d46d00862 put token id's apart
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@805 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:45:57 +00:00
Stéphane Fillod, F8CFE bea28f5a76 more config params
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@804 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:45:38 +00:00
Stéphane Fillod, F8CFE 8e4ef3c614 misc adjunction
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@782 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:48:38 +00:00
Stéphane Fillod, F8CFE 8d89b72752 added rig_token_foreach for conf table perusing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@781 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:47:53 +00:00
Stéphane Fillod, F8CFE 170644f6e5 removed useless vfo arg to set_trn/get_trn funcs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:46:13 +00:00
Stéphane Fillod, F8CFE 11ce718be6 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@778 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:58:00 +00:00
Stéphane Fillod, F8CFE aec74211d9 prefer dlopenext to dlopen
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@777 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:54:41 +00:00
Stéphane Fillod, F8CFE 83377f40ad tones fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:35:27 +00:00
Stéphane Fillod, F8CFE 382c69b2bd cleaned up static build and flags, introduced lib version 0:0:0
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@772 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:31:53 +00:00
Stéphane Fillod, F8CFE 86f6400123 coming from tone_tbl.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@764 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:18:44 +00:00
Stéphane Fillod, F8CFE e8c04a0d51 split to tones.c and tones.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@760 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:05:11 +00:00
Stéphane Fillod, F8CFE c12f22774e misc change in comments
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@757 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-17 22:43:34 +00:00
Stéphane Fillod, F8CFE 7a75b16c2a backout dup prototype
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@756 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-17 22:42:48 +00:00
Stéphane Fillod, F8CFE f74fc658e5 misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@753 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 20:02:58 +00:00
Stéphane Fillod, F8CFE ee22400d13 make static really work
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@752 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 20:02:12 +00:00
Stéphane Fillod, F8CFE 0fa8de4664 static/dynamic build fixes and added str functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@749 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:24:17 +00:00
Stéphane Fillod, F8CFE 17f0e53d0f regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@748 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:19:57 +00:00
Stéphane Fillod, F8CFE 3d6b1e5131 finer grained targetable vfo cap
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@746 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:17:42 +00:00
Stéphane Fillod, F8CFE 95c6c458dc static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@745 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:14:47 +00:00
Stéphane Fillod, F8CFE dc9487a284 static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@744 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:07:54 +00:00
Chris Karpinsky, AA1VL 3528fccbc9 add serial_flush() method to clean rx buffer
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@737 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-15 03:13:39 +00:00
Stéphane Fillod, F8CFE b75b5e6613 fix double close() issue
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@701 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-25 21:22:49 +00:00
Stéphane Fillod, F8CFE 3f2cea317f regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@694 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-18 20:41:50 +00:00
Stéphane Fillod, F8CFE 725995d50a misc dist fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@693 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-18 20:39:47 +00:00
Stéphane Fillod, F8CFE 39f604062f added open/not open flag
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@690 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 21:18:02 +00:00
Stéphane Fillod, F8CFE 9d74e519e8 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@685 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 19:26:31 +00:00
Stéphane Fillod, F8CFE 197d62af6b do not export ctcss and dcs data lists if dll does not support it (eg. win32), and then, workaround this
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@682 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 19:19:46 +00:00
Stéphane Fillod, F8CFE f0477ac863 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@681 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 19:15:52 +00:00
Stéphane Fillod, F8CFE 5fb2b7c978 regenerated (automake 1.5 upgrade)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@677 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-07 21:53:48 +00:00
Stéphane Fillod, F8CFE be7022260a regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@651 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-19 22:04:44 +00:00
Stéphane Fillod, F8CFE 8b9b009a5d fix needed with libtool-1.4.2
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@649 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-19 21:58:33 +00:00
Stéphane Fillod, F8CFE 8f3083cdb2 added win32 headers detection
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@640 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-22 21:12:09 +00:00
Stéphane Fillod, F8CFE 1c82c36aa6 added signal/siginfo detection
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@639 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-22 21:10:17 +00:00
Stéphane Fillod, F8CFE 0257d6f089 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@635 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-12 23:20:14 +00:00
Stéphane Fillod, F8CFE fe388a8784 various cleanup of old stuff (mv_ctl)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@614 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-08 06:04:49 +00:00
Stéphane Fillod, F8CFE bdfe0b969a 'path' field renamed in port_t
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:59:55 +00:00
Stéphane Fillod, F8CFE e115bf459b feed me! I wanna grow up
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@607 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:58:15 +00:00
Stéphane Fillod, F8CFE acb575efea regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@606 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:57:34 +00:00
Stéphane Fillod, F8CFE eeb905a6be fixed conf.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@605 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:57:14 +00:00
Stéphane Fillod, F8CFE 6c0d2e2a70 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@603 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:11:13 +00:00
Stéphane Fillod, F8CFE 99b10b1aef added set/get_conf support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@599 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:00:03 +00:00
Stéphane Fillod, F8CFE 21ef1c8b75 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@595 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 12:55:04 +00:00
Stéphane Fillod, F8CFE 1f01081335 converted to LGPL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE 448e107813 portability fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@578 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-06 08:17:48 +00:00
Stéphane Fillod, F8CFE c9dc785aaa renamed xet_ctcss to xet_ctcss_tone and xet_dcs to xet_dcs_code to make it less ambiguous in regards to the squelch functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@576 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-01 11:46:17 +00:00
Stéphane Fillod, F8CFE f3b44939b0 converted from hamlib-doc to doxygen style API commenting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-30 12:36:43 +00:00
Stéphane Fillod, F8CFE 16b77c5b31 simplified xet_split_freq/xet_split_mode, now handles only tx freq/mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@568 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-27 17:32:47 +00:00
Stéphane Fillod, F8CFE c3be2e3aef added scan function
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@567 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-26 20:55:29 +00:00
Stéphane Fillod, F8CFE 8b0ac00d64 more win32 efforts
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@566 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-20 06:08:22 +00:00
Stéphane Fillod, F8CFE 27436c6283 misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@559 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-17 21:54:31 +00:00
Stéphane Fillod, F8CFE 65d0ed64ba regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@557 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:15:05 +00:00
Stéphane Fillod, F8CFE c74995b05f further win32 porting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:08:37 +00:00
Stéphane Fillod, F8CFE 55711785fa * regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@547 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-13 00:02:42 +00:00
Stéphane Fillod, F8CFE 9b44155fb1 * more win32 portability stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@546 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-12 23:59:21 +00:00
Stéphane Fillod, F8CFE acb239203a regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@542 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-11 00:43:13 +00:00
Stéphane Fillod, F8CFE 9c32855611 more portability stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@541 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-11 00:41:28 +00:00
Stéphane Fillod, F8CFE ed6bbc95a6 better error handling in serial comm, fix a bug in stream openning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@536 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-10 22:19:08 +00:00
Stéphane Fillod, F8CFE e968f8e7be misc update for port_t support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@533 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-05 18:08:30 +00:00
Stéphane Fillod, F8CFE c1cb77c643 new automatic backend loading and sparse rig_model scheme
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@529 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 21:17:53 +00:00
Stéphane Fillod, F8CFE da19dd9a47 new port_t design
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE 7ffe3fbe22 mv_ctl replaced by vfo_op, added RIG_VFO_MEM support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@522 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-03 19:54:05 +00:00
Stéphane Fillod, F8CFE 3c3d5373df misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@512 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 18:05:14 +00:00
Stéphane Fillod, F8CFE 5c50fee821 try to make hamlib more portable
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@511 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 17:56:37 +00:00
Stéphane Fillod, F8CFE 3472b63e91 added libltdl helper
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@510 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 17:54:43 +00:00
Stéphane Fillod, F8CFE a31a589e1b regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@501 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 17:40:15 +00:00
Stéphane Fillod, F8CFE a4b66f55e1 * misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@494 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-24 22:24:18 +00:00
Stéphane Fillod, F8CFE aa864ba239 * added common_ctcss_list table (50 tones)
* added support for XIT
* misc updates
* started work on rig_save_channel/rig_restore_channel
  to emulate rig_get_channel/rig_set_channel. Seems to work on my IC706MkIIG.
  see tests/dumpmem.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@478 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:44:10 +00:00
Stéphane Fillod, F8CFE 3d5ec15729 * freq_sprintf to handle negative freqs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@477 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:41:22 +00:00
Stéphane Fillod, F8CFE 5a882344e3 * added rig_set_split_mode, rig_get_split_mode, and rig_send_morse
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@470 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-28 12:49:12 +00:00
Stéphane Fillod, F8CFE 29166df172 * fixed a bug in rig_init
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@458 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-24 19:55:29 +00:00
Stéphane Fillod, F8CFE 2fa640d629 * added freq_sprintf helper
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@457 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-24 19:52:28 +00:00
Stéphane Fillod, F8CFE 7933f49405 * added rig_reset() support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@444 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 23:06:30 +00:00
Stéphane Fillod, F8CFE 799b18dd8b * misc define renamed
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@440 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 13:06:36 +00:00
Stéphane Fillod, F8CFE e72ff1c582 * regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@438 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 12:55:37 +00:00
Stéphane Fillod, F8CFE 17bfcc685d * added cal.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@437 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 12:55:14 +00:00
Stéphane Fillod, F8CFE 1e3a084d31 * Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@436 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 12:54:12 +00:00
Stéphane Fillod, F8CFE cc52bc5495 * set_poweron is gone in favor of set_powerstat
* added send_dtmf and recv_dtmf wrappers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@429 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:41:46 +00:00
Stéphane Fillod, F8CFE 8a11b41479 * added rig_set_parm/rig_get_parm and rig_has_set_parm/rig_has_get_parm
* added full_ctcss_list, dcs_ctcss_list, supposed to be complete (TBC)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@412 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 00:30:58 +00:00
Stéphane Fillod, F8CFE 59ce5b695a * misc rewrite
* new fields in caps: vfo_list, priv
* shadowed tuning_steps
* coded in rig_passband_normal,rig_passband_narrow and rig_passband_wide
  as examples. Not activated yet.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@407 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:10:12 +00:00
Stéphane Fillod, F8CFE d6eb493604 * enabled dcd state retrieval code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@395 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-15 00:00:11 +00:00
Stéphane Fillod, F8CFE 8e69eb6033 * added rig_get_dcd support
* added port_type and filters proper shadowing


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@394 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:59:09 +00:00
Stéphane Fillod, F8CFE 0f2d6fd179 * started some wider term control support (termios, termio, sgtty),
still not OK on win32


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@385 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:09:57 +00:00
Stéphane Fillod, F8CFE 8c9880b0dd * added RIG_PORT_NONE propoer support in rig_open
* added rig_set_ann/rig_get_ann and rig_set_ant/rig_get_ant wrappers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@384 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:08:12 +00:00
Stéphane Fillod, F8CFE f128a7144e * tried some cygwin porting, still not working yet
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@383 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:06:53 +00:00
Stéphane Fillod, F8CFE 95391dcf42 * add missing files. Hopefuly, checkouts should compile fine now.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@377 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:01:34 +00:00
Stéphane Fillod, F8CFE 41e6bec773 * misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@370 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:16:07 +00:00
Stéphane Fillod, F8CFE 1285baa953 * include config.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@369 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:15:38 +00:00
Stéphane Fillod, F8CFE da3ff63df3 * updated after caps changes, see rig.h changelog
* fixed a potential divide by zero bug in rig_mW2power
* misc updates


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@365 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:09:16 +00:00
Stéphane Fillod, F8CFE 944abe6ca2 * Split functions so it'll be easier to add support for
different architectures. New functions are ser_ptt_open/par_ptt_open
  ser_ptt_set/par_ptt_set, ser_ptt_get/par_ptt_get, and ser_ptt_close/
  par_ptt_close


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@359 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:09:50 +00:00
Stéphane Fillod, F8CFE 0bf1fe9b5d * reworked serial/parallel PTT handling. Split functions so it'll be
easier to add support for different architectures.
  Add preliminary support for autoconfigured setup.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@358 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:08:20 +00:00
Stéphane Fillod, F8CFE f5c725c75c * added hamlib_version constant
* reworked serial/parallel PTT handling. Split functions so it'll be
  easier to add support for different architectures.
  This has been tested, and it works at least with my IC706 and
  PTT signaling on parallel port (using Data/Packet connector)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@357 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:06:32 +00:00
Stéphane Fillod, F8CFE 3e910d3a3e * added rig_get_resolution and RIG_PORT_DEVICE support in rig_open
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@345 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-07 23:44:08 +00:00
Stéphane Fillod, F8CFE 305ba73185 * started PTT support through serial port, this is a WIP
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@332 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-28 22:18:09 +00:00
Stéphane Fillod, F8CFE 50576d9502 * started some work on PTT signaling through serial/parallel ports.
RIG_PTT_SERIAL is no more, it is replaced by RIG_PTT_SERIAL_RTS and
  RIG_PTT_SERIAL_DTR.
* added comments for rig_get_level and RIG_LEVEL_STRENGTH


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@331 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-28 22:17:12 +00:00
Stéphane Fillod, F8CFE 327be0cce7 * added targetable_vfo support in wrappers for rigs that cannot address directly VFOs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@318 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-05 18:24:20 +00:00
Frank Singleton, VK3FCS 92c0043aad removed unused calc_ functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@301 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-22 01:16:17 +00:00
Frank Singleton, VK3FCS a069fad9f8 rig_cleanup and rig_close not calling backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@300 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-22 00:56:00 +00:00
Stéphane Fillod, F8CFE b864758580 * all the API functions are now targetted to a particular VFO.
This is a major change in the library interface, and the implementation
  is not complete yet (especially in the backends), but the API should
  be fine. Anyway, at this stage of developement, interface design
  experimenting matters more than completeness.
* added new shortfreq_t type for frequencies on 31bits (up to 2GHz)
  for use by offset/shifts/etc.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@285 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-05 22:01:03 +00:00
Stéphane Fillod, F8CFE d0e751257d * removed [sg]et_passband in favor of an enhanced [sg]et_mode which
includes the passband, since most rigs tie these parameters together
  quite often. For exemple, WFM is (RIG_MODE_FM,RIG_PASSBAND_WIDE) in Hamlib.
  Another set of functions will be needed to fine tune aditional
  frequency response/filters.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@280 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-04 23:39:18 +00:00
Stéphane Fillod, F8CFE b71c8da45e * cleanup, removed "not implemented" misleading comments
* added added squelch primitives of DCS/CTCSS
* added set/get_RIT and rig_get_info wrappers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@274 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-11-28 22:33:37 +00:00
Stéphane Fillod, F8CFE 0f1150cd6b * addded wrapper for rig_set_bank
* misc fixups


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@252 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-29 16:30:43 +00:00
Stéphane Fillod, F8CFE 1b4f2d8acf * coded in a solution to not have active post_write_delay wait loop
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@243 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-23 19:58:14 +00:00
Stéphane Fillod, F8CFE 6c20d2ba20 * misc comments update about CTCSS & DCS
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@242 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-23 19:56:29 +00:00
Stéphane Fillod, F8CFE 647faef48d * Added -release option to LDFLAGS so the shared lib shows the current numbers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@235 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-22 16:09:37 +00:00
Stéphane Fillod, F8CFE ae3c017e4c * Added "hamlib-doc" source comments, ala kernel-doc,gnome-doc.
See doc/ subdirectory for more info. The work is still in progress,
  the current comments are pretty shallow rigth now, they're still
  lacking the valuable information like semantics, side effects,
  special cases, error definitions, etc. that makes a good API documention.
  Please help commenting, fixing typos and mispellings!
* renamed rig_*_rpt_* functions to rig_*_rptr_* to be more uniform
* made use of setting_t type in *_has_* functions
* removed set_volume, get_volume, set_squelch, get_squelch,
  get_squelch_status, set_ant, get_ant, int et_att, get_att,
  set_preamp, get_preamp, set_power, and get_power
  in favor of set_level/get_level.
* set_func takes one more arg for the status (activate or desactivate)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@234 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-22 16:08:23 +00:00
Stéphane Fillod, F8CFE 6f081b5c2e * Added rig_[sg]et_passband to [sg]et narrow/normal/wide filter. These are a good companions to rig_[sg]et_mode. Maybe they should be merged?
* Added rig_[sg]et_rpt_offs to set/get repeater offset

* Added rig_split functions: rig_[sg]et_split_freq (set RX and TX freq) and rig_[sg]et_split to activate split mode

* Added rig_[gs]et_level, however rig_set_preamp/rig_set_att/rig_set_ant et al. will be removed very soon.

* Added Memory/VFO handling routines (actually wrappers, like the rest)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@219 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 22:08:51 +00:00
Stéphane Fillod, F8CFE 5cc97b8267 * fix in to_bcd(), in case of odd len numbers
* Added to_bcd_be/from_bcd_be for Big endian BCD representation


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@217 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 21:53:22 +00:00
Stéphane Fillod, F8CFE 9ff93fc219 * Listed local include files
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@216 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 21:50:33 +00:00
Stéphane Fillod, F8CFE 9a2c4dc7d0 * added support for set_trn to activate on the fly the transceive mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@208 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-10 22:11:48 +00:00
Frank Singleton, VK3FCS a5bcaa48ca added post_write_delay
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@204 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-09 01:17:20 +00:00
Stéphane Fillod, F8CFE 64abe98a72 added fread_block
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@198 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:46:48 +00:00
Stéphane Fillod, F8CFE e61e1fb8e8 added fread_block for file buffered access
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@197 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:46:09 +00:00
Stéphane Fillod, F8CFE 566ad55505 * added dynamic loading support with new data struct for known rig list,
* keep track of opened rigs (add_opened_rig/remove_opened_rig/foreach_opened_rig),
* misunderstanding on RIG_ENIMPL, this is RIG_ENAVAIL in most cases,
* added support for file buffered access (opt.),
* added rig_set_trn to turn on/off transceive support


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@196 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:45:20 +00:00
Stéphane Fillod, F8CFE 6446621f28 added Hold_Decode/Unhold_Decode macros to rule receiving
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@195 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:43:41 +00:00
Stéphane Fillod, F8CFE d908a8b360 include moved
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@194 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:43:00 +00:00
Stéphane Fillod, F8CFE 99b2c9bd38 added register.c (dynamic loading) and event.c (async notification from rig)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@193 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:41:54 +00:00
Stéphane Fillod, F8CFE 38181c9784 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@184 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:20:44 +00:00
Stéphane Fillod, F8CFE a1cc888e50 Moved from ../common
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@175 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 14:24:47 +00:00
Stéphane Fillod, F8CFE 192c9dfe3e Moved from ../common
Added more wrappers, coded in mW2power power2mW
Added rig_set_debug/rig_need_debug/rig_debug
Various fixes


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@166 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 12:29:12 +00:00
Stéphane Fillod, F8CFE 9f44238494 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@165 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 12:26:18 +00:00
Stéphane Fillod, F8CFE b7894fd5fb Initial release, functions gathered from serial.c and others
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@164 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 12:25:49 +00:00