Wykres commitów

474 Commity (08c06aea147efe28d56baaf308b03d8463c9600e)

Autor SHA1 Wiadomość Data
Malcolm Herring a4295a224e Merge remote-tracking branch 'mdblack/master' 2020-01-09 07:54:15 +00:00
Michael Black 5ae03f0eed
Possible fix for mingw Win32 dll linking of nanosleep 2020-01-08 22:50:37 -06:00
Michael Black 138787f44c
Hopefully fixed dll build and usleep linking 2020-01-08 14:34:14 -06:00
Michael Black 7ee3a702f5
Replace all usleep with hl_usleep
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Malcolm Herring 4d822d5983 Merge remote-tracking branch 'mdblack/master' 2020-01-06 19:54:54 +00:00
Malcolm Herring c4e0696ee1 add token list for ext operations 2020-01-06 19:54:09 +00:00
Michael Black 836e5f5c17
Move time.h include to sleep.c 2020-01-06 07:25:38 -06:00
Malcolm Herring c897ce9084 Merge remote-tracking branch 'mdblack/master'
merge mdblack master
2020-01-06 07:06:09 +00:00
Michael Black 70115f7efd
Replace sleep macros with hamlib custom functions 2020-01-05 15:37:33 -06:00
Malcolm Herring 4975150611 Merge remote-tracking branch 'Hamlib/master'
merge latest upstream
2020-01-04 06:00:03 +00:00
Malcolm Herring fcde35815b more extended operations 2020-01-04 05:59:44 +00:00
Michael Black 24eaeecfdf
Fix sleep macros and newcat.c set_powerstat 2019-12-24 15:01:08 -06:00
Michael Black b07833c889 Pretty up sleep macros 2019-12-22 11:30:30 -06:00
Michael Black ed339b1c2b
Add sleep and usleep macros so all sleeps use nanosleep 2019-12-22 11:17:22 -06:00
Michael Black b3c6b9d707
Add rig_strrmodes function and fix flrig to print mode list correctly 2019-12-12 09:13:30 -06:00
Malcolm Herring 5f6e0641ad Prepare for D-STAR implementation
Add 3 new rigs: ID-31, ID-51 & ID-4100
Update other D-STAR rigs: IC-R30, IC-R8600 & IC-7100
2019-12-09 05:33:20 +00:00
Michael Black 72565fe621
Fix ic7300 VFOs and sprintflst to be more generic 2019-12-02 14:46:41 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black 58763c96ae
Reorder RIG_VFO entries and add RIG_VFO_MAIN_A and RIG_VFO_MAIN_B in preparation for other changes 2019-11-28 09:57:49 -06:00
Michael Black 707d60b123
Fix another mistake...arrghhh 2019-10-15 09:47:45 -05:00
Michael Black 6ab855fcb6
Fix mistaken commit 2019-10-15 09:46:26 -05:00
Michael Black f0a6fa7ff9
Merge 2019-10-13 23:01:15 -05:00
Bill Somerville d931bd4e18
Move unnecessary global and file static variables to the stack 2019-08-29 00:39:39 +01:00
Michael Black 52c084195f
Add note for LUA UUL changes 2019-08-18 08:21:14 -05:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black 1b5f59577f
Add warning in rig.h for thread_local missing 2019-08-01 22:41:56 -05:00
Michael Black 6d28b6b1b1
Adding thread_local definition to rig.h 2019-07-31 15:48:35 -05:00
Michael Black 9bbbfa953e
Fix rig.h for merge 2019-06-12 16:23:15 -05:00
Michael Black b23734fb5b
Fix rig.h for merge 2019-06-12 16:13:56 -05:00
Michael Black 7e9c566944
Add first cut at amplifier control 2019-06-12 15:52:35 -05:00
Mikael Nousiainen 45a8c5c575 More fixes to many Icom HF rig backends: tuner function, VFO tune op, rig-specific AGC levels, basic set of filters where missing, get/set split, get/set powerstat, make get/set RIT/XIT commands shared functions, add new level for Noise Blanker level, fix RIG_MODE_PKTAM and add missing PKT modes for many rigs, add dual-watch function. Add RIT/XIT functions for TS-480 and TS-890. 2019-06-01 09:51:17 +03:00
Mikael Nousiainen 3dbbe02b78 Add new levels: RFPOWER_METER, COMP_METER, VD_METER and ID_METER, supported at least by most of recent Icom rigs. Add level NOTCHF_RAW for manual notch frequency without specified unit for Icom rigs. Add level MONITOR_GAIN. Add functions DUAL_WATCH and DIVERSITY, supported now by K3/K3S. Fix VOXDELAY level commands for many Icom rigs. Add MONITOR_GAIN level for Icom rigs. Fix and add many K3 commands and add specific rig models for K3S, KX2 and KX3 -- they are very similar to K3, but have slight differences. Extend dump_caps output for rigctl: add complete details of ext levels and frequency ranges. Tests have been performed on IC-7000, IC-756ProIII, IC-7300, IC-7600 and K3. 2019-05-30 09:37:49 +03:00
Michael Black e2f6c7d092 Add icom get_vfo introduced on IC-9700
Add DD mode for IC-9700
Numerous IC-9700 updates
2019-04-07 09:03:55 -05:00
root 296ef58598 Add export definition for netrigctl_get_mode for DLL building 2019-02-08 07:28:50 -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
Bill Somerville df4ec51909 Simplify SWIG interface definition and hide 64-bit values from Lua binding
By  including the  stdint  SWIG  typemaps we  can  directly use  types
derived from [u]int64_t etc.

