Wykres commitów

642 Commity (d8bd6a5d4ed5c8542cecb117653290ad30c32ffe)

Autor SHA1 Wiadomość Data
Michael Black W9MDB 5add4b343d Add rig_stop_morse to API and stop_morse command for rigctl
No rigs implemented yet
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 08:41:57 -05:00
Michael Black W9MDB 4faad82da7 Change get_ptt RTS/DTR to keep serial port open
New option --set-conf=ptt_share=1 to revert to old behavior where serial port is opened/closed every get_ptt
https://github.com/Hamlib/Hamlib/issues/383
2020-10-12 23:27:13 -05:00
Michael Black W9MDB 45edda6a16 Add RIG_TARGETABLE_LEVEL to rig.h 2020-10-12 09:41:12 -05:00
Michael Black W9MDB d6cad85cf2 kenwood.c don't ask for power min/max when PTT is on 2020-10-07 12:40:59 -05:00
Michael Black W9MDB 50b394098e Fix RIG_PASSBAND
Add RIG_PASSBAND_ROOF macro
2020-10-07 07:32:05 -05:00
Michael Black W9MDB 86417420b4 Change PASSBAND_NORMAL back to zero to keep backwards compatiblity
This will change in 5.0
2020-10-06 23:10:45 -05:00
Michael Black W9MDB b7f73a3b46 Change RIG_PASSBAND_NORMAL to -2 to avoid colliding with Yaesu 0 bandwidth
https://github.com/Hamlib/Hamlib/issues/396
2020-10-05 14:53:40 -05:00
Michael Black W9MDB 9b26a4e957 Add PKTFMN mode for FTDX101D
Finish mods to newcat get_rx_bandwidth
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 12:53:56 -05:00
Mikael Nousiainen 23971f8e75 Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump. 2020-09-16 18:10:35 +03:00
Michael Black W9MDB 2020f29185 Remove redundant RIG_LEVEL_BRIGHT 2020-09-10 10:07:11 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB 31115b6a16 deprecate itu_region 2020-07-24 14:23:38 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 10f7f8da70 Add 4m EUR to FTDX101D 2020-07-23 08:57:58 -05:00
Michael Black W9MDB 9c8561680f Update ITU3 bandplan 2020-07-09 23:37:22 -05:00
Bill Somerville 281febec62
New power on option rather than power on/off
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville 3f40029720
Add missing config parameters for rig power on/off and screen-saver
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Michael Black W9MDB df3285de60 Add FT818 to rigs as copy of FT817 2020-07-02 12:31:09 -05:00
Michael Black W9MDB fa08887471 Change hamlib_cache_t enums to HAMLIB namespace 2020-07-02 10:23:41 -05:00
Michael Black W9MDB d42d837162 Normalize cache namespaces to hamlib_ and HAMLIB_ 2020-07-01 22:33:32 -05:00
Michael Black W9MDB 2c64ba9bba First round of rigs switched over to new rig_flush function
When done this will allow all rigs to use network connections and stil flush properly
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:27:45 -05:00
Michael Black W9MDB 835caf34f9 Add rig_flush function
https://github.com/Hamlib/Hamlib/issues/307
2020-06-22 23:54:11 -05:00
Weston Bustraan 5a65ae4692 Initial implementation for Alinco DX-SR8T 2020-06-17 17:13:20 -04:00
Michael Black W9MDB 815db24852 Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black W9MDB 1317bb8034 Fix vfo_fixup link error
Make vfo_fixup a HAMLIB function so it can be used elsewhere
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 08:28:05 -05:00
Michael Black W9MDB 92cbaf620e Precursor to implementing more caching
No effect yet
https://github.com/Hamlib/Hamlib/issues/280
2020-06-04 10:58:22 -05:00
Michael Black W9MDB 17b404a6c7 Add seconds to dmmm2dec
Change meade.c to support dmmm2dec seconds
https://github.com/Hamlib/Hamlib/issues/268
2020-06-03 22:33:56 -05:00
Michael Black W9MDB 653d7d1030 Add dummy_no_vfo device for emulating rigs with no set_vfo or get_vfo
https://github.com/Hamlib/Hamlib/issues/277
2020-06-03 11:35:31 -05:00
Michael Black W9MDB ae24d50901 add numbers to rig_errcode_e documentation 2020-06-02 22:29:25 -05:00
Michael Black W9MDB 4599322ea5 Add PowerSDR rig 2020-05-28 11:29:42 -05:00
Michael Black W9MDB 87a83ffbb1 rigctld now works with rigctl in vfo mode
https://github.com/Hamlib/Hamlib/issues/259
set_vfo_opt can now dynamically change vfo mode on rigctld
So this example now works...does some non-vfo stuff then switches to vfo mode
rigctl -m 2 F 14074000 V VFOB F 14076000 V VFOA f V VFOB f set_vfo_opt 1 f VFOA
rigctl commands v,V and S have been changed to not require VFO arguments
New API function rig_set_vfo_opt -- only implemented for Net rigctl as it doesn't apply to any other rigs
2020-05-27 12:21:41 -05:00
Michael Black W9MDB 1add89bd71 Add rules for setting VFO_RX and VFO_TX for different rig types
https://github.com/Hamlib/Hamlib/issues/261
2020-05-24 23:42:35 -05:00
Michael Black W9MDB 3d4d2dfe83 Add alpha version of Elecraft K4 2020-05-23 10:39:01 -05:00
Michael Black W9MDB 0cd1bb198b Revert rig_debug to use 16384 buffer to avoid compilation warnings 2020-05-21 10:27:51 -05:00
Michael Black W9MDB a77a57ff38 Disallow requesting a vfo that the rig doesn't have.
This could be changed to automatically selecting a valid VFO so
VFOA=Main or Main=VFOA for example but not sure if we want to do this.
This is already being done for the IC-9700 for example since satmode
only has Main/Sub where non-satmode has MainA/MainB/SubA/SubB
So the question is do we emulate VFOA/B and Main/Sub for all rigs?
2020-05-21 15:51:41 +02:00
Blaine Kubesh 8d376121d6 added Icom803 to icmarine 2020-05-15 20:27:44 -04:00
Michael Black W9MDB 371bf874c6 Fix FT847 freq ranges
Add README.freqranges to explain what's going on with this feature
Add default ITU definitions to bandplan.h
The ITU definitions will likely change as the backends are updated dependinggg on the rig models
https://github.com/Hamlib/Hamlib/issues/243
2020-05-09 09:59:39 -05:00
mdblack98 f8321a36f4 Fix cppcheck warnings and fill out unused RIG_LEVEL items 2020-05-05 23:33:40 -05:00
mdblack98 3794bc5a0a Fix cppcheck warnings 2020-05-05 09:38:36 -05:00
mdblack98 baa3787bc5 Add ELAPSED_INVALIDATE for caching use
Change rig_get_vfo to use ELAPSED_INVALIDATE
Change elapsed_ms code to make a little more sense
https://github.com/Hamlib/Hamlib/issues/231
2020-05-02 11:19:44 -05:00
dforsi bbea161abe
Fix descriptions referring to rot instead of amp 2020-05-02 12:26:45 +02:00
mdblack98 9e710156e3 Add ability for rigctld client to turn vfo mode on/off with (,)
https://github.com/Hamlib/Hamlib/issues/232
Add caching of some limited rig information
Can be adjusted or turned off with rig_cache_set_timeout_ms or in rigctl with \set_cache_timeout
https://github.com/Hamlib/Hamlib/issues/228
2020-05-01 12:03:54 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black 66525c81f8 Change kenwood to keep searching for matching id/model
Hilberling PT8000A is a 480 emulator but doesn't quite behave like one
So we have to allow for the same ID but a different model
2020-04-11 22:37:10 -05:00
Michael Black b12fa053a1 Add Hilberling PT800A...emulates a TS-480 2020-04-11 08:16:34 -05:00
Michael Black bc33e3ea43 Fix gcc 10 warning 2020-04-10 08:36:01 -05:00
Michael Black 106a68bbc9 Documentation updates 2020-04-09 23:35:22 -05:00
Michael Black f1f0d7f129 Fix some of the documentation 2020-04-09 17:56:19 -05:00
Michael Black 46cb356f11 Fix numerous gcc v10 warnings 2020-04-04 22:49:27 -05:00
Michael Black ed2a359a64 Add Kenwood TS-950S entry 2020-04-03 07:46:11 -05:00
Michael Black 9e89c4455a Add VFO & ANT definitions to rigs that were missing them 2020-03-25 23:07:42 -05:00
Michael Black 9d8ddd4582 Replace RIG_LEVEL_VOX with RIG_LEVEL_VOXDELAY 2020-03-24 10:02:17 -05:00
Michael Black bda5feb1bd More cppcheck changes 2020-03-23 10:13:02 -05:00
Michael Black c489f97624 More cppcheck changes 2020-03-20 07:51:32 -05:00
Michael Black 679db60483 Fix some more cppcheck warnings 2020-03-19 12:10:20 -05:00
Michael Black 56764fff9c Move macro_name to end of structure 2020-03-14 08:45:28 -05:00
Michael Black a60d1c315d Rename struct rig so s_rig and struct rot to s_rot
This avoids name collision with swig bindings for Rig and Rot classes
This is a harmless change as these are use as RIG and ROT anyways
2020-03-13 23:55:44 -05:00
Michael Black 8e66304860 Move macro_name to end of rig_caps to maintain shared libarary compatibility 2020-03-08 08:39:11 -05:00
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