Daniele Forsi IU5HKX
caf7346fc0
Fix typos
2025-08-16 11:52:55 +02:00
Daniele Forsi IU5HKX
974e619dd2
Replace #include serial.h with iofunc.h
...
According to iwyu, to avoid unecessary rebuilds and to reduce the
chances of breakages of the build if includes are rearranged, the
code that uses serial_open() and ser_close() should include
serial.h while the code that uses read_block() write_block() and
similar should include iofunc.h, code that uses all of them should
include both files.
Found with iwyu.
2025-07-22 23:33:56 +02:00
George Baltz N3GB
5087894d71
Check off a few more cppcheck carps.
2025-06-07 10:46:31 -04:00
Daniele Forsi IU5HKX
6adfce0305
Fix typos in messages
2024-11-24 19:24:35 +01:00
Mike Black W9MDB
5c269964c2
astyle files in preparation for release 4.6
2024-11-06 08:07:34 -06:00
Mike Black W9MDB
fc8642fbf8
Fix elecraft TQ command processing.
...
Had put in an exception for Hilberling which affected Elecraft TQ command too
So have made Hilberling exception very specific
https://github.com/Hamlib/Hamlib/issues/1583
2024-07-13 16:31:26 -05:00
Mike Black W9MDB
21897517b6
Remove TQX command as not compatible with older K4 firmware.
...
Need to do firmware check before reimplementing
Give 250ms extra time after TQ command to allow K4 TCP response
https://github.com/Hamlib/Hamlib/issues/1583
2024-07-13 12:45:13 -05:00
Mike Black W9MDB
a3f930b061
Improve K4 firmware detection
2024-07-11 13:19:52 -05:00
Mike Black W9MDB
47cb5fdc1a
Change Elecraft K4 to use TQX instead of TQ to speed up ptt checking time
...
TQ waits for s-meter hold off time so can time out
2024-07-11 10:00:09 -05:00
George Baltz N3GB
06301679d3
Balance ENTERFUNC/RETURNFUNC usage
...
Still some unbalanced RETURNFUNC2 usage, but doesn't affect any rig data.
2024-06-26 10:16:12 -04:00
George Baltz N3GB
4b436479d1
More pointers to state
2024-03-26 02:08:33 -04:00
Mike Black W9MDB
1de9a5cede
Fix compile warning on rig_debug messages
...
https://github.com/Hamlib/Hamlib/issues/1525
2024-03-17 09:01:58 -05:00
George Baltz N3GB
9af715d244
Convert the remaining files in rigs/kenwood/
2023-12-19 18:58:37 -05:00
Mike Black W9MDB
e267c62764
astyle files
2023-12-16 11:37:58 -06:00
Mike Black W9MDB
d3edab3759
Fix cppcheck warnings
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-08 17:16:10 -05:00
Mike Black W9MDB
5ac1e50b80
Fix always true conditions found by cppcheck
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-02 23:10:58 -05:00
Mike Black W9MDB
18e122196f
Fix shadow variable warnings from cppcheck
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 17:38:13 -05:00
Mike Black W9MDB
4d540b1459
Fix scope reductions from cppcheck
2023-09-30 22:50:16 -05:00
Mike Black W9MDB
256766c5b6
Fix Elecraft K3 RVF fail to just warn and not quit
2023-09-08 16:54:15 -05:00
Mike Black W9MDB
8ebadb3b7d
Get more firmware info for Elecraft K3
2023-09-07 12:01:18 -05:00
Mike Black W9MDB
d5828f65ff
Fix cppcheck style
2023-08-02 22:22:13 -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
5a079e03a4
Restore elecraft extended K2 cmd set to startup value
2023-04-30 09:52:24 -05:00
Daniele Forsi IU5HKX
420125b8bc
[kenwood] Fix includes
2023-02-16 19:08:24 +01:00
Mike Black W9MDB
52bed765ef
Clean up rig power on/off sequencing for Kenwood/Elecraft rigs
...
Note that the K3/K3S cannot power on via CAT control
https://github.com/Hamlib/Hamlib/issues/1225
2023-01-22 23:41:21 -06:00
Mike Black W9MDB
7978d74750
Force K22 mode on Elecraft rigs to get PC power level in .1W intervals for low power operations
...
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-07 11:46:56 -06:00
Mike Black W9MDB
ddf0be7b72
Fix rig->state.rx_vfo and tx_vfo for Elecraft K4
2022-05-07 17:35:17 -05:00
Mike Black W9MDB
4d6633e46f
Balance RETURNFUNC
2022-02-19 16:27:56 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB
92542cb028
Change sprintf to SNPRINTF in kenwood rigs
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:03:43 -06:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
f2ae765c37
Fix elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 23:56:32 -06:00
Mike Black W9MDB
5102d3e721
Another attempt at elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:48:34 -06:00
Mike Black W9MDB
353bee3a5f
Fix elecraft_get_vfo_tq
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:32:29 -06:00
Mike Black W9MDB
6ba1bc0811
Add elecraft_get_vfo_tq to take advantage of K4's new TQ command
...
https://github.com/Hamlib/Hamlib/issues/863
2021-11-09 17:07:40 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
0cd7e5cc16
Update debug statement in elecraft.c to show is_k4
2021-10-18 22:59:18 -05:00
Mike Black W9MDB
e7e5cc063d
Fix K4 split problems
...
https://github.com/Hamlib/Hamlib/issues/748
2021-08-04 22:45:54 -05:00
Michael Black W9MDB
2d33066df4
Fix elecraft kx3 detection to be exclusive
2021-03-05 09:33:13 -06:00
Michael Black W9MDB
8b456a18c4
Update elecraft detection again
2021-03-03 16:04:49 -06:00
Michael Black W9MDB
e38b1469a2
Update elecraft rig detection
...
https://github.com/Hamlib/Hamlib/issues/563Z
2021-03-03 15:57:12 -06:00
Michael Black W9MDB
5fd5bf5215
Update Elecraft to detect K4, K4D, and K4HD
...
https://github.com/Hamlib/Hamlib/issues/563
2021-03-03 14:45:07 -06:00
Michael Black W9MDB
0acbc83a85
Add detection of K4HD for Elecraft
...
https://github.com/Hamlib/Hamlib/issues/563
2021-03-03 12:36:09 -06:00
Michael Black W9MDB
d45c86cfa7
select is_k4 when model number matches -- could use K4; command also
2021-02-28 15:11:25 -06:00
Michael Black W9MDB
0fe5b62e6c
Add K4 to elecraft.c
2021-02-28 14:02:11 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00