Because Lua numbers are  implemented using a double-precision floating
point type and  also because SWIG when generating a  Lua wrappings can
only define  constants from #define and  enum values that fit  into an
'int' type we  must hide any constants that require  more than 32-bits
to represent themselves,  as they cannot be represented  in Lua.  This
applies  to  rmode_t  and  the  RIG_FUNC... defines  at  the  time  of
writing. By  hiding them from  the Lua binding  they will get  a 'nil'
value in Lua i.e. undefined so clients using the Lua binding will know
they are  not there.  This is  a nasty hack  but without  major design
changes to the Hamlib API it is do this or drop the Lua binding.
2018-12-28 20:33:30 +00: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 4b69188f67 Fix some 64bit items and add RIG_FUNC_NB2 for TS-890S 2018-12-23 17:41:10 -05:00
Michael Black 7123bb4403 Change rmode_t to uint64_t and remove unneeded casts 2018-12-22 23:56:30 -05:00
Michael Black 005fb29cf7 Add TS-890S as derivative of TS-480 plus new modes 2018-12-22 12:03:41 -05:00
Michael Black cd0a9aebb6 Merge hamlib head 2018-12-21 12:54:47 -05:00
Michael Black 422b266b9b Change RIG_MODE and RIG_FUNC to 64-bit values 2018-12-21 12:39:20 -05:00
Malcolm Herring 31cc85bf57 Add IC-R30 2018-12-21 07:07:41 +00:00
Ekki Plicht (DF4OR) 82e0ee8364 New model Icom IC-R8600
So here is the first release of the new IC-R8600 rig backend.

Implemented functions so far:
set/get freq
set/get mode
functions: NB TSQL ANF NR AIP MN LOCK VSC RESUME
level: PREAMP ATT AF RF SQL NR PBT_IN PBT_OUT CWPITCH AGC RAWSTR STRENGTH
extra levels (params): ANN BACKLIGHT KEYLIGHT
Mode list: AM CW USB LSB RTTY FM WFM CWR RTTYR SAM SAL SAH

Next up:
* correct filter settings
* new digital modes
* memory store/retrieve
* correct CTCSS, DTCS handling
* correct BEEP handling (broken)

