Wykres commitów

626 Commity (7f717d520d0e7adbb436f258e03e8ce6105d65f9)

Autor SHA1 Wiadomość Data
Daniele Forsi IU5HKX cd092fc654 Fix list of parameters for get_func/set_func
Fixes: OVF_STATUS was spelled wrong, SYNC was missing, SLICE is
not available. Uses the list returned by \get_func ? sorted
alphabetically to be more user friendly and to easily spot any
missing item in future.
2025-04-21 20:25:09 +02:00
George Baltz N3GB 0147da5a3c Replace rs->multicast->mutex with a dedicated mutex for the API.
Use PTHREAD_MUTEX_RECURSIVE and change LOCK() to always call rig_lock().
Still needs a reliable way to determine availability.
2025-02-28 05:29:44 -05:00
Michael Black W9MDB bedbfff8c4 Remove unnecessary include 2025-01-18 15:55:54 -06:00
Michael Black W9MDB 24d67437b7 Remove include of sys/socket.h from rig.h -- doesn't seem we need it and breaks grig build
https://github.com/Hamlib/Hamlib/issues/1655
2025-01-12 12:43:39 -06:00
Michael Black W9MDB b3ef41354d Remove RIGCAPS_NOT_CONST
Hopefully this doesn't break any other builds
2025-01-03 07:37:10 -06:00
Michael Black W9MDB f2a9f091d0 Change rig_list_foreach back to using const argument -- was breaking many C++ application builds
https://github.com/Hamlib/Hamlib/issues/1647
2024-12-29 08:42:24 -06:00
Michael Black W9MDB 028e8f38cd Improve error message when windows serial port is already in use 2024-12-28 15:59:43 -06:00
Michael Black W9MDB eb7a828f5e Add stdarg.c as va_list requires
https://github.com/Hamlib/Hamlib/issues/1644
2024-12-26 07:57:46 -06:00
Daniele Forsi IU5HKX 6036a65d2e Fix typos in comments 2024-11-24 19:24:35 +01:00
Mike Black W9MDB f9d60d6b25 Remove duplicate parm 2024-10-22 10:30:30 -05:00
Mike Black W9MDB 87531d273d Fix KEYERTYPE 2024-10-21 22:31:42 -05:00
Mike Black W9MDB f33aa9a712 Fix IC707 tuning steps and memory items
Add MEM_SPLIT
2024-10-01 22:31:16 -05:00
Mike Black W9MDB 31b625df2b Fix winsock2 warning 2024-09-18 08:01:17 -05:00
Mike Black W9MDB 2b3000c21d Suppress warnings when include winsock2 that windows.h must be included first 2024-09-12 17:52:46 -05:00
George Baltz N3GB 67c62e9b2a Make SNPRINTF do something useful for Hamlib
Current SNPRINTF only triggers if there is a message too long in
Hamlib AND there's a corresponding error in snprintf - not too likely.
Make SNPRINTF diagnose any Hamlib errors, and eliminate a useless strlen().

FWIW, this shrinks libhamlib.so by about 45kB.
2024-09-01 04:22:44 -04:00
Mike Black W9MDB d4480045f3 Improve Flex error message
Add rig_debug_clear -- can make for shorter/better messages in WSJT-X and such
Add conf item "client" so WSJTX and GPREDICT can tell us who they are and we can do special things for them.  Other clients TBD.
2024-07-02 11:58:28 -05:00
George Baltz N3GB 86a7a0636c Definitions, storage and infrastructure for queuing config commands 2024-06-14 16:23:36 -04:00
George Baltz N3GB ce25f63843 Convert macros in rig.h to use STATE()
Note that the other pointer macros are NOT converted - they should be changed
one-by-one as any are moved.
2024-06-01 16:59:17 -04:00
Mike Black W9MDB c730e445a1 Add new error ELIMIT for things like rot_move that exceed set limits 2024-05-28 22:35:46 -05:00
George Baltz N3GB f53dc99057 Normalize some debug/trace output.
Make spaces(len) actually return a string of length 'len', not len + 1.
Eliminate static writable memory and a 256 byte write on each debug/trace
 call.
