Wykres commitów

1030 Commity (master)

Autor SHA1 Wiadomość Data
Nate Bargmann 3f7c18eb52
Merge GitHub PR #1802 2025-07-14 06:54:11 -05:00
George Baltz N3GB 3952f030d4 More copyright updates 2025-07-11 13:43:47 -04:00
jeremybox 69d203fd1c Add FTX-1 radio support to Hamlib
- Add FTX-1 rig model (ID 840) to riglist.h
- Create ftx1.c and ftx1.h with FTX-1 implementation
- Add FTX-1 to Yaesu Makefile.am
- Integrate FTX-1 into newcat.c command validation system
- Update yaesu.c and yaesu.h for FTX-1 support
- Based on FT-991A CAT protocol compatibility
2025-07-11 01:42:24 -04:00
George Baltz N3GB f3e9a859ed Move ???PORT() macro definitions back to rig.h
Many (most?) of the uses of the port structures in Hamlib are to pass through
  to the basic I/O routines (rig_flush(), write_block(), read_string()),
  without referencing any of the structure data.  Don't bother including
  port.h if it won't be used.

The ???PORT macros are independent of actual hamlib_port_t data use.
2025-07-10 09:54:03 -04:00
George Baltz N3GB 80cfadadb0 Update copyright lines 2025-07-10 09:54:03 -04:00
George Baltz N3GB 9991f46e58 Move rotator state definition to include/hamlib/rot_state.h 2025-07-10 09:54:03 -04:00
George Baltz N3GB cc4b1ce7db Move amp_state definition to include/hamlib/amp_state.h 2025-07-10 09:54:03 -04:00
George Baltz N3GB f03fefe1cd Move rig_state definition(s) from rig.h to include/hamlib/rig_state.h
Compiling with NO_OLD_INCLUDES still won't work until the state
  structure(s) are moved out of rig_struct, but at least I get the
  right compiler errors.
2025-07-10 09:54:03 -04:00
George Baltz N3GB 1efaacb5ab Move port definition(s) to include/hamlib/port.h
Add some ghost structs and typedefs
Make example.c compile on gcc15 and with new includes
2025-07-10 09:54:03 -04:00
George Baltz N3GB 02179e0a93 Basic infrastructure for moving internal structures out of rig.h
Create breakout files, add them to Makefile.am manifest.
2025-07-10 09:54:03 -04:00
Michael Morgan e4716be366
Added AF6SA WRC
It uses non-standard W command.
2025-07-09 11:11:01 -05:00
Daniele Forsi IU5HKX 407d3f669b Revert "Fix debug messages shown even from disabled levels"
This reverts commit ae9556462a.
2025-07-06 14:58:41 +02:00
Nate Bargmann 31c3c97352
Merge GitHub PR #1783 2025-06-25 21:32:26 -05:00
George Baltz N3GB 55b0599b75 Stop the blithering 2025-06-25 10:41:55 -04:00
George Baltz N3GB 0b75b96ef1 Fix rotctl \dump_caps output
rot_sprintf_status() was printing items multiple times.
Cause of problem noticed by cppcheck.
2025-06-25 05:19:07 -04:00
声纳 25487237e9 Added support for PMR171 and Q900 radios 2025-06-25 09:20:50 +08:00
Nate Bargmann bddd3ace00
Revert 17b404a6c7
These changes were unnecessary as the real bug is that the incorrect
function was being called in meade.c.

Closes GitHub issue #268.

Fix testloc.c
2025-06-14 11:42:45 -05:00
Nate Bargmann 7b60cb586d
Merge GitHub PR #1751 2025-06-07 07:56:07 -05:00
Daniele Forsi IU5HKX 72bde6e131 Fix sign of error return values
All RIG_E* constants should be negated when returned or compared.
Change the usages of RIG_IS_SOFT_ERRCODE() for consistency.
2025-06-07 10:54:34 +02:00
Daniele Forsi IU5HKX ae9556462a Fix debug messages shown even from disabled levels
Messages from ENTERFUNC and RETURNFUNC where stored in an internal buffer
even whe debug_level wasn't TRACE and were returned when calling rigerror().
2025-06-07 09:14:32 +02:00
George Baltz N3GB 1532432236 Move more rig_cache infrastructure to cache.[ch]
Macros from rig.h, routines from misc.c
Add some error checks and comments
2025-06-03 12:07:27 -04:00
George Baltz N3GB 1fca93a5a2 Deprecate rig_cache definition in rig.h
Add new rig_cache definition in cache.h
2025-06-03 12:07:27 -04:00
George Baltz N3GB 6f8bf81514 Allocate separate storage for cache buffer
Add address to rig_struct, change CACHE() macro to use it.
Free it when done.
Issue #1420
2025-06-03 12:07:27 -04:00
George Baltz N3GB cccee9b791 Still more cppcheck complaints dealt with. 2025-05-29 05:41:39 -04:00
Daniele Forsi IU5HKX dcf4b7a4e0 Fix syntax of #define
It was invalid C syntax, but it is currently unused.
2025-05-08 23:11:29 +02:00
Daniele Forsi IU5HKX dda30532b5 Add cross references hash mark for Doxygen 2025-04-30 19:36:20 +02:00
Daniele Forsi IU5HKX bd5ed18bdd Add documentation for RIG_CONF_END
Fixes:
warning: explicit link request to 'RIG_CONF_END' could not be resolved
2025-04-30 19:36:20 +02:00
Daniele Forsi IU5HKX 56b075ab45 Fix Doxygen comment
It is about the tpyedef, not the defines.
2025-04-30 19:36:07 +02:00
Daniele Forsi IU5HKX 8feb174711 Fix typos 2025-04-30 19:34:47 +02:00
Daniele Forsi IU5HKX 535fb6e2bd Fix typos 2025-04-26 20:50:14 +02:00
Nate Bargmann 8f641b2b6a
Merge pull request #1707 from dforsi/fix/manpage
Fix/manpage
2025-04-21 17:22:59 -05:00
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
Michael Black W9MDB ad20668c75 Fix headers for compability with swig 4.3.0
https://github.com/Hamlib/Hamlib/issues/1669
2025-03-22 14:45:32 -05: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 84c656edd1 Fix CODAN 2110 -- correct model# and all the minor changes to the CICS protocol 2025-02-16 10:57:11 -06:00
Michael Black W9MDB 2070edab86 Add CODAN 2021 2025-02-15 16:05:21 -06: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 33adef942e Seperate QMX from QDX due to incompatible modes in FLRig
https://github.com/Hamlib/Hamlib/issues/1653
2025-01-07 09:03:34 -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
Michael Black W9MDB a94e2948f5 Add IC7760 Alpha 2024-11-26 23:38:19 -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
MarcFontaine 4efdf1dffd
Add support for the Rhode&Schwarz XK852 transceiver.
Working:
* Set and get frequency
* Set and get mode
* Set and get RFPOWER level
* PTT On/Off

Setting the transmission power level:

Rig command: L RFPOWER 0.0 => Receive only
Rig command: L RFPOWER 0.05 => TX low power
Rig command: L RFPOWER 0.15 => TX mid power
Rig command: L RFPOWER 0.55 => TX high power
2024-09-22 00:05:44 +02:00
Mike Black W9MDB 31b625df2b Fix winsock2 warning 2024-09-18 08:01:17 -05:00