73,
Ekki, DF4OR
2018-12-17 12:37:17 -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
Jeroen Vreeken 9c7ce6eacb Merge branch 'master' of github.com:Hamlib/Hamlib 2018-05-06 00:12:23 +02:00
Michael Black W9MDB 04af1b0553 Add PKTAM PKTFM modes to ic7300 2018-05-01 08:12:05 -05:00
Mikael Nousiainen b19a9138a6 Set FILPATHLEN to 512 instead of 100 to support longer device file names -- especially ones generated by udev 2018-04-22 19:53:50 -05:00
Michael Black W9MDB 6c369109e6 Add debug time stamps via -Z and --debug-time-stamps 2018-04-15 15:06:52 -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
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 cedd914e68 Apply formatting to 'include/' directory.
Format public and private header files per new formatting guide.
2017-08-09 06:14:31 -05:00
Michael Black da40941d7f Merge branch 'master' of https://github.com/N0NB/hamlib 2016-08-31 09:22:13 -05:00
Michael Black b5f53519bc Remove define 2016-08-31 09:11:14 -05:00
Michael Black 15b3e73e7f Exposed constants via function calls 2016-08-31 09:05:47 -05: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 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
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 542585029d Initial back end implementation for the Kenwood TS-990s 2015-04-14 10:04:59 +01: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
Ricky Elrod 0f600af80a Add a tag name to hamlib_port_t.
I am making a Haskell binding to hamlib and this anonymous struct was
creating some issues for me. I am not a C-coder by day, but I think this
is harmless to add here.

Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-08-14 11:22:39 -04: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 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 8c2eee91cc rig.h: Replace rig_func_e with CPP macros
The C standard dictates that an enum constant is a 32 bit signed
integer.  Setting a constant's bit 31 created a negative value that on
amd64 had the upper 32 bits set as well when assigned to the
misc.c:func_str structure.  This caused misc.c:rig_strfunc() to fail its
comparison for RIG_FUNC_XIT on amd64 (x86_64).  To use bit 31 as an
unsigned long, preprocessor macros have been used instead as a 'const
unsigned long' which cannot be used to initialize the func_str.func
members.  TNX KA6MAL, AC6SL.  - N0NB

Other minor formatting edits.
2013-01-31 18:00:50 -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
Kamal Mostafa 3466512dbd Fix spelling errors 2012-08-21 19:54:50 -07:00
Stephane Fillod 46033db165 CM108 GPIO PTT: do not break ABI
Move around the ptt_bitnum field in the union of hamlib_port_t.
Increase Hamlib frontend revision.
2012-01-11 23:28:01 +01:00
Andrew Errington 1a77ef9eb9 Initial support for CM108 GPIO contorl of PTT
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-11 06:16:51 -06:00
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 2fd02a9ade Update LGPL header in include header files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stephane Fillod 421909bad2 Let set_ptt() select source, either TX mic or TX data 2011-07-20 00:09:50 +02:00
Stéphane Fillod, F8CFE 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
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 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 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 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
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 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
Alessandro Zummo, IZ1PRB bb6cf68ad2 implemented set/get_ext_param (voice, fine, xit, rit). enabled on ts450 and
ts850


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2620 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 14:15:12 +00:00
Stéphane Fillod, F8CFE 3419987f6b better documentation of enum rig_errcode_e
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2596 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 16:23:06 +00:00
Terry Embry, KJ4EED 19da025135 removed NFM NFM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2579 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-11 17:42:29 +00:00
Nate Bargmann, N0NB 86badd1aaf Documentation updates.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2571 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-09 23:03:37 +00:00
Terry Embry, KJ4EED 76b48e3d9f Added RIG_MODE_NFM, RIG_MODE_NAM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2547 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-03 14:08:00 +00:00
Diane Bruce, VA3DB e9aa6fe546 - Extra comma on RIG_STATUS_BUGGY can cause a compiler error.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2540 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-01 17:07:09 +00:00
Terry Embry, KJ4EED 9746bdd342 Added RIG_LEVEL_BKIN_DLYMS - CW Breakin delay in milliseconds to rig_level_e enum
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2530 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-26 23:57:15 +00:00
Terry Embry, KJ4EED 6e47295527 Added RIG_METER_VDD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2522 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-24 20:12:11 +00:00
Stéphane Fillod, F8CFE c62b141599 RIG_ANT_5
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2504 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-14 19:26:35 +00:00
Terry Embry, KJ4EED 8f350baa93 Added RIG_AGC_AUTO enum
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2478 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-26 16:20:20 +00:00
Stéphane Fillod, F8CFE 883193fe12 added RIG_METER_PO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2452 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 20:35:16 +00:00
Stéphane Fillod, F8CFE f541b221fe new netrigctl/netrotctl protocol with return value
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2428 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 22:23:36 +00:00
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 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 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 a0635dd7b2 * added RIG_MTYPE_PRIO
* added rig_lookup_mem_caps/rig_mem_count and rig_strmtype/rig_parse_mtype
* misc change to RIG_VFO* for Swig to make them available in the bindings


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2329 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:46:35 +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
Nate Bargmann, N0NB ef7659e1e0 Makefile.am and rig.h minor edits to the comments to (hopefully) improve
readability.  configure.ac added AM_PROG_CC_C_O macro to quiet error
message regarding rigmem.c in tests/Makefile.am from autoconf 2.61 on
Debian Stable.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2225 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-01 01:13:30 +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
Spaceman Spiff 69d32e8f0d Several Bug fixes for extra parameter code and documentation added
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2190 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-02-28 08:52:49 +00:00
Nate Bargmann, N0NB dc39418dc5 20061107:
New:
		icom/ic7000.c
	Update:
		Various Icom updates from AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2159 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-07 12:21:39 +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 aad1c51d0b fix enum documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2149 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-17 01:23:38 +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 665a861d0e minor - add doxygen info for enums
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2138 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-12 16:41:22 +00:00
Nate Bargmann, N0NB 7f5a359c0e 20060927:
Update:
		Update to rig.h from AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2117 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-27 11:38:25 +00:00
