Wykres commitów

2853 Commity (325277f269615eef8fdfb1fc1104203557dc99b1)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 56de3bb25d Fix FTDX10 SM command 2023-08-02 16:13:55 -05:00
Mike Black W9MDB 942e4cd950 Fix get_level AF for FTDX10 2023-08-02 16:09:32 -05:00
Mike Black W9MDB 232d7626cc Yaesu rigs (at least some of them cannot use MG command when in RTTY or CW mode
So we return RIG_OK for set which just ignores it and level=0 in this case
2023-08-02 16:01:10 -05:00
Mike Black W9MDB 2709be053c Fix new.cat EX030109 command 2023-08-02 15:25:44 -05:00
Mike Black W9MDB e155dfbf5e Fix cppcheck errors
https://github.com/Hamlib/Hamlib/issues/1350
2023-08-02 12:50:03 -05:00
Mike Black W9MDB 6c794a17bd Fix cppcheck errors
https://github.com/Hamlib/Hamlib/issues/1350
2023-08-02 12:41:25 -05:00
Mike Black W9MDB 801d34e3fb Fix reverse split for Yaeus VFO_SUB rigs
https://github.com/Hamlib/Hamlib/issues/1103
2023-07-31 15:31:06 -05:00
Mike Black W9MDB 2852fba73f Increase sleep during power on for Icom to wait for serial port to wake up 2023-07-29 15:10:36 -05:00
Mike Black W9MDB bd1fcbe025 Adjust icom power up to use the mininum number of 0xfe's needed for the baud rate 2023-07-28 17:32:23 -05:00
George Baltz N3GB 2ccac887d2 New for old - update level_gran for ft9000Old 2023-07-27 16:29:33 -04:00
George Baltz N3GB 2f3c632ff6 Convert ANTIVOX & VOXGAIN 2023-07-27 15:01:55 -04:00
George Baltz N3GB bb260d2640 Convert COMP 2023-07-26 16:58:26 -04:00
George Baltz N3GB d1106cae8b Convert MICGAIN to level_gran
Update rig info
Round to nearest integer
2023-07-26 16:58:26 -04:00
George Baltz N3GB a975a6e8a6 Convert set/get AF, RF to use level_gran info. 2023-07-26 16:58:26 -04:00
George Baltz N3GB ee5b96443f Add basis for level_gran use in newcat.c
Do the easy one - CWPITCH
2023-07-26 16:58:26 -04:00
Mike Black W9MDB bf3ac3bbec Fix bogus warning in ic7300.c 2023-07-25 22:05:17 -05:00
Mike Black W9MDB 802892887a Remove get_vfo from FT9000Old 2023-07-25 06:35:59 -05:00
Mike Black W9MDB bbdd1dc312 Add new rig FT9000Old version that does not have VS command 2023-07-24 22:41:00 -05:00
Mike Black W9MDB fcba1cab20 Make icom echo check skip the 1st two bytes of the frame
Saw an instance where the 1st 0xfe was corrupted so this allows for that
2023-07-24 17:35:14 -05:00
Mike Black W9MDB 23639557a0 Revert "Remove rig_flush from icom/frame.c"
This reverts commit ca3f19fbd6.
Evidence showing this is needed when sequencing is lost
Instead we need to improved Windows serial_flush
2023-07-24 08:30:14 -05:00
Mike Black W9MDB ca3f19fbd6 Remove rig_flush from icom/frame.c
Speeds up Windows serial i/o by about 6ms per call for Icom rigs
https://github.com/Hamlib/Hamlib/issues/1123
2023-07-23 14:55:27 -05:00
Mike Black W9MDB d8d716f0f2 Fix h command for newer Yaesu rigs -- now reads channel correctly.
https://github.com/Hamlib/Hamlib/issues/1342
2023-07-21 10:16:25 -05:00
Mike Black W9MDB aacf060e11 Remove set_vfo B in ft100 set_ptt as WJST-X was getting confused about being in reverse split 2023-07-20 16:59:57 -05:00
Mike Black W9MDB 2c83486775 Minor changes to icom.c 2023-07-19 12:07:16 -05:00
Michael Black daa86f5b7a
Merge pull request #1339 from mikaelnousiainen/ft710-fixes
Improve Yaesu FT-710 backend
2023-07-18 15:45:37 -05:00
Mikael Nousiainen d0fba93c65 Bump version for FT-710 2023-07-18 23:32:36 +03:00
Mikael Nousiainen ebc10b84f4 Fix more FT-710 issues and implement the new CF clarifier command 2023-07-18 23:31:15 +03:00
Mike Black W9MDB f7bed3320e Fix set_split_mode for Icom rigs
Add some more send_morse fixes - still can't do speed change yet
2023-07-18 12:37:54 -05:00
Mike Black W9MDB b58c0a0fa4 IC-9700 VFO selection now works for VFOA, VFOB, MainA, MainB, SubA, and SubB
WSJT-X does not set VFOB mode when VFOA mode is already selected...must change VFOA mode and back again to set VFOB
2023-07-18 10:20:53 -05:00
Mike Black W9MDB 876e79c34d Add DUAL_WATCH for IC756 2023-07-17 17:22:54 -05:00
Mike Black W9MDB 9b04338080 Give a warning for the IC-9700 if trying to select VFOB while in satmode 2023-07-16 16:54:59 -05:00
Mike Black W9MDB e167d0f1a0 Fix FT-991 poweron routine 2023-07-16 15:08:33 -05:00
Mike Black W9MDB 902cfd708f Improve Icom set_powerstat=1
Original 2023-07-16T09:28:43.323319-0600:    4:rig_set_powerstat: elapsed=10236ms
IC-7300  2023-07-16T09:46:48.814844-0600:    4:rig_set_powerstat: elapsed=4020ms
IC-9700  2023-07-16T10:36:27.239828-0600:    4:rig_set_powerstat: elapsed=5717ms
The goal is to tweak each rig for fastest result but need more testers for that
Slowest right now is IC-9700 which is the default value
Total timeout will be just over 10.5 seconds to allow rig to power on
https://github.com/Hamlib/Hamlib/issues/1325
2023-07-16 10:38:59 -05:00
Mike Black W9MDB 932cca4c84 Revert "IC-705 cannot do get_powerstat"
This is handled in icom.c generic routine
This reverts commit a2c7227676.
2023-07-15 22:55:07 -05:00
Mike Black W9MDB d834a5a50d Revert "IC-7610 cannot do get_powerstat"
This is handled in icom.c generic routine
This reverts commit 685f8c3862.
2023-07-15 22:54:04 -05:00
Mike Black W9MDB 685f8c3862 IC-7610 cannot do get_powerstat 2023-07-15 16:12:38 -05:00
Mike Black W9MDB a2c7227676 IC-705 cannot do get_powerstat 2023-07-15 15:52:25 -05:00
Mikael Nousiainen c1829e3de0 Add ft710.h 2023-07-12 00:36:49 +03:00
Mikael Nousiainen d54912e375 FT-710 fixes, part 1 2023-07-12 00:29:32 +03:00
Mike Black W9MDB 84048e3e94 Fix newcat.c TX validation 2023-07-11 10:11:13 -05:00
Mike Black W9MDB b37e9877bd Merge branch 'master' of https://github.com/Hamlib/Hamlib 2023-07-10 17:27:09 -05:00
Mike Black W9MDB 2ff99809f1 Remove validation from BD/BU commands in newcat.c
https://github.com/Hamlib/Hamlib/issues/1331
2023-07-10 17:26:45 -05:00
George Baltz N3GB b2ea9da61c Enable level_gran[] checking for all calls to kenwood_set_level.
Part of issue #1144
2023-07-10 15:39:41 -04:00
George Baltz N3GB 649f09449a Yet more missing level defs. 2023-07-10 15:39:41 -04:00
George Baltz N3GB 34fd238291 Still more level_gran data. 2023-07-10 15:39:41 -04:00
George Baltz N3GB 14cb2304b0 Use level_gran[] values in kenwood_get_level. 2023-07-10 15:39:41 -04:00
Mike Black W9MDB 04c65d9d7e Add Quisk as a rig 2023-07-09 23:06:05 -05:00
Mikael Nousiainen c6d0365c3b Merge master and fix conflicts 2023-07-08 19:40:10 +03:00
Mike Black W9MDB ce052db3a2 Remove get_vfo from ic9700 ic7610 and ic785x 2023-07-07 12:06:38 -05:00
Mike Black W9MDB 3cc6b7614c Fix IC7610 caps structure for new firmware test 2023-07-07 11:47:59 -05:00
Mike Black W9MDB 52cba4630b Change FLRig PKT modes to PKTUSB/LSB instead of RTTY
https://github.com/Hamlib/Hamlib/issues/1327
2023-07-03 07:56:04 -05:00
Mike Black W9MDB ad1e63efa1 Fix FT-991 Fake It failing to retrun to receive frequency
Yaesu rigs will no return from set_ptt until TX0 is achieved
Restrict 300ms wait just to FTDX3000 due to antenna switching
This speeds up set_ptt off for other Yaeus rigs
https://github.com/Hamlib/Hamlib/issues/1326
2023-07-02 17:50:38 -05:00
Mike Black W9MDB 25ad13cea9 Add BG2FX FC4/C/CR/L 2023-06-28 12:48:30 -05:00
Mike Black W9MDB f3cab55c4f Change set_mode_x26 to do correct VFO for 7600/7610
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 14:28:37 -05:00
Mike Black W9MDB a3ac6e0be3 Change to using RIG_IS macros
Fix segfault on non 76XX rigs
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 11:24:27 -05:00
Mike Black W9MDB c0c70b0146 Fix IC-7600 set/get freq to use new 0x25/x26 capability if available
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 08:54:43 -05:00
Mike Black W9MDB 2728d47a60 For TS-2000 turn off VOX before TX 2023-06-27 06:55:16 -05:00
Mike Black W9MDB 4bd904502b Fix TS2000 RIG_VFO_C errors 2023-06-26 23:16:48 -05:00
Mike Black W9MDB b158b224ab Fix TS-2000 set_ptt
https://github.com/Hamlib/Hamlib/issues/1321
2023-06-26 23:07:40 -05:00
Mike Black W9MDB fcef98e60d Improve Malachine band change time a bit 2023-06-23 23:38:44 -05:00
Mike Black W9MDB 28396bad7a Updates to anytone -- more development needed 2023-06-20 17:29:58 -05:00
Mike Black W9MDB 701aaab1c6 Ensure usb echo off is determined first thing for Icom rigs
https://github.com/Hamlib/Hamlib/issues/1318
2023-06-20 09:32:10 -05:00
Mike Black W9MDB 5281361e07 Update rig->caps in netrigctl.c for level_gran and parm_gran
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-17 15:43:16 -05:00
Mike Black W9MDB b3a61cf00e astyle icom.c 2023-06-16 23:24:25 -05:00
Mike Black W9MDB f14c241f43 Fix IC-905 frequency -- needed to be 10Hz units 2023-06-16 22:32:13 -05:00
Mike Black W9MDB d9b936618c Remove VFO_TX from dummy 2023-06-11 23:34:15 -05:00
Mike Black W9MDB dc1fa7f450 Remove ENTERFUNC from frame.c to balance 2023-06-09 22:39:24 -05:00
Mike Black W9MDB 2e610be031 Balance RETURNFUNC in ic7300.c 2023-06-09 22:33:36 -05:00
Mike Black W9MDB 88a1d88e0f Fix icom.c set_mode_with_data to skip mode if same and skip bandwidth if same or nochange
https://github.com/Hamlib/Hamlib/issues/1312
2023-06-09 17:06:46 -05:00
Mike Black W9MDB 788db91e2f Change Malachite post_write_delay to 250ms based on user testing on Linux & Windows 2023-06-09 12:38:45 -05:00
Mike Black W9MDB 163d10651b Add stop_morse and wait_morse to PowerSDR 2023-06-09 09:07:36 -05:00
Mike Black W9MDB c4f635ab5d Add send_morse to PowerSDR 2023-06-08 23:42:21 -05:00
Mike Black W9MDB 224d68d1ac Speed up Malachite normal operations with 125ms post write requirement instead of 400ms
400ms needs for band changes on Malachite
Fix BUILTINFUNC calls to compile correctly -- this is for debugging only
2023-06-08 17:34:39 -05:00
Mikael Nousiainen 4aec461337 Improve Icom power status handling. Add auto power on/off to netrigctl. 2023-06-08 18:56:29 +03:00
Mike Black W9MDB 9bec3fad4f Hopefully speed up Malachite on get commands by temporarily changin post_write_delay to 400ms 2023-06-07 17:36:19 -05:00
Mike Black W9MDB 203920e293 FIx FT817 set/get_mode -- thanks to Mooner Salem K6AQ
https://github.com/drowe67/freedv-gui/issues/409
2023-06-07 07:05:05 -05:00
Mike Black W9MDB 835b66e7df Give the FT-920 some time during PTT OFF to allow it to occur
Fake-It was not working probably due to this as can't set freq while PTT
2023-06-06 23:34:15 -05:00
Mike Black W9MDB 72071a313e Fix FT817 get_mode
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-06 14:22:28 -05:00
Mike Black W9MDB 138060d4d9 Fix flex6xxx ZZAR command 2023-06-06 14:17:48 -05:00
Mike Black W9MDB b25db51a51 Allow icom_send_morse to repeat a single char transmit when receiving a NAK 2023-06-06 10:42:30 -05:00
Mike Black W9MDB bc50d9c273 +04d actaully kicks out 3-digits and not 4 -- the + is included in the width value
Revert "Fix PowerSDR ZZAR command format -- may need another fix for SmartSDR format to be different"

This reverts commit 1e5563909d.
2023-06-06 10:16:21 -05:00
Mike Black W9MDB 1e5563909d Fix PowerSDR ZZAR command format -- may need another fix for SmartSDR format to be different 2023-06-06 10:09:32 -05:00
Mike Black W9MDB 21f0e560f7 For Icom rigs when PASSBAND_NOCHANGE is requested do not change the filter setting
https://github.com/Hamlib/Hamlib/issues/1309
2023-06-06 09:44:25 -05:00
Mike Black W9MDB e8af3447aa Fix ft817.c build for MacOS and Pi
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-06 08:36:50 -05:00
Mike Black W9MDB 5276e25a92 FIx from Brian G8SEZ for FT817 get_mode
And another fix for returning the correct mode hopefully for DIG modes
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-06 08:14:37 -05:00
Mike Black W9MDB acc42665ef Allow FT817 to write to EEPROM for set_mode
Should not cause too much wear on the EEPROM
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-05 08:34:59 -05:00
Mike Black W9MDB eb97c7c107 Change anytone.c to use bluetooth protocol
Update some things to keep debug quiet during thread operations in anytone.c
2023-06-04 15:56:01 -05:00
Mike Black W9MDB e1e570d19a Add documentaion for FT-817 2023-06-04 07:56:10 -05:00
Mike Black W9MDB 48b01aa3ff Add RIG_MODE_PKTLSB to FT817 even though it must be switched using Menu 26
Add a warning message to notify the user
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-04 07:18:00 -05:00
Mike Black W9MDB a6de41e206 rigctld can now see RIG_LEVEL values correctly
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-03 16:50:30 -05:00
Mike Black W9MDB 412221d346 Update anytone.c a bit 2023-06-03 16:48:20 -05:00
Mike Black W9MDB 2491d208d9 Fix FT450 and FT991 RIG_LEVEL_NR values
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-02 15:16:38 -05:00
Mike Black W9MDB cd0b685ed2 Change FT450 and FT991 RIG_LEVEL_NR back
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-02 10:25:05 -05:00
Mike Black W9MDB b34f18af40 Promote IC905 to stable since it seems to work OK 2023-05-31 14:22:37 -05:00
Mike Black W9MDB 82954c0549 Change Yaeus sleep afer PTT off to 300ms instead of 100ms
DX3000 was failing frequency change in Fake It mode probably due to antenna switching times
This was a separate rx/tx antennas
2023-05-31 08:36:55 -05:00
Mike Black W9MDB fe209d7cce Fix Yaeus LVL_NR to default 1-15 range and set FT450 to 1-11 ranges
https://github.com/Hamlib/Hamlib/issues/1305
2023-05-31 07:55:50 -05:00
Mike Black W9MDB c3cf7a9874 Change IC-905 to ALPHA status 2023-05-31 07:18:59 -05:00
Mike Black W9MDB 5745457d7f Fix anytone thread deletion 2023-05-30 22:10:19 -05:00
Mike Black W9MDB 5541deb812 Fix get_ptt command for anytone 2023-05-29 22:27:31 -05:00
Mike Black W9MDB 8fcd8242af Change anytone set_ptt to use new PTT On hold command 2023-05-29 22:16:23 -05:00
Mike Black W9MDB 1ea7e23235 Reduce get_vfo anytone command to 1 instead of 2 sequences with new command found 2023-05-29 22:11:14 -05:00
Mike Black W9MDB 16137cd72a Change mutex locking locations in anytone.c 2023-05-29 15:58:14 -05:00
Mike Black W9MDB 75699adbbb Add TARGETABLE_MODE for IC7700 since VFOB can have independent mode
https://github.com/Hamlib/Hamlib/issues/1304
2023-05-29 15:23:24 -05:00
Mike Black W9MDB dcd8ac58cf Update comment in anytone.c 2023-05-29 10:09:46 -05:00
Mike Black W9MDB 84643407ff Reduce debug in anytone.c thread unless CACHE debug level is requested 2023-05-29 09:56:29 -05:00
Mike Black W9MDB 07a9f321b4 Fix anytone set/get VFO
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-28 16:38:27 -05:00
Mike Black W9MDB f37c24d052 Anytone process 0xaa 0x53 message 2023-05-27 16:30:04 -05:00
Mike Black W9MDB e5bb7355b8 More anytone fixes
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 16:21:14 -05:00
Mike Black W9MDB 4e8acc728c Fix anytone/Makefile.am to include anytone.h
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 12:58:18 -05:00
Mike Black W9MDB 34f20cc970 Add thread to anytone.c to do the keep alive it needs
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 12:51:24 -05:00
Mike Black W9MDB 3b45dfa4b8 Add AnyTone D578UVIII
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 11:04:56 -05:00
Mike Black W9MDB 81dd39319b Clean up startup messages in newcat.c when power is off 2023-05-26 12:19:50 -05:00
Mike Black W9MDB 8d465a257e Fix a couple more debug statements 2023-05-26 10:53:32 -05:00
Mike Black W9MDB 06f5d8376f Fix debug message eol 2023-05-26 10:52:04 -05:00
Michael Black f01a165ec7
Merge pull request #1302 from mikaelnousiainen/power-status-bug-fixes
Power status bug fixes
2023-05-26 10:47:35 -05:00
Mikael Nousiainen fd68723da1 Fix issues with power status handling in rigctl+rigctld and the Yaesu backend 2023-05-26 18:03:20 +03:00
Mikael Nousiainen 8730e6a0b1 IC-746 and IC-756ProII+III support AGC_TIME 2023-05-23 23:25:27 +03:00
Michael Black 610bf2d903
Merge pull request #1301 from GeoBaltz/man1
Man1
2023-05-23 15:05:54 -05:00
George Baltz N3GB b6fe91504f Avoid NULL dereference in debug statement. 2023-05-23 13:14:28 -04:00
Mike Black W9MDB 79492d4284 Put enter/leave CAT in FT767GX.c again and reduce write_delay to zero.
Hopefully speeds things up and still works but may need to tweak write_delay
https://github.com/Hamlib/Hamlib/issues/1300
2023-05-23 10:11:51 -05:00
Mike Black W9MDB 083669dbc8 Hopefully speed up FT767GX considerably
https://github.com/Hamlib/Hamlib/issues/1300
2023-05-22 11:25:57 -05:00
Mikael Nousiainen 9e1adcfdb8 Merge master and fix conflicts 2023-05-21 23:11:26 +03:00
Mikael Nousiainen cce66d3257 Fix power on/off bugs: rig_open() should succeed even if rig is powered off, auto power-on should not be automatically enabled (prevents turning rig off), fix Kenwood and Yaesu power on/off sequences for all rigs 2023-05-21 23:01:03 +03:00
Mike Black W9MDB 4832cc1bb2 Improve kenwood.c debug a little bit to reduce confusion
https://github.com/Hamlib/Hamlib/issues/1298
2023-05-21 08:15:47 -05:00
Mike Black W9MDB 6eb0735c75 Update Icom rigs that cannot query power status 2023-05-20 22:22:02 -05:00
Mike Black W9MDB 8b9a8d6649 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2023-05-20 22:11:37 -05:00
Mike Black W9MDB 125273f7a2 Change IC7610 so use 0x03 for get_powerstat 2023-05-20 22:10:38 -05:00
George Baltz N3GB 14dbe41e76 Add Elecraft defaults to makefile. 2023-05-20 13:30:40 -04:00
George Baltz N3GB d3c2ebcc1f Round 4 of level_gran updates.
Fill in more holes.  This should cover the Kenwood and Elecraft rigs,
with most of the callers of kenwood_set_level vetted.  Also fills in
some other data in rig->caps.

Still looking for a way to (programatically) verify that AGC data is
checked and processed correctly.
2023-05-20 11:13:16 -04:00
George Baltz N3GB 3029260582 Add default level values for Elecraft rigs.
Add limits for 0.0-1.0 float values.
2023-05-20 11:13:16 -04:00
George Baltz N3GB 7a69042876 Enable full level checking for TS-890S.
Turn on checking against level_gran on the TS-890S,
so I can eat my own dog food.
2023-05-20 11:13:16 -04:00
George Baltz N3GB ea37ad1b21 Remove hard-coded constants.
Use more data already in rig->caps instead of hard coding values.
2023-05-20 11:13:16 -04:00
George Baltz N3GB 05f04730d7 Round 3 of level_gran updates. 2023-05-20 11:13:16 -04:00
Mike Black W9MDB 9528132f81 In icom.c show poweron with OK retval 2023-05-19 23:44:51 -05:00
Mike Black W9MDB 67344a66a7 Fix TS590 SH/SL command expected length 2023-05-19 16:32:26 -05:00
Mike Black W9MDB 04ee4ec580 Fix IC7800 to use get_freq instead of 0x18 command since it cannot read power status 2023-05-18 11:40:43 -05:00
Mike Black W9MDB 673ef04b0f Add x25_always to ic7610.c ic785x.c 2023-05-17 23:56:33 -05:00
Mike Black W9MDB a9d098bab3 Add send_voice_mem to kenwood.c and TS890 2023-05-17 22:41:29 -05:00
Mike Black W9MDB 44c9f83ae0 Improve power on sequencing for Yaesu rigs
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-17 17:26:53 -05:00
Mike Black W9MDB 0f5982272a Add icom_get_vfo for IC7610 and IC785X 2023-05-17 14:10:32 -05:00
Mike Black W9MDB 474428082d Add rig_get_vfo for IC9700 -- seems we can use x07 0Xd2 to determine main/sub vfo now 2023-05-17 14:03:08 -05:00
Mike Black W9MDB 630f5866a7 Completely remove single ; valcmd in newcat.c 2023-05-16 17:16:28 -05:00
Mike Black W9MDB bba58dff7b Revert newcat.c valcmd to ID; as single ; was causing timeouts on FT-991 and possibly others
Using ; required a 100ms sleep after receiving the ?; response and that sleep can be removed when using ID;
22ms time vs 135ms time to set freq on FT-991 now
2023-05-16 17:04:09 -05:00
Mike Black W9MDB f43aa43671 Fix newcat.c VFOB validation 2023-05-16 15:57:22 -05:00
Mike Black W9MDB eff6f2d554 Fix TS590 vfo test to ensure correct A/B when CURR/TX/RX is used
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-15 07:45:38 -05:00
Mike Black W9MDB 05ab130f91 Add width/shift debug to ts590.c
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 12:50:49 -05:00
Mike Black W9MDB 6651345065 Add SF command for TS-590S/SG
Still need to add bandwidth get/set
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 11:06:22 -05:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mike Black W9MDB 7c5a636a64 Add FTDX10 to CAT TOT 100ms rigs 2023-05-13 22:27:23 -05:00
Mike Black W9MDB 300c0c415a Fix some state.depth values 2023-05-13 16:02:41 -05:00
Mike Black W9MDB c7cfc78303 Add IC7700 to rigs that don't have 0x25 2023-05-12 14:36:40 -05:00
Mike Black W9MDB 1f98f0d347 Try again to fix ft847 vfo reading
https://github.com/Hamlib/Hamlib/issues/1286#issuecomment-1545971701
2023-05-12 11:19:02 -05:00
Mikael Nousiainen 92215dfd2a Fix bugs in \send_raw command and add possibility to specify any command terminator character. Add \stop_morse to Dummy rig. 2023-05-12 10:01:32 +03:00
Mike Black W9MDB dfc5e72d02 Have FT847 default to sat_mode when Sub VFO is requested
Don't see any way to query satellite mode
https://github.com/Hamlib/Hamlib/issues/1286#issuecomment-1544662994
2023-05-11 16:36:12 -05:00
Mike Black W9MDB bdecc7f73e Only do close functions when comm_state is true
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-10 23:27:40 -05:00
Mike Black W9MDB 6285c4a6b8 Remove unused variable in newcat.c
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-10 17:28:49 -05:00
Mike Black W9MDB 131f8443a3 Improve Yaesu poweron detection speed in default condition of already powered on
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-10 17:24:41 -05:00
Mike Black W9MDB e9cc1881dc Fix x25cmdfails detection in icom.c
https://github.com/Hamlib/Hamlib/issues/1277#issuecomment-1542655090
2023-05-10 14:42:22 -05:00
Mikael Nousiainen c80d45378a More fixes to command 0x25 logic 2023-05-10 22:39:45 +03:00
Mikael Nousiainen 716637c4ab Fix x25cmdfails logic to allow failure detection only once. Subsequent failures after an initial successful use of command 0x25 will not prevent use of the command. 2023-05-10 22:35:44 +03:00
Mikael Nousiainen 4b8de5f96d Change float level granularity formatting to use %f to avoid E notation. Fix AGC_TIME level range for Icom rigs. Fix listing of AGC levels in \dump_caps. Add \stop_morse and \wait_morse in \dump_caps. Add simulation of responses in \send_cmd_rx and \send_raw for dummy rig (and if rig port type is NONE). Fix other minor issues. 2023-05-10 20:53:18 +03:00
Mike Black W9MDB d2924c7ae7 Add a flush in newcat.c get_powerstat 2023-05-09 14:13:17 -05:00
Mike Black W9MDB 1d96a84b44 Fix dangling pointer in aor.c 2023-05-08 23:58:52 -05:00
Mike Black W9MDB 4f0d78f1d9 Fix cppcheck warnings 2023-05-08 23:56:28 -05:00
Mike Black W9MDB a4c10c3206 Fix cppcheck warnings 2023-05-08 12:16:51 -05:00
Mike Black W9MDB 247f0f72cf Excludes IC9100 from updating x25cmdfails from satmode
The IC9100 never supports 0x25
https://github.com/Hamlib/Hamlib/issues/1284
2023-05-08 10:30:24 -05:00
Mike Black W9MDB dad55ef148 astyle files getting ready for WSJT-x-2.7.0rc1 2023-05-08 07:37:13 -05:00
Mike Black W9MDB 2a758b96ab Fix compile warning in tci1x.c 2023-05-07 17:17:01 -05:00
Mike Black W9MDB 4a8a82ffc4 Fix icom.c 0x25 detection and add IC9100 to known rigs that doesn't have 0x25
https://github.com/Hamlib/Hamlib/issues/1284
2023-05-05 09:38:07 -05:00
Mike Black W9MDB 1ab828f8ef Reduce icom.c 0x25 warning to trace level -- the error is expected when rig does not support 0x25 2023-05-04 07:20:16 -05:00
Mike Black W9MDB d044ad998c Add retry to icom_get_ptt
https://github.com/Hamlib/Hamlib/issues/1283
2023-05-03 16:18:02 -05:00
Mike Black W9MDB ec64850901 Change netrigctl.c to return POWER_OFF when timeout occurs as opposed to invalid command
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-03 15:40:00 -05:00
Mike Black W9MDB 5a079e03a4 Restore elecraft extended K2 cmd set to startup value 2023-04-30 09:52:24 -05:00
Mike Black W9MDB a349c3e07b Change ft817 startup timeout to 1500ms to avoid a timeout
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-29 07:57:07 -05:00
Mike Black W9MDB e5a6055d57 Another attempt to fix ft817_get_vfo
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-28 22:30:07 -05:00
Mike Black W9MDB 215aa6b92c Try to fix ft817 get_vfo to return the valid status bye
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-28 08:20:57 -05:00
Mike Black W9MDB e82f127965 Allow icom read_frame to return when bus collision occurs
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-26 15:38:08 -05:00
Mike Black W9MDB 07ba41d551 Add a retry in icom frame.c in case of collision
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-25 11:07:25 -05:00
Mike Black W9MDB da94c8b770 Change ft817.c to not mask the low bit on eepromp reads -- hopefully this doesn't break everything
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-25 08:52:42 -05:00
Mike Black W9MDB 1c1b9e7511 Enable async_io for IC-746 and IC-746PRO
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-25 08:13:03 -05:00
Mike Black W9MDB 6fadbfb112 Change Icom 0x25 logic to only allow one detection
https://github.com/Hamlib/Hamlib/issues/1277
2023-04-25 08:00:43 -05:00
Mike Black W9MDB 4ba3a02512 FT-817 add 100ms delay during ft817_open to avoid initial cmd error during startup
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-22 11:22:16 -05:00
Mike Black W9MDB 2af9f2c5b3 For FT-817 add sleep after set_vfo to allow vfo swap to occur
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-21 22:05:42 -05:00
Mike Black W9MDB 6c410f164e This did not solve the problem with Win4Yaesu
Revert "https://github.com/Hamlib/Hamlib/issues/1275"

This reverts commit c02ded5b49.
2023-04-21 16:04:04 -05:00
Mike Black W9MDB c02ded5b49 https://github.com/Hamlib/Hamlib/issues/1275 2023-04-19 15:15:56 -05:00
Michael Black 3b66959f4e
Merge pull request #1274 from mikaelnousiainen/ts590sg-fixes
Fix and extend TS-590(S/SG) backend
2023-04-17 07:21:10 -05:00
Mikael Nousiainen 1a59ce2ae2 Fix and extend TS-590(S/SG) backend 2023-04-15 00:25:29 +03:00
Daniele Forsi IU5HKX 6f0efd59e6 Fix check for RIG_BUSBUSY
Fixes a cppcheck warning:
rigs/icom/frame.c:510:19: style: Redundant condition: The condition 'i != 14' is redundant since 'i < 0' is sufficient. [redundantCondition]
        if (i < 0 && i != RIG_BUSBUSY) /* die on errors */
2023-04-11 23:28:46 +02:00
Mike Black W9MDB 905c9fff95 Fix SDR++ giving wrong answer for get_powerstat
https://github.com/Hamlib/Hamlib/issues/1266
2023-04-10 09:37:01 -05:00
Michael Black 6c1d83ed86
Merge pull request #1269 from ncw/fix-qcx-cw-sending
Fix QRP Labs QCX Morse Sending
2023-04-09 22:14:00 -05:00
Michael Black cf77666cc1
Merge pull request #1268 from dforsi/fix/doxygen
Add/fix Doxygen comments
2023-04-09 22:13:42 -05:00
Daniele Forsi IU5HKX 96bb604b12 Fix typos 2023-04-09 23:06:32 +02:00
Mike Black W9MDB e5a00cddb9 Fix case where netrigctl gets a 0 answer to chk_vfo
https://github.com/Hamlib/Hamlib/issues/1266
2023-04-09 08:29:48 -05:00
Nick Craig-Wood 2c283ab47a Fix QRP Labs QCX Morse Sending
Before this fix, hamlib used the TS480 protocol for sending morse
which adds a lot of spaces on the end.

The QCX actually uses the Elecraft morse sending protocol so switch it
over to using that.

Tested with QCX Mini firmware v1.09a
2023-04-09 14:00:25 +01:00
Daniele Forsi IU5HKX 8d40732064 Fix initializer-overrides warnings by clang
Fixes:
dx77.c:225:5: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
    {
    ^
dx77.c:217:23: note: previous initialization is here
    .tx_range_list2 = {RIG_FRNG_END,},
                      ^~~~~~~~~~~~~~~

ft991.c:356:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
    .scan =               newcat_scan,
                          ^~~~~~~~~~~
ft991.c:352:27: note: previous initialization is here
    .scan =               newcat_scan,
                          ^~~~~~~~~~~
2023-03-28 19:53:29 +02:00
Mike Black W9MDB 79db09c201 Fix PS0; command in newcat.c
https://github.com/Hamlib/Hamlib/issues/1220
2023-03-28 10:24:31 -05:00
Mike Black W9MDB 224820fb44 Fix rigctld get_powerstat
https://github.com/Hamlib/Hamlib/issues/1220
2023-03-28 09:43:26 -05:00
Daniele Forsi IU5HKX 692deca638 Remove duplicated conditions
Fixes:
rigs/yaesu/newcat.c:10537:9: style: Same expression 'strcmp(priv->cmd_str,"IS1;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "IS1;") == 0
        ^
rigs/yaesu/newcat.c:10548:9: style: Same expression 'strcmp(priv->cmd_str,"NR0;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "NR0;") == 0
        ^
rigs/yaesu/newcat.c:10549:9: style: Same expression 'strcmp(priv->cmd_str,"NR1;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "NR1;") == 0
        ^
rigs/yaesu/newcat.c:10552:9: style: Same expression on both sides of '||'. [duplicateExpression]
        || strcmp(priv->cmd_str, "OS0;") == 0
        ^
2023-03-26 23:00:38 +02:00
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Mike Black W9MDB ac197389a2 Fix IC-7160 get_powerstat to disable it...cannot read power status from 7610 2023-03-25 11:20:52 -05:00