Commit Graph

584 Commits

Author SHA1 Message Date
Michael Black
3a43815d71 Move macro_name later in structure for better compatibility 2020-03-06 09:44:29 -06:00
Michael Black
d0f114b178 Add macro_name to caps structures for rig, rot, and amp devices 2020-03-05 23:48:14 -06:00
Michael Black
d856248178 Add RIG_MODEL macro and change all rigs to support it 2020-03-05 08:44:18 -06:00
Michael Black
8b462a0242 Add set_twiddle and get_twiddle functions
Add -W switch to rigctld to set twiddle timeout..don't need switch for rigctl since it can set from there with \set_twiddle
2020-02-24 09:34:02 -06:00
Michael Black
f4c1143959 Add SCREENSAVER parm...implemented for 9700 for now 2020-02-23 09:48:21 -06:00
Michael Black
95986b9685 Add detection of VFO twiddling
In the case of gpredict there are times when one has to adjust the
VFO to dial in a frequency while gpredict is tracking.
We now detect this situation and have a 3-second delay every time
VFO twiddling is detected.  set_freq and set_vfo calls will be
ignored during this delay.
May make this a settable value if needed.
2020-02-23 08:28:19 -06:00
Michael Black
e315f5e3ac Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black
4a964d7fac Change RIG_MODEL_NUMBER macro to use 1000 multiplier instead of 100
Icom is getting close to running out of numbers
Change rig_model_t to uint32_t to ensure it's 32-bit
2020-02-18 06:53:56 -06:00
Michael Black
b961ff0566 Fix rig.h description of new frequency ranges 2020-02-18 06:31:18 -06:00
Michael Black
b443794897 Add new 5-range frequency definitions 2020-02-17 06:45:10 -06:00
Michael Black
2161667428 Fix range_list in ft991
Add explanation of RIG_ANT_CURR for channel.ant entry.  It's to be used when rigs have multiple antenna ports for dedicated band ranges and the rig does not have a set_ant command
2020-02-12 15:00:10 -06:00
Michael Black
fcf2e3094e Change 2m_REGION2 bandplan to 144-148 2020-02-12 08:01:33 -06:00
Michael Black
49aa7d00a7 Fix get_ant RIG_ANT_CURR logic 2020-02-12 07:20:34 -06:00
Malcolm Herring
e3cef196f7 add g/set_ext_func to API 2020-02-11 09:48:13 +00:00
Michael Black
fdef21f068
Merge pull request #193 from mdblack98/master
2020-02-05 Patches
2020-02-05 23:24:48 -06:00
Dawid Szymanski
c6e06bfb01 ICOM Voice Keyer implemented. 2020-02-06 01:00:34 +01:00
Michael Black
7e8938ae65 Changed y command to now use mandatory antenna argument
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black
d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed) 2020-01-21 17:53:12 -06:00
Nate Bargmann
04ba2f9806
Merge branch 'mdblack98-master' 2020-01-20 19:27:17 -06:00
Michael Black
09b5d87449
Fix lua bindings for 64-bit compilation
Tested on swig 4.0.1 and lua 5.3.5
2020-01-19 11:15:44 -06:00
Malcolm Herring
85541cc257 Merge remote-tracking branch 'Hamlib/master' 2020-01-18 05:59:49 +00:00
Malcolm Herring
f6b39c1161 update rigs for new functions 2020-01-18 05:59:22 +00:00
Michael Black
a1ec13fc14
Add C4FM mode for Yaesu FT-991 2020-01-15 08:15:29 -06:00
Malcolm Herring
27edb089c7 Merge remote-tracking branch 'Hamlib/master' 2020-01-11 06:54:30 +00:00
Michael Black
b7e8f01701 Fix mingw32 DLL linkage of hl_sleep 2020-01-10 15:58:16 -06:00
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
2fca5f49b8
Remove hl_sleep.h as no longer needed 2019-12-24 15:21:06 -06: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
a7335595de
Add az and el offset to rotctl & rotctld 2019-12-02 23:30:08 -06: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
eeacb627da
Add south_zero option to rotator.h 2019-11-23 23:09:05 -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
9173e3dc30
Make C++ WIN32 compatible 2019-10-15 09:29:21 -05:00
Michael Black
b017750fe6
Fix c++ amplifier compilation 2019-10-15 09:07:19 -05:00
Michael Black
f0a6fa7ff9
Merge 2019-10-13 23:01:15 -05:00
Michael Black
1a96720c47
Add FT-DX101 Beta version 2019-10-10 12:16:07 -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
Nate Bargmann
ecf95912b1
Add amp header files for distribution 2019-06-26 19:38:36 -05:00
Michael Black
cf2a551524
Fixup some amplifier code 2019-06-26 06:39:42 -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
Nate Bargmann
1f6db44497
Merge branch 'improve-caps-icom-elecraft' of https://github.com/mikaelnousiainen/Hamlib into mikaelnousiainen-improve-caps-icom-elecraft 2019-06-06 20:17:20 -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
vk2ckp
f9f8e95852 Updated and new GS232 backends. Added new models for AMSAT LVB Tracker and Fox Delta ST2. Model 602 is now 'GS232 Generic' with new models for GS232 and GS23. 2019-05-31 22:12:25 +10: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
Nate Bargmann
cf1434efa7 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2019-04-12 07:14:52 -05: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
Michael Black
3d96757c66 Add IC-9700 to ic7300.c 2019-04-06 13:59:25 -05:00
mrmoonlv
3a9dca259a Unicode rollback 2019-03-09 08:18:20 +02:00
mrmoonlv
45b8e387d2 Add FT-600 Alpha Model. Set/Get Freq, Set/Get Mode, Set PTT 2019-03-05 00:47:51 +02:00
root
296ef58598 Add export definition for netrigctl_get_mode for DLL building 2019-02-08 07:28:50 -06:00
Michael Black
040bb2afea Add FT847UNI for early serial number units that are one-way comm 2019-01-28 15:53:28 -06:00
Nate Bargmann
bead4adcb5 Merge branch 'master' of https://github.com/denzs/Hamlib into denzs-master 2019-01-21 18:51:07 -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
Sebastian Denz
f730933b12 merge upstream 2018-12-26 13:38:06 +01: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
Sebastian Denz
0c2b7fbd98 Merge remote-tracking branch 'upstream/master' 2018-12-17 20:33:54 +01: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
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
Sebastian Denz
fe6fc763d1 remove digital mode extension 2018-11-20 18:08:36 +01:00
Sebastian Denz
13959669ce Merge remote-tracking branch 'upstream/master' 2018-11-18 21:21:44 +01: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
Michael Black W9MDB
68fb9e3c21 Add FT-DX3000 definition and promote FT-DX5000 to Stable 2018-10-28 15:57:28 -05: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
9108deab8b Merge branch 'master' of github.com:Hamlib/Hamlib 2018-06-30 16:11:31 +02:00
Sebastian Denz
27041e008b allow rmode_t to be 64 bits wide (by mdblack98) 2018-05-17 13:09:25 +02:00
Sebastian Denz
9acfe7a882 Merge remote-tracking branch 'upstream/master' 2018-05-16 21:52:51 +02:00