Nate Bargmann, N0NB e2110f298e 20060922:
Update:
		Applied July 30, 2006 patches from Kent Hill, AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2114 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-22 14:31:19 +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
Thomas Beierlein, DL1JBE 810b090086 Must correspond to the following definition of 'setting_t'
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2097 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-18 07:41:13 +00:00
Stéphane Fillod, F8CFE ee60b312e0 values passed to rig_set_mem_all are supposed to be constant
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2061 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:23:16 +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 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 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 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 b4a990a350 fix prototype
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1962 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 18:35:45 +00:00
Stéphane Fillod, F8CFE 2177702889 Better define to detect MacOSX
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1954 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-28 09:41:43 +00:00
Stéphane Fillod, F8CFE 6a65e3a330 Better define to detect MacOSX
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1953 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-28 09:39:02 +00:00
Stéphane Fillod, F8CFE ded48a9d88 prepare type rename of port_t to hamlib_port_t, to solve a name clash under MacOSX C++
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1950 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-03-26 23:33:39 +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
Stéphane Fillod, F8CFE 15a314a47f define RIG_ANT_4
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1849 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-25 14:31:38 +00:00
Mark J. Fine 22888244f4 Added a provisional variable bandwidth control to the RIG_LEVEL enumeration
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1845 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-14 22:15:42 +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 83807129bb Try to make rig.h more MS-VC++ friendly
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1742 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-19 09:11:34 +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 037fd734c8 make new AGC enum compatible with previous Hamlib version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1734 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-11 17:36:10 +00:00
Stéphane Fillod, F8CFE e7a33ec5b6 New AGC enumeration
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1717 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-04-16 20:01:42 +00:00
Stéphane Fillod, F8CFE f0bd7c1d4a bump FLTLSTSIZ limit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1683 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-09 22:07:21 +00:00
Stéphane Fillod, F8CFE 3f0ace4dbc IMPORTANT: freq_t type changed from integer to real, and setting_t type reduced from 64bits to 32 bits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1647 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 23:04:52 +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
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 a599a47312 * converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR, as discussed on mailing list.
RIG_LEVEL_STRENGTH is then derived from calibration table.
* gran_t has been changed, more precise with min/max.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1595 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:36:15 +00:00
Stéphane Fillod, F8CFE 91df9591f4 Prepare eventual move from freq_t as a "long long" to a "double" type.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-20 22:15:02 +00:00
Stéphane Fillod, F8CFE def6d36f2c * remove unused buffered mode stuff (stream field)
* no need to include stdio.h any more (be careful of implicit include!)
* removed some dead wood about sockaddr in the network port. This will
  be put back in correctly when this kind of port is really implemented.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:50:41 +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
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 ad8b6cdb9c compile warning fixes on NetBSD from Berndt, VK5ABN
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1498 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-07-03 06:47:31 +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 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 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 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 f22658f011 added RIG_FUNC_TUNER, RIG_OP_TUNE. Removed RIG_FUNC_LMP in favor of RIG_PARM_BACKLIGHT
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1414 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-24 23:06:26 +00:00
Stéphane Fillod, F8CFE 12ea2253b8 cleanups, converted define's to enum's w/ initializers bringing in doxygen comments
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1409 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-19 23:41:44 +00:00
Stéphane Fillod, F8CFE 710b45cab0 reworked rig discovery (probe) API and cast a vfo_t rewrite
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1407 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-10 08:40:13 +00:00
Stéphane Fillod, F8CFE f78e4e655c * made RIG_VFO_CURR different than RIG_VFO_NONE
* added RIG_TS_ANY, RIG_FLT_ANY for free form tuning_step and filters
* added support for set RTS/DTR state of the serial port


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1376 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-23 22:34:54 +00:00
Stéphane Fillod, F8CFE 5ef97cb93c added reverse sideband modes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1310 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-12-16 22:02:28 +00:00
Stéphane Fillod, F8CFE 279dc276fd - doxygen update
- RIG_DEBUG_* are now enum's
- new RIG_PORT_PARALLEL
- new RIG_TYPE_TUNER
- RIG_VFO_UPLINK/RIG_VFO_DOWNLINK have been renamed to RIG_VFO_TX/RIG_VFO_RX
- new RIG_ANT_1, RIG_ANT_2, etc.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1302 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-28 22:38:06 +00:00
Stéphane Fillod, F8CFE 078b8f5cec first take at doxygenization, always enable NET port
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1278 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-12 00:15:01 +00:00
Stéphane Fillod, F8CFE bc5e4cf03b * added VFO_UPLINK and VFO_DOWNLINK (backend-wise) aliases
* added channel_caps
* added gran_t for levels and parm's


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1248 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:32:09 +00:00
Stéphane Fillod, F8CFE 5b80acbe2e misc addition to make compilers happy
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1203 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:49:24 +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 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
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 a8f2f620cf converted RIG_SCAN_RESUME_ON/OFF to more appropriate RIG_FUNC_RESUME
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1039 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-04-23 21:49:04 +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 e8c1f5e454 fixed the kHz/MHz/GHz macros so it works with doubles and >2GHz integers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@992 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-05 00:43:08 +00:00
Francois Retief 491f9f67f6 Added constants for the IC-910 rig.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@980 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-28 11:00:57 +00:00
Stéphane Fillod, F8CFE 00fa0a5dc3 API hazard: added a private data pointer argument to event callbacks
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@976 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:22:31 +00:00
Stéphane Fillod, F8CFE 8ab1c95472 misc fixes, added some more fields to channel_t
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@927 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:46:01 +00:00
Stéphane Fillod, F8CFE 8352856fa3 token stuff moved to src/token.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@921 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:52:12 +00:00
Stéphane Fillod, F8CFE 3b717dd886 added new VFO_OPs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@857 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-09 23:08:12 +00:00
Francois Retief 02e862859e Added a new function: LCD Lamp ON/OFF (for Kenwood TH-7DA)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@854 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 17:57:28 +00:00
Stéphane Fillod, F8CFE 4dadfbbeb1 misc cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@798 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-26 23:38:24 +00:00
Stéphane Fillod, F8CFE a7baa6ee7b removed useless vfo arg to set_trn/get_trn funcs, added rig_token_foreach for conf
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@779 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:42: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 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 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 89f948a067 made caps->rig_type more flexible
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@616 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-08 06:07:20 +00:00
Stéphane Fillod, F8CFE 5d85c7eb3f 'path' field renamed in port_t, misc cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@604 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:55:59 +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 da4dc6a979 misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@590 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-20 11:07:11 +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 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 e31e834db3 some new defines
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@570 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-30 23:11:00 +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 69e6006738 further win32 porting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@558 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:16:16 +00:00
Stéphane Fillod, F8CFE 5db86a5914 further win32 porting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@552 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 06:59:47 +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 7210e8b9a1 win32 fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@544 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-12 07:09:44 +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 c6f5318a1c added RIG_DEBUG_WARN
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@535 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-10 00:43:00 +00:00
Stéphane Fillod, F8CFE d03f88e1dd fixed rig_probe, ant_t in caps (update backends!), added some backend jit-loading stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@528 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 21:13:11 +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 9437e3c29f mv_ctl reworked to vfo_op, added RIG_VFO_MEM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@521 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-03 19:50:30 +00:00
Stéphane Fillod, F8CFE bdd5ecc517 new tone_t type, various cleanups
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@506 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 17:50:14 +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 3cd5da336f * ann_t is no nore an enum. turned it to bit oriented type
* stuffed channel_t
* CAPS CHANGES:
  removed: dtmf_digits, chan_qty, vfo_list
  added: max_xit, level_gran&parm_gran, announces, set_xit, get_xit


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@472 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:34:33 +00:00
Stéphane Fillod, F8CFE 68a2cbdfb7 * setting_t is on 64 bits now
* CAPS MODIFICATION: added set_split_mode, get_split_mode, and send_morse


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@469 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-28 12:47:54 +00:00
Stéphane Fillod, F8CFE 9aabe8cd29 * silly bug on VFO defines
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@461 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-26 21:31:46 +00:00
Stéphane Fillod, F8CFE 5163ec58f4 * new functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@456 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-24 19:51:46 +00:00
Stéphane Fillod, F8CFE 8537c8a9d1 * switched on new VFO defines, caps changed (freq_range_t)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@450 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 14:45:31 +00:00
Stéphane Fillod, F8CFE f84c0b9a58 * pbwidth_t is now the passband type in Hz, RIG_PASSBAND_NARROW and RIG_PASSBAND_WIDE are dead now. moved around some stuff.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@448 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 13:54:48 +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 f21353f25d * CHANGE in caps:
* set_poweron/seT_poweroff gone is favor of set_powerstat and get_powerstat
* added new send_dtmf/recv_dtmf
* added new field max_ifshift, dtmf_digits


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@432 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:46:27 +00:00
Stéphane Fillod, F8CFE 0b8c506e31 * reshuffled a little bit RIG_LEVEL and RIG_FUNC defines
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@413 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 21:17:00 +00:00
Stéphane Fillod, F8CFE e1e99738b5 * CAHNGE in caps: added has_get_parm/has_set_parm new fields
with set_parm/get_parm caps.
	added also chan_list array to describe what kind of chan your rig
	is equipped with.
