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
Mooneer Salem
0fd094f476
Fix issue where Hamlib attempts to use memory returned by setlocale() after being freed.
2025-05-22 21:18:38 -05: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
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
dernasherbrezon
099cc7fc48
Implement initial skywatcher rotator
...
Use GOTO mode when setting position.
Use cache for CPR (Counts Per Revolution) because it is hardcoded for the motor
2024-08-27 23:41:01 +01:00
Mike Black W9MDB
2e96b91b04
Add Xiegu X6200
2024-07-17 22:43:35 -05:00
Mike Black W9MDB
8b9c768063
Update info in riglist.h
...
Make check for mfg_name or model_name of Misc, Other, or Dummy for GM3ZZA's application
Just to avoid ever using these accidentally
2024-07-14 22:57:40 -05: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
Mike Black W9MDB
98f6c1aea6
Add Commradio CTX-10
2024-06-30 14:58:08 -05:00
Mike Black W9MDB
0fe15fa858
Add Guohe PMR-171
...
https://github.com/Hamlib/Hamlib/issues/1483
2024-06-25 22:38:44 -05:00
George Baltz N3GB
81a8745fca
Implement the first user of the deferred set_conf entries.
...
Testing with simrotorez shows the correct sequence of actions and
correct commands being received.
2024-06-14 16:23:36 -04:00
George Baltz N3GB
86a7a0636c
Definitions, storage and infrastructure for queuing config commands
2024-06-14 16:23:36 -04:00
Mike Black W9MDB
db73ef20e5
Add csntechnologies.net S.A.T. satellite rotor
...
Thanks to Randy KB0NAV
2024-06-10 22:26:21 -05:00
Mike Black W9MDB
b19c179ce7
Move pstrotator read to a separate thread so that get_pos can see real-time movement
2024-06-10 17:29:51 -05:00
Mike Black W9MDB
c112a5f6a9
Add PSTRotator to rotctl
2024-06-07 15:28:21 -05: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
745e72a6cf
Add
...
ROT_MOVE_UP_LEFT, ROT_MOVE_UP_CCW
ROT_MOVE_UP_RIGHT, ROT_MOVE_UP_CW
ROT_MOVE_DOWN_LEFT, ROT_MOVE_DOWN_CCW
ROT_MOVE_DOWN_RIGHT, ROT_MOVE_DOWN_CW
Supported by SPID rotators
2024-05-30 17:34:02 -05:00