Commit graph

126 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
bc8dbca1f3 Remove duplicated rig_type[] lines 2025-08-24 20:18:30 +02:00
Daniele Forsi IU5HKX
55f575565c Handle missing enums 2025-08-18 10:51:23 +02:00
Daniele Forsi IU5HKX
512f5f94d0 Put the switch cases in the same order as the enum
To see what is missing.
2025-08-18 10:49:53 +02:00
Daniele Forsi IU5HKX
0267068220 Fix ambiguity between system includes and Hamlib includes 2025-07-22 23:33:57 +02:00
Mike Black W9MDB
5c269964c2 astyle files in preparation for release 4.6 2024-11-06 08:07:34 -06:00
Mike Black W9MDB
44bb600a01 Increase debug buf size and add SPLIT to channel dumpcaps 2024-11-04 16:40:17 -06:00
George Baltz N3GB
16707507c6 Yet another batch of state pointers 2024-07-14 01:17:28 -04:00
Mikael Nousiainen
1cc08d2f00 Merge upstream and fix conflicts 2023-12-19 18:03:12 +02:00
Mike Black W9MDB
e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mikael Nousiainen
89abbfeb3a Merge master and fix conflicts 2023-11-07 09:41:29 +02:00
Mike Black W9MDB
02ffc6d6dc More set_conf/get_conf work
https://github.com/Hamlib/Hamlib/issues/971
2023-11-05 17:03:21 -06:00
Mikael Nousiainen
8ab8aafe48 Streamline VFO targeting and split functionality. Rewrite Icom backend routines to always avoid VFO swapping is the rig supports the 'targetable' commands 0x25 and 0x26. Work in progress. 2023-10-29 10:28:36 +02:00
Mike Black W9MDB
d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00
Mike Black W9MDB
d28ce6b798 Bump up some 1024 buffers to 2048 to avoid overflow error 2023-07-21 11:46:58 -05:00
Mike Black W9MDB
1688f25ed5 Add hamlib_version2 do dump_caps and dump_state 2023-07-20 10:17:55 -05:00
Mike Black W9MDB
8e94bc63d0 Fix millisecond abbreviations and capitalization errors 2023-06-11 08:49:57 -05: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
22970f16de Fix Serial speed information in dumpcaps 2023-04-05 10:30:20 -05:00
Daniele Forsi IU5HKX
3f90086991 [tests] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
b6fe95ae80 [tests] Remove unused include of config.h 2023-02-14 19:57:27 +01:00
Mike Black W9MDB
b38739bcab Show AGC Level None when there are no AGC settings for rig
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-18 07:09:28 -06:00
Mike Black W9MDB
4a487ffdcc Fix rigctld agc level readings -- allow for rig backedn to specify "RIG_AGC_NONE" now for clarity if desired
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-06 16:21:58 -06:00
Mike Black W9MDB
ca4814c472 astyle files 2022-11-23 23:31:08 -06:00
Mike Black W9MDB
1ef3549e94 Fix rigctld showing the real rig agc_levels instead of all levels
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB
25ac6d77d6 Fix dumpcaps filter printout to only show valid filters
https://github.com/Hamlib/Hamlib/issues/1151
2022-11-16 16:48:37 -06:00
Mike Black W9MDB
4f5bf9aadd Fix some dumpcaps warnings in many rigs 2022-11-14 16:02:28 -06:00
Mike Black W9MDB
c34f719337 Astyle files 2022-08-20 22:56:04 -05:00
Mike Black W9MDB
36838e2f73 Fix AGC level patch to apply only to Icom rigs and check priv non null
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-30 08:32:03 -05:00
Mike Black W9MDB
2b7c2ab5ce Fix all Icom rigs AGC values for correct printout with dumpcaps
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-29 23:44:17 -05:00
Daniele Forsi IU5HKX
7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB
68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mikael Nousiainen
d857f18163 Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far. 2021-11-28 20:52:29 +02:00
Mike Black W9MDB
636acf2155 Add model name to dumpcaps output 2021-10-22 17:30:36 -05:00
Mike Black W9MDB
283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Mikael Nousiainen
12527581b0 Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs. 2021-05-27 10:12:01 +03:00
Mikael Nousiainen
b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03:00
Mike Black W9MDB
5bafde9ae6 Add bandwidths to get_modes 2021-05-03 11:26:41 -05:00
Mike Black W9MDB
92d01adaa1 Fix MinGW compile warning in dumpcaps.c 2021-05-01 13:06:32 -05:00
Mike Black W9MDB
a27595d71e Fix segfault in rigctl_parse.c when rig does not have ctcss_list or dcs_list 2021-04-30 15:42:03 -05:00
Mike Black W9MDB
1cfa4c205c Remove SQLSTAT deprecated level 2021-04-24 09:17:53 -05:00
Michael Black W9MDB
3bc39aaec1 astyle files is preparation for 4.2 release 2021-03-15 17:51:22 -05:00
Michael Black W9MDB
1fcb9404b9 More changes to support macro renaming 2021-03-06 14:59:57 -06:00
Michael Black W9MDB
82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Mikael Nousiainen
a661bee283 Add rotator funcs/levels/parms to rotator caps dump 2020-12-02 22:35:38 +02:00
Mikael Nousiainen
a48f149955 Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress. 2020-11-24 21:51:10 +02: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
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
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
8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00