* set_ann/get_ann are gone. Welcome set_parm/get_parm. This is a
  non-VFO specific version of levels.
* misc stuff added: ctcss, dcs, etc.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@409 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 00:23:14 +00:00
Stéphane Fillod, F8CFE 81edd610fe * CHANGE in caps: added new field vfo_list to describe available VFOs
(work in progress), and priv field to help with generic backend inits.
* tuning_steps field is now shadowed in rig->state
* preamp and attenuator arrays in caps/state are now of type int
* started to code replacement for VFO and passband definitions
* misc changes


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@402 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 22:56:23 +00:00
Stéphane Fillod, F8CFE aaec33e8a7 * added RIG_LEVEL_IS_FLOAT macro to known which levels are of float type,
and what are the others of integer type.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@399 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-25 23:06:18 +00:00
Stéphane Fillod, F8CFE 617c6ade52 * added rig_get_dcd() support (RIG_LEVEL_SQLSTAT might disappear)
* renamed KHz to kHz
* RIG_MODE_WFM is back, backends not updated yet

!!! API CHANGE !!!
* added new fields 'dcd_type', 'port_type' and 'get_dcd'
* caps has a new field: 'filters'. It holds the list of installed filters
  as a table of modes/bandpass tuples. See hamlib-developer for discussion.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@390 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:51:44 +00:00