Make the depth stars line up.
2024-05-27 20:31:46 -04:00
Michael Black efbe365701
Revert "Refactoring GPIO push-to-talk logic to use libgpiod rather than the d…" 2024-05-12 14:37:23 -05:00
Addison Schuhardt cf91e96333 Refactoring GPIO push-to-talk logic to use libgpiod rather than the deprecated/broken sysfs method.
TODO: I'm not familiar with autoconf to set up linking to libgpiod correctly, so I'd like to ask someone else to do that.
Fixes #1538
2024-04-11 00:17:15 -07:00
Mike Black W9MDB 63fa818fd7 Add PARM_AFIF_LAN and PARM_AFIF_ACC for IC-9700
Add PARM_WLAN for IC-705
Fix parm selection/printout for the AFIF labels
2024-04-04 08:21:23 -05:00
George Baltz N3GB 295ad74757 Add macros for amplifier and rotator state pointers. 2024-03-26 02:08:33 -04:00
Mike Black W9MDB 5ab1122139 Add freq_skip for use with rigs that do not have targetable VFO
Hopefully this allows them to work with gpredict.
However...setting frequency on TX/RX transition could take up to 1 second depending on gpredict polling rate.
https://github.com/Hamlib/Hamlib/issues/1493
2024-03-08 17:09:47 -06:00
Mike Black W9MDB dc38d19449 Slow freq events to 4 per second 2024-03-03 12:23:33 -06:00
George Baltz N3GB 55db73894f Add STATE to the list of pointers
Definitely a long term item.
2024-03-01 12:27:26 -05:00
Mike Black W9MDB 1b2f6a84f7 Add USB-D1/D2/D3 LSB-D1/D2/D3 to new modes and Flrig
https://github.com/Hamlib/Hamlib/issues/1502
2024-02-23 12:27:55 -06:00
Mike Black W9MDB 0adaebd100 Update comment in rig.h 2024-02-03 12:44:48 -06:00
Mike Black W9MDB a52d0c5931 map token_t to hamlib_token_t for API backwards compatility
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-22 11:48:06 -06:00
Mike Black W9MDB 354606f46d Comment out __TIMESIZE check as mingw64 thinks it is not 64 bits -- so we may not need this
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-21 23:31:11 -06:00
Mike Black W9MDB 046f3b849c Fix mingw build
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-21 23:28:41 -06:00
Mike Black W9MDB 05033171c3 Change token_t to hamlib_token_t to avoid collsions with libbsm and others
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB 67aee82133 Add compile-time warning if __TIMESIZE != 64
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-21 22:39:57 -06:00
Mikael Nousiainen 4b3a7514ca Merge upstream and fix conflicts 2024-01-20 13:08:29 +02:00
Mike Black W9MDB 48d3f3f750 Add RIG_FUNC_SYNC -- only for FTDX101D/MP right now. 2024-01-18 07:56:30 -06:00
Mike Black W9MDB aec9348138 Add rig_band_changes to HAMLIB API 2024-01-18 07:39:56 -06:00
Mikael Nousiainen eb7634abfb Merge upstream changes and fix conflicts 2024-01-15 09:24:17 +02:00
George Baltz N3GB 7f67363687 Need more parens to work in expressions.
Clean up sticky note items.
2024-01-14 18:13:05 -05:00
George Baltz N3GB 2c85a96309 Add function to get rotator port address(es)
Add ROTPORT2 definitions.
Convert src/rotator.c to use new access.
2024-01-14 18:13:05 -05:00
George Baltz N3GB cd1f4d3929 Implement function to get structure address
Add AMPPORT and ROTPORT macros
2024-01-14 18:13:05 -05:00
George Baltz N3GB e178a984ca Add cache to the MACRO/porting list
Update comments
And port my favorite PoC target, rigs/kenwood/kenwood.c
2024-01-14 18:13:05 -05:00
Mike Black W9MDB 34f953ba0b Change debug statements to use spaces() function 2024-01-13 08:27:37 -06:00
Michael Black 2646f0fd3a
Merge pull request #1455 from GeoBaltz/rp
Basic definitions and first steps for making port tables addressed by pointers
2024-01-13 08:09:34 -06:00
Mikael Nousiainen 051e671bfa Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows. 2024-01-04 10:43:15 +02:00
Michael Black 74062c6aba
Merge branch 'master' into master 2023-12-21 07:53:27 -06:00
davidg 3061d5e208 Add number of CW and Voice memories to supporting Icom, Yaesu, Kenwood and Elecraft Radios. Added added .chanlist to TS890S 2023-12-20 21:26:57 +00:00
George Baltz N3GB 8dff750285 Define different (disambiguated) names for external use. 2023-12-20 14:49:35 -05:00
George Baltz N3GB 9c7a21282c Add basic support for transparent access to port structures.
Define macros for internal access to port data.
Port rigs/kenwood/kenwood.c to use new access as PoC

Part 1 of issue #1445
2023-12-19 18:58:37 -05:00
Mikael Nousiainen 1cc08d2f00 Merge upstream and fix conflicts 2023-12-19 18:03:12 +02:00