Wykres commitów

1049 Commity (master)

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
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
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
Mike Black W9MDB f5dc649833 Add Flex SmartSDR slices -- minimal functionality to work with WSJT-X
https://github.com/Hamlib/Hamlib/issues/1552
2024-05-20 07:57:10 -05: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
Michael Black c06255d364
Merge pull request #1539 from aschuhardt/libgpiod
Refactoring GPIO push-to-talk logic to use libgpiod rather than the d…
2024-05-12 11:41:31 -05:00
Mike Black W9MDB e9a9424eed Adding motorola rig 2024-04-24 12:06:00 -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 f51e7ef760 Add SDRConsole rig entry since TS-2000 is now hardware flow control by default 2024-03-23 08:46:56 -05: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 74b0752898 Add Guohe Q900
https://github.com/Hamlib/Hamlib/issues/1483
2024-01-22 16:34:18 -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 b0d1eb297f Function to get amplifier port address
Convert src/amplifier.c to new MACROs/access method.
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 f8fd79442d Add Barrett 4100 2024-01-13 11:47:13 -06: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
Mike Black W9MDB 21c14da270 Add DL2MAN (tr)uSDX rig
Copy of TS480 for starters and needs refinement
2024-01-07 22:38:52 -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
Mike Black W9MDB 70c35791ce Add rig entry for Thetis 2023-12-22 07:51:48 -06: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
Mike Black W9MDB af5ea58350 Add -# --skip_init option to rigctl 2023-12-18 15:26:46 -06:00
Mike Black W9MDB 98edf92240 Update rig.h documentation a bit 2023-12-18 07:53:55 -06:00
George Baltz N3GB f4d40e0d79 Restore shared library ABI compatibility with previous hamlibs
No need for post_ptt_delay to be in hamlib_port - move it to misc
  rig_state data.
Update references to post_ptt_delay
Fix a couple of typos
Add code to actually set post_ptt_delay

Fixes issue #1412
2023-12-04 10:47:52 -05:00
Mike Black W9MDB ed94193935 Add #define RIGCAPS_NOT_CONST
Allows clients to test for which declarations to use
https://github.com/Hamlib/Hamlib/issues/1436
2023-11-29 11:10:43 -06:00
Mike Black W9MDB 9841e500b9 Fix ptt_share segmentation fault
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
davidg d0fd27afd6 added RIG_MTYPE_VOICE and RIG_MTYPE_MORSE to chan_type_t and IC 7300, 9700 and 703 radios. 2023-11-22 17:46:21 +00:00
Mikael Nousiainen 7b341a2ad6 Merge branch 'master' into streamline-vfo-targeting-and-split-functionality 2023-11-20 10:16:15 +02:00
Mike Black W9MDB 7d9ef323d7 Add some needed enums 2023-11-16 14:40:54 -06:00
Mike Black W9MDB c1780b19f4 Add wireless detection for multicast address -- possible fix for UDP error messages by using 127.0.0.1 instead of IN_ADDR_ANY
https://github.com/Hamlib/Hamlib/issues/1409
2023-11-16 09:05:29 -06:00
Mikael Nousiainen 82f2b10275 Merge branch 'hamlib-multicast-4' into streamline-vfo-targeting-and-split-functionality 2023-11-09 09:59:48 +02:00
Mikael Nousiainen c90c675add Unify and streamline Icom backend logic for freq/mode and split commands. Allow use of targeted freq/mode whenever possible. Move certain Icom-specific caps to the icom_priv_caps struct to remove rig-specific conditions in generic backend code. 2023-11-09 09:57:23 +02:00
Mike Black W9MDB f1a9823bdd Move swr from rig_cache to priv value until we get rig_cache fixed to be expandable
https://github.com/Hamlib/Hamlib/issues/1419
2023-11-08 08:05:56 -06:00
Michael Black 2d2d5009e0
Merge pull request #1415 from mikaelnousiainen/hamlib-multicast-2
Add rig communication status to rig_state and multicast packets
2023-11-05 16:55:13 -06:00
Mike Black W9MDB 337fb0f3e5 Add SWR reading for PowerSDR/Thetis 2023-11-05 16:45:15 -06:00
Mikael Nousiainen 43d1fbb323 Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld. 2023-11-06 00:42:02 +02:00
Mikael Nousiainen f8814732a2 Merge master and fix conflicts 2023-11-05 13:23:35 +02:00
Mike Black W9MDB 6cb17e49dc Add post_ptt_delay for situations where more time is needed for external relay operations
Detect Doppler frequency changes for Kenwood rigs and avoid querying frequency...just set it...to provide stable timing
https://github.com/Hamlib/Hamlib/issues/1412
2023-10-31 17:34:31 -05:00
Mikael Nousiainen c8c8869a3c Refactor multicast publisher and rig poll routine. Create skeleton for multicast command server. 2023-11-01 00:26:37 +02:00
Mike Black W9MDB 464fa3f478 Revert "Promote token_t to unsigned long long"
This broke several things -- have to do this inside kenwood.c instead
This reverts commit 01292b261f.
2023-10-21 12:39:47 -05:00
George Baltz N3GB 9a22b39fcd Add RIG_LEVEL_USB_AF_INPUT to RIG_LEVEL_FLOAT_LIST 2023-10-21 10:24:42 -04:00
George Baltz N3GB 05823482a0 Fix duplicate level definition 2023-10-20 18:23:29 -04:00
Mike Black W9MDB 01292b261f Promote token_t to unsigned long long
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-19 23:35:20 -05:00
Mike Black W9MDB f5f8694a70 Add RIG_LEVEL_USB_AF_INPUT
Add RIG_LEVEL_USB_AF and RIG_LEVEL_USB_AF_INPUT to ts590.c
More rigs to be updated for this
2023-10-18 16:47:29 -05:00
Mike Black W9MDB 534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00