Wykres commitów

422 Commity (ab7d998e380ca8a072f26225e0ec0bb7e4a5e6a0)

Autor SHA1 Wiadomość Data
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 02ec0d9bd1 Fix FT1000MP status return length -- is 5 now rather than 6
https://github.com/Hamlib/Hamlib/issues/258
2020-05-22 14:26:21 -05:00
Michael Black W9MDB 07948a598e Change FT-1000MP rigs to only use 5-byte status command
Contrary to the manual the MARK-V was not recognizing 00 00 00 01 FA
We do not need the extra bytes for anything apparently
The 0xFA is only referenced in get_vfo
https://github.com/Hamlib/Hamlib/issues/258
2020-05-22 12:07:05 -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
Michael Black W9MDB d0d2e368a8 Fix dcs/ctcss functions for FT-991 2020-05-20 22:26:58 -05:00
Michael Black W9MDB ffa0674dcb Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-05-20 09:42:27 -05:00
Michael Black W9MDB 9c902dd03b IC-9700 in satmode requesting "S 1 Sub" will now return RIG_OK without
taking any action
Since satmode is Sub split anyways this makes sense
https://github.com/Hamlib/Hamlib/issues/254
2020-05-20 06:42:06 +02:00
Michael Black fa14c7e9f0
Merge pull request #252 from bkubesh/master
Add IC-M803 to icmarine
2020-05-19 08:52:30 -05:00
Blaine Kubesh 1eb369765c
Update icm803.c 2020-05-18 21:41:08 -04:00
Blaine Kubesh 041431f38f
Update icm803.c 2020-05-18 18:48:24 -04:00
Blaine Kubesh 283db06c41
Update ic-m803 remote-id to 20 2020-05-18 18:42:23 -04:00
Michael Black W9MDB 5a631b2f54 Fix icom detection of split mode setting vfos
https://github.com/Hamlib/Hamlib/issues/250
2020-05-18 00:39:08 +02:00
Michael Black W9MDB 2e3678d1a7 Fix main/sub frequency saved values 2020-05-17 17:27:28 -05:00
Michael Black W9MDB ba703787d9 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-05-16 15:22:48 -05:00
Michael Black W9MDB 1af1650716 Fix IC_9700 type rigs when client asks for Sub VFO but split or satmode
is not in use
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 21:34:26 +02:00
Michael Black W9MDB 87b25d0c43 If icom rig is asked for VFOA/B but only has Main/Sub
then we map VFOA=Main VFOB=Sub
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 08:31:34 -05:00
Michael Black W9MDB 906a369e00 Change icom behavior for IC-9700 type rig with Main/A/B && Sub A/B setup
If Sub is asked for but neither split nor satmode is on it will get changed
to VFOB instead which should avoid doing a VFO swap
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 07:55:59 -05:00
Blaine Kubesh 8d376121d6 added Icom803 to icmarine 2020-05-15 20:27:44 -04:00
Blaine Kubesh 91f985ddeb added Icom803 to icmarine 2020-05-15 20:23:41 -04:00
Michael Black W9MDB b6824cdcb1 Change TS440 model name to TS440S 2020-05-14 23:36:35 -05:00
Michael Black W9MDB 156db580f8 IC-910 (and hopefully IC-9700) now working with gpredict in both simplex non-satmode and full duplex satmode
As of 20200514 switching to satmode will automically switch rig to satmode
But switching back to simple requires manually going back to split mode until gpredict provide the correct split mode request of "S 1 VFOB" or "S 1 VFOA"
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 12:15:37 -04:00
Michael Black W9MDB 9c4dfbc34c Fix IC910 satellite mode operations
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 10:21:47 -04:00
Michael Black W9MDB ad7fe1253b Fix merge 2020-05-12 12:28:19 -05:00
Michael Black W9MDB 6a199559fa Fix merge 2020-05-12 12:22:51 -05:00
Michael Black W9MDB fca384dcd6 Fix debug statement in icom.c 2020-05-12 12:16:12 -04:00
Michael Black W9MDB 366c60020b Fix merge in icom.h 2020-05-11 22:44:33 -05:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
Michael Black W9MDB 5756383bc1 Add FT-991 repeater offset capability
https://github.com/Hamlib/Hamlib/issues/239
2020-05-11 22:37:21 -05:00
Michael Black W9MDB 74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
Michael Black W9MDB 3b2225e489 Fix IC-910 split mode operation with gpredict
https://github.com/Hamlib/Hamlib/issues/237
2020-05-11 19:00:52 -04:00
Michael Black W9MDB 0ffddf779d Change icom.c set_freq to detect error on bad freq set and swap VFOs back and not update anything
Add some more debug
https://github.com/Hamlib/Hamlib/issues/237
2020-05-10 07:40:06 -05:00
Michael Black W9MDB dfcca64523 Fix one more strerror to rigerror 2020-05-10 06:49:27 -05:00
Michael Black W9MDB 429ab72a16 Fix ft991 mode/width settings 2020-05-09 15:52:49 -05:00
Michael Black W9MDB 1a4e61b2dd Fix several strerror that should be rigerror 2020-05-09 11:52:27 -05: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
Michael Black W9MDB 352a4bdb28 Add 4M band to FT847 and reduce to just 1 rx/tx_range
Power levels and ranges need to be verified
Plus is there more than one FT847 model...e.g. a U.K. version?
I see FT847 mods to open up 4M so this may just be a customization.
https://github.com/Hamlib/Hamlib/issues/243
2020-05-09 08:28:33 -05:00
Michael Black W9MDB 320b25525d Fix get_powerstat in kenwood.c to reset err to RIG_OK
https://github.com/Hamlib/Hamlib/issues/242
2020-05-08 15:44:14 -05:00
mdblack98 9f80d8f21d Readd RIG_MODE_FM to newcat.c
https://github.com/Hamlib/Hamlib/issues/239
2020-05-06 15:23:14 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 0b3605597f Fix cppcheck warning in icom.c 2020-05-05 22:20:33 -05:00
mdblack98 fa711bb550 Remove unused variable set in icom.c 2020-05-05 22:18:18 -05:00
mdblack98 4dad9eda36 Add FM mode to ft991.c
https://github.com/Hamlib/Hamlib/issues/239
2020-05-05 17:30:36 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 06e8dd6aaa Fix vr5000 tuning steps indexing 2020-05-05 10:16:46 -05:00
mdblack98 05ad81bd2c Update comment in icom.c 2020-05-05 09:50:57 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -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
mdblack98 48b0234caf icom.c if VFOA/B is requested for rig without VFOA/A maps to Main/Sub
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 17:51:20 -05:00
mdblack98 1aed5e9266 Add PS; check to kenwood power up logic
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 17:41:27 -05:00
mdblack98 d1677a71d3 Move kenwood get_id before firmware check and only when first get-id fails
https://github.com/Hamlib/Hamlib/issues/230
2020-05-01 14:44:05 -05:00
mdblack98 2991d43e26 If icom.c rig_get_freq is called and VFO is None then VFO gets set to the requexted VFO
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 10:35:16 -05:00
mdblack98 ab424f4a82 Change the sleep for kenwood retry to 50ms instead of using rig timeout.
Some rigs have very long timeouts > 500ms and  retries need to be faster.
Rig timeouts are not relevant to a retry.
If rigs need more retries we can address that in the backends
https://github.com/Hamlib/Hamlib/issues/226
2020-04-29 08:21:48 -05:00
mdblack98 4b071f90ae Fix kenwood cache IF len -- have to remove terminator
https://github.com/Hamlib/Hamlib/issues/226
2020-04-29 08:13:23 -05:00
mdblack98 39ea145365 Allow an IF response to TX/RX for kenwood.c
https://github.com/Hamlib/Hamlib/issues/229
2020-04-28 22:18:05 -05:00
mdblack98 5fa21c4394 Move kenwood caching from kenwood_safe_transction to kenwood_transaction
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:58:11 -05:00
mdblack98 1743bebad7 Allow kenwood RX/TX to invalidate the cache 2020-04-27 10:30:39 -05:00
mdblack98 0e30795f6a Fix kenwood cache update
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:09:02 -05:00
mdblack98 909ece7627 Improve cache behavior for yaesu and kenwood
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:00:07 -05:00
mdblack98 600a674891 Add cache invalidation for kenwood and yaesu
Reset all kenwood/yaesu backend versions to 0 since main backend is new
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 09:41:33 -05:00
mdblack98 d6825cffbd Fix newcat.c cache check
Add cache for kenwood IF cmd
https://github.com/Hamlib/Hamlib/issues/226
2020-04-26 22:30:09 -05:00
mdblack98 7af1d2e459 Fix bad commit of newcat.h 2020-04-26 17:01:45 -05:00
mdblack98 20cc059600 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2020-04-26 16:51:34 -05:00
mdblack98 eb7829bd06 Add caching for the Yaesu IF command
It should speed up the WSJT-X/JTDX sequence of v,f,m,t by a fair bit removing two unnecessary IF commands that should get cached
2020-04-26 15:44:38 -05:00
Michael Black ce882b9be7 merge udpate 2020-04-26 14:58:30 -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 9b8cc476e3 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-26 11:37:31 -05:00
mdblack98 fd8e33d727 Change ts950 write_delay to 0 -- tested with CT1AXS and his 950SDX
https://github.com/Hamlib/Hamlib/issues/226
2020-04-26 11:35:14 -05:00
Michael Black aff8489591 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-26 08:51:46 -05:00
mdblack98 acc468fcfd Fix channel reading for civ_731 icom rigs
I assume this is true on all such rigs that they return 5 bytes
Writing and reading a channel should confirm it by returning the correct freq
https://github.com/Hamlib/Hamlib/issues/217
2020-04-26 08:45:16 -05:00
Michael Black ee0b3c6eb7 Update version to pihpsdr.c and make it STABLE 2020-04-25 11:17:58 -05:00
c vw af015d4467 Changed it to "serial" to allow for *both* serial and TCP connection.
If "pathname" is a legal TCP address, it will fall back to TCP
(see code in rig_open).
2020-04-25 18:07:29 +02:00
Michael Black 30dd2d538e Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-24 14:04:10 -05:00
mdblack98 7a075ae9fd https://github.com/Hamlib/Hamlib/issues/222
Fix order of calls in icom_get_split_vfos
Need to set split before getting vfos
2020-04-23 22:50:34 -05:00
Michael Black b70cae1943 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-23 16:23:39 -05:00
mdblack98 a9a604758d https://github.com/Hamlib/Hamlib/issues/222
Fix icom_get_split_vfo filling in rx_vfo and tx_vfo
icom_get_split_vfo: vfo=currVFO rx_vfo=None tx_vfo=None split=0
2020-04-23 15:35:29 -05:00
Michael Black 7324209b68 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-23 11:41:06 -05:00
mdblack98 8c061acb13 Fixes https://github.com/Hamlib/Hamlib/issues/221
Flex users need to change polling rate to 3 seconds
WSJT-X is timing out based on the polling rate and was disconnecting from hamlibPlus the retries in flex6xxx were inadequate to allow for the slow profile change
2020-04-23 11:38:51 -05:00
Michael Black f8f09d09fa Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-23 10:00:57 -05:00
mdblack98 90fc72f316 Add debug to kenwood.c chasing down Flex problem 2020-04-23 10:00:12 -05:00
Michael Black 9622f36cdf Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-22 14:51:51 -05:00
mdblack98 c52f325168 Add more debug to kenwood.c 2020-04-22 14:51:34 -05:00
Michael Black da26ff74d8 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-04-22 14:41:31 -05:00
mdblack98 d2e2fec9f3 Add debug to kenwood.c chasing down Flex problem 2020-04-22 14:39:39 -05:00
Michael Black a7b28a63d4 ft991 changes to work with gpredict 2020-04-19 23:18:59 -05:00
Michael Black 16f1ae8037 Update baud rate for TS480 2020-04-17 23:12:04 -05:00
Michael Black 79871210eb Add kenwood_close where missing 2020-04-14 08:38:11 -05:00
Michael Black 930bdf1f79 Add TS140S id value and comment on TS680S 2020-04-13 16:03:45 -05:00
Michael Black fe531222b8 Update comment in ts140.c 2020-04-13 16:00:13 -05:00
Michael Black 6be656a47b Update retry and post_write_delay in flex6xxx.c to avoid timeouts being experienced 2020-04-13 15:31:45 -05:00
Michael Black 87343fda05 Improve message when allow kenwood rig ID mismatch 2020-04-13 08:29:21 -05:00
Michael Black dbca3e15dc Change kenwood_open to non-fatal when ID does not match
Add kenwood_open to all kenwood rigs
Allow kenwood_open to keep searching list for a better match
2020-04-13 08:10:07 -05:00
Michael Black b94595cac9 Add post_wr-te_delay for Hilberling PT8000A...testing 2020-04-13 07:34:21 -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 0267c1b7c9 astyle all files 2020-04-10 09:13:35 -05:00
Michael Black 6269bc4dec Fix sprintf warning in ic10.c 2020-04-07 17:13:01 -05:00
Michael Black 991e4a4f24 Add error check for channel 90-99 split in ic10.c 2020-04-07 17:11:35 -05:00
Michael Black 624db802e4 Fix split detection in ic10.c 2020-04-07 17:04:22 -05:00
Michael Black f7341d7c6d Update ts440 to fix ID return value and reduce timeout values 2020-04-07 16:17:24 -05:00
Michael Black 3ac82b5635 Fix divide by zero in kenwood.c set_powerstat 2020-04-06 08:38:58 -05:00
Michael Black 33003d8d57 Add cmd retry to ic10.c 2020-04-06 07:37:02 -05:00
Michael Black 05469f8683 Fix timeout on H command for ts440 and add ID; for commands with no response 2020-04-05 23:21:23 -05:00
Michael Black 8194ffefda Fix MR command in ic10.c 2020-04-05 14:51:25 -05:00
Michael Black c6189dcfa7 Fix gcc 10 compiler warning and cleanup code a bit in aor.c 2020-04-04 23:32:56 -05:00
Michael Black 46cb356f11 Fix numerous gcc v10 warnings 2020-04-04 22:49:27 -05:00
Michael Black 066ee398c9 Fix bad strchr logic in newcat.c 2020-04-04 17:38:48 -05:00
Michael Black ee55fba442 Fix gcc10 compiler warning 2020-04-04 17:31:35 -05:00
Michael Black 93613e55ac Fix TS950/SDX by increasing write_delay and timeout values...IF command takes over 250ms to respond 2020-04-04 16:03:12 -05:00
Michael Black 4f975144e4 Add TS950S/SDX data mode capability 2020-04-03 10:24:01 -05:00
Michael Black 9c338a5c9f Add RIG_VFO_NONE possible current vfo for kenwood.c 2020-04-03 10:16:20 -05:00
Michael Black ea7b25e985 Fix kenwood.c compile warning 2020-04-03 09:36:33 -05:00
Michael Black ed2a359a64 Add Kenwood TS-950S entry 2020-04-03 07:46:11 -05:00
Michael Black e5c1fab00f Change TS440 to use ic10_get_mode
Add ic10_set_split_freq and ic10_get_split_freq to ic10.c and ts440.c
2020-04-02 22:38:09 -05:00
Michael Black f0bdabf569 Change TS440 RIT to +/- 1270 (low is actually -1280) and promote to STABLE 2020-04-02 12:17:30 -05:00
Michael Black d936f14415 Readd cmdtrm setting in kenwood.c -- it's not fixed in all backends 2020-04-02 11:44:52 -05:00
Michael Black 45914f70f9 Change ts440 r5000 to no flow control 2020-04-02 11:34:26 -05:00
Michael Black 764045bb1b Fix -RIT for kenwood.c 2020-04-02 11:33:57 -05:00
Michael Black ad97b98a71 Remove unneede if check since all backends have been fixed 2020-04-02 07:50:09 -05:00
Michael Black 2c79b1c2fd Change Kenwood rig id for TS950SDX to 012 per the manual
Replace TS950SDX with TS950 as 008 per the manual
Reference TS-950 External Control Instruction Manual
2020-04-02 07:34:01 -05:00
Michael Black d9a1fdabbc Fix ts440 get/set_xit 2020-04-01 22:31:00 -05:00
Michael Black 156661f2f3 For kenwood_transaction only retry when data reponse is expected 2020-04-01 22:29:09 -05:00
Michael Black adc448e87d Change kenwood back to rounding rit 2020-04-01 17:27:16 -05:00
Michael Black 246cbf746e Change kenwood get_rit back to zero-based loop 2020-04-01 17:16:21 -05:00
Michael Black 8089eff320 Change kenwood set_rit to determine # of loops based on current rit 2020-04-01 16:48:04 -05:00
Michael Black 5773df162c astyle files 2020-04-01 11:22:23 -05:00
Michael Black d3b62d5e9e Change all rig model checks to MACROS for brevity
Add data mode for TS950/TS950SDX
2020-04-01 11:15:22 -05:00
Michael Black a903c70063 Add FUNC_XIT and FUNC_RIT to ts440.c 2020-03-31 22:44:33 -05:00
Michael Black c62a7b2874 change ic10 set_split to no read after command 2020-03-31 22:19:17 -05:00
Michael Black 3be1c4a76f Add some debug to ic10.c 2020-03-31 16:11:40 -05:00
Michael Black 1d6530dd70 Add xit to ts440 2020-03-31 16:11:07 -05:00
Michael Black 800e07c346 Change ic10 set_ptt for no read after command 2020-03-31 15:31:28 -05:00
Michael Black 2d5df7cfec Remove xit function from ts440 since it doesn't have xit 2020-03-30 23:00:53 -05:00
Michael Black f08de7e004 Bump ts440 to BETA 2020-03-30 22:44:29 -05:00
Michael Black 5ac8f8703d Fix memory functon for ic10.c 2020-03-30 22:43:44 -05:00
Michael Black 2598c8c3ef Fix set_freq for ic10.c to not expect return value 2020-03-30 22:31:53 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black b36fb74499 Fix TS480 ptt off -- seems some versions of it don't return anything at all
for RX; command where some do when in PTT.  So we won't expect any return at all like all other Kenwood rigs.
Start migrating main version number to use YYYYMMDD.  Backends which use generic brand commands will still use numeric versions.  So the TS480 right now will become 20200329.6
2020-03-29 10:14:30 -05:00
Michael Black 8fd5e16363 astyle files 2020-03-26 11:11:46 -05:00
Michael Black 0c8130db00 Add range_list to xg3.c 2020-03-25 23:32:56 -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 c7abfb4927 Fix adat.c 'rigctl -m 29001 -u' error 2020-03-25 17:43:55 -05:00
Michael Black 9d8ddd4582 Replace RIG_LEVEL_VOX with RIG_LEVEL_VOXDELAY 2020-03-24 10:02:17 -05:00
Michael Black 6d034c941f Remove copy of RIG_LEVEL settings in ar7030.c 2020-03-24 09:36:36 -05:00
Michael Black dc77f72bcb Add range_list to thg71.c 2020-03-23 16:41:23 -05:00
Michael Black 3bb4befc8d Add debug to ic10.c 2020-03-23 16:01:15 -05:00
Michael Black 4e9d011aba Add MAIN/SUB to ic10 set_vfo 2020-03-23 15:47:30 -05:00
Michael Black 35504231af Add MAIN/SUB vfo setting to ic10.c 2020-03-23 11:58:18 -05:00
Michael Black b9baf18f53 Change all ackbuf in ic10.c to 64 bytes to prevent overflow 2020-03-23 10:50:50 -05:00
Michael Black 01a8ec4ba1 Fix segfault in ic10_set_split_vfo 2020-03-23 10:45:36 -05:00