Stéphane Fillod, F8CFE c7bfdbb64e * added RIG_TYPE_PCRECEIVER type
* RIG_LEVEL_ANN and RIG_LEVEL_ANT are no more. Welcome rig_set_ann/rig_get_ann,
  and rig_set_ant/rig_get_ant (yet to be coded..)
* cosmetic changes

Significant caps update:
------------------------
* added copyright field, for author and copyright, eg "(c) 2001 Joe Bar, GPL"
* has_func and has_level have been renamed to has_set_func and has_get_level
  Yes, the purpose was to squash this pit fall. Now we have has_get_func/
  has_set_func and has_get_level/has_set_level. Make things more clear.
* added preamp[] and attenuator[] arrays, as discussed on hamlib-developer list
* added (almost useless) max_rit field to hold absolute max RIT
* added bank_qty and chan_desc_sz for memory name size
* removed rx_range_list/tx_range_list in favor of rx_range_list1/tx_range_list1
  and rx_range_list2/tx_range_list2 for ITU region 1 and ITU region 2 resp.
  Does anyone know if some rigs out there are for ITU region 3 ?
* added set_ann/get_ann and set_ant/get_ant caps
* modified get_func prototype that was not designed properly

* updated struct rig_state to shadow capabilities, in the case they
  are customized


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@364 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:04:54 +00:00
Stéphane Fillod, F8CFE c04cce7828 * added hamlib_version constant
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@356 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:02:56 +00:00
Stéphane Fillod, F8CFE ba22118b32 * added rig_get_resolution()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@342 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-07 23:40:16 +00:00
Stéphane Fillod, F8CFE 87f212d899 * added new RIG_FUNC and fixed typos
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@328 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-28 22:11:36 +00:00
Stéphane Fillod, F8CFE ece8eda70d * added targetable_vfo field in caps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@316 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-05 18:21:39 +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 2d6dd6bda0 * added squelch primitives of DCS/CTCSS
* added set/get_RIT and rig_get_info()


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@273 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-11-28 22:31:40 +00:00
Stéphane Fillod, F8CFE 5733b0c984 * misc fix of the size of immediate value (long long)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@255 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-30 21:45:27 +00:00
Stéphane Fillod, F8CFE 39ea3ecee7 * misc cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@251 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-29 16:29:07 +00:00
Stéphane Fillod, F8CFE e9c6d30233 * added rig_set_bank() to the API
* added struct timeval post_write_date to rig_state, so the post_write_delay
  may not be an active wait loop.
* cleanup


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@240 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-23 19:53:03 +00:00
Stéphane Fillod, F8CFE f6f1e008cf * 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@233 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-22 16:02:21 +00:00
Stéphane Fillod, F8CFE fa3d2e016b * Replaced rig_?et_volume/rig_?et_squelch/rig_get_squelch_status/rig_get_strength/rig_?et_ant/rig_?et_att/rig_?et_preamp by rig_set_level/rig_get_level. This is a good saving in terms of namespace, but a potential gain in messy backend implementation. Feedback welcome.
* Added rig_has_level/rig_has_set_level (cloned from their *_func cousins)

* Reworked the RIG_MODE_* defines. The filter information (narrow, normal, wide) has been splited for less complexity. Thus adding rig_[sg]et_passband.

* Reworked the vfo_t enum. Main is now an alias for VFO A, Sub for VFO B, Sat for VFO C. I'm almost sure it's a wrong assumption. Could someone tell if Main is or is not VFO A ?

* Coded in a Memory/VFO handling proposal. Access is done through mv_ctl. See mem_vfo_op_e for a list of available operations.

* Renamed [sg]et_tone to [sg]et_dcs and [sg]et_tonesq to [sg]et_ctcss.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@218 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 21:58:03 +00:00
Stéphane Fillod, F8CFE db79d12466 * added [sg]et_rpt_offs to set repeater offset
* added [sg]et_split_freq to set split frequencies
* added [sg]et_split to activate split operation
* added get_squelch_status to get the open/close status of the squelch
* added [sg]et_trn to activate on the run the transceive mode (PCR1000 can do that)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@207 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-10 22:09:54 +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 fe1452a35a include files moved again
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@182 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:15:28 +00:00