Wykres commitów

997 Commity (f2f947c51d45f5596afd0b8b3c8df7c3d88d93dd)

Autor SHA1 Wiadomość Data
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
Mike Black W9MDB e68b6f98b5 Add RIG_CONF_INT
Fix AGC_LAST value thanks to cppcheck
2023-10-08 17:18:16 -05:00
Mike Black W9MDB 4175929a48 More changes from cppcheck 2023-10-06 22:59:55 -05:00
Mike Black W9MDB d4cf8a04d7 Change iofunc.c to read FLRig more efficiently
https://github.com/Hamlib/Hamlib/issues/1394
2023-10-04 17:30:02 -05:00
Mike Black W9MDB 3b5f7a6dcf Add and fix some cppcheck suppress items
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
George Baltz N3GB 84ca35f19e Fix inverted VHF/UHF BANDSELECT labels 2023-10-02 12:55:01 -04:00
Mike Black W9MDB 4f65288c32 Fix multicast_stop DLL export
https://github.com/Hamlib/Hamlib/issues/1090
2023-09-14 10:01:06 -05:00
Mike Black W9MDB ee807a7541 Prevent multicast from doing rig queries at all for now -- threading contention needs to be addressed
https://github.com/Hamlib/Hamlib/issues/695
2023-09-14 08:55:21 -05:00
Mike Black W9MDB c07e40e18b Fix memory channgle in FTDX101 and FTDX101MP
Add tag  data to memsave.c
Fix  RVF error for Elecraft K3
2023-09-08 17:05:34 -05:00
Mike Black W9MDB b40da0f6b0 Increase send_morse size to use maximum for rigs or 20 chars (if morse_qsize unknown)
This will still allow for up to 1023 characater to queue up.
No guarantees on which rigs allow for this queuing though.
Kenwood rigs can at least find the buffer status to wait for room but not all rigs do.
https://github.com/Hamlib/Hamlib/issues/1368
2023-08-19 12:36:07 -05:00
Mike Black W9MDB 3814f2dadf Add set_voice_mem and stop_voice_mem for K3/K3S/K4
https://github.com/Hamlib/Hamlib/issues/1367
2023-08-18 16:49:35 -05:00
Mike Black W9MDB 0edd1df223 Add more KEYERTYPE implementaions to Icom rigs 2023-08-18 00:04:59 -05:00
Mike Black W9MDB 8c63fdeafc Add KEYERTYPE for IC-7300, IC-705, IC-9700
https://github.com/Hamlib/Hamlib/issues/1363
2023-08-17 17:52:03 -05:00
Mike Black W9MDB e887152407 Fix parm_gran
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -05:00
Mike Black W9MDB d7d450df49 Add parm BANDSELECT for Yaesu rigs
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows  bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mike Black W9MDB c251a075ab Fix MAC build 2023-07-30 09:49:10 -05:00
Mike Black W9MDB ddb128bbf7 Make fifo.c thread safe 2023-07-30 07:55:28 -05:00
Mike Black W9MDB bbdd1dc312 Add new rig FT9000Old version that does not have VS command 2023-07-24 22:41:00 -05:00
Mike Black W9MDB 9ad070c33f Add gpio command to rigctl(d) usable with pttport setting CM108
e.g. to set gpio2 on use 'gpio GPIO2 1" and off "gpio GPIO2 0"
Should work with GPIO1-4
New API funcions rig_cm108_get_bit rig_cm108_set_bit
https://github.com/Hamlib/Hamlib/issues/1121
2023-07-22 10:32:25 -05:00
Mike Black W9MDB 56ad3ac1ef Update SLICE information in rig.h 2023-07-17 17:42:34 -05:00
Mike Black W9MDB fdc074e1b8 Rename FIFO to FIFO_RIG to avoid collision with freedv FIFO 2023-07-10 06:57:11 -05:00
Mike Black W9MDB 04c65d9d7e Add Quisk as a rig 2023-07-09 23:06:05 -05:00
Mike Black W9MDB d22653a69d Fix stop_morse to work with new send_morse 2023-07-09 17:04:39 -05:00
Mike Black W9MDB e9fd0fba40 send_morse now uses a fifo queue and can send up to 1024 chars in one message
it relies on the rig backend returning an error when the rig's CW queue is full
2023-07-09 16:51:33 -05:00
Mike Black W9MDB bcad19d563 Add morse_data items 2023-07-07 22:34:45 -05:00
Mike Black W9MDB 25ad13cea9 Add BG2FX FC4/C/CR/L 2023-06-28 12:48:30 -05:00
Mike Black W9MDB 1c2033c17f Add comment to rig.h about not modifying callbacks structure 2023-06-18 07:45:45 -05:00
Mike Black W9MDB ebedbbbfb5 Clean up debug a bit 2023-06-09 22:51:54 -05:00
Mike Black W9MDB 224d68d1ac Speed up Malachite normal operations with 125ms post write requirement instead of 400ms
400ms needs for band changes on Malachite
Fix BUILTINFUNC calls to compile correctly -- this is for debugging only
2023-06-08 17:34:39 -05:00
Mike Black W9MDB 05cf554671 This seems to fix the DLL backwards compatiblity now -- more testing needed
Revert "Remove timeout_retry as it broke DLL compatibility"

This reverts commit 1c08cd7a64.
2023-06-07 07:26:39 -05:00
Mike Black W9MDB 92363f6b0c Re-add field to rig_state for DLL alignment
https://github.com/Hamlib/Hamlib/issues/1299
2023-06-06 15:12:52 -05:00
Mike Black W9MDB eb97c7c107 Change anytone.c to use bluetooth protocol
Update some things to keep debug quiet during thread operations in anytone.c
2023-06-04 15:56:01 -05:00
Mike Black W9MDB a6de41e206 rigctld can now see RIG_LEVEL values correctly
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-03 16:50:30 -05:00
Mike Black W9MDB fd86001ead Revert "Remove multicast from rig_state structure as it breaks backwards compability on DLL with WSJT-X"
This didn't fix the DLL compatibility problem
This reverts commit 77d9d11f92.
2023-05-31 07:27:34 -05:00
Mike Black W9MDB 5745457d7f Fix anytone thread deletion 2023-05-30 22:10:19 -05:00
Mike Black W9MDB 3b45dfa4b8 Add AnyTone D578UVIII
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 11:04:56 -05:00
Mike Black W9MDB 77d9d11f92 Remove multicast from rig_state structure as it breaks backwards compability on DLL with WSJT-X
This is due to the callbacks structure being realigned as the state structure expanded
https://github.com/Hamlib/Hamlib/issues/1299
2023-05-26 17:11:43 -05:00
Mike Black W9MDB 657e41fd09 Add rig_date_strget to DLL for WSJTX use 2023-05-22 09:32:04 -05:00
George Baltz N3GB e5f6b4e9d2 Fix the comment about float levels.
And now that the comment parses, fix the check to respect it.

I seriously doubt anyone will ever use this, but you never know.
2023-05-20 11:13:16 -04:00
George Baltz N3GB d27283ceb7 Update RIG_LEVEL_READONLY_LIST.
Drop duplicate RFPOWER_METER, add TEMP_METER.
2023-05-20 11:13:16 -04:00
Mike Black W9MDB 1c08cd7a64 Remove timeout_retry as it broke DLL compatibility 2023-05-19 23:50:57 -05:00
Mikael Nousiainen a43cd80799 Set default timeout_retry value to 1 and allow per-rig override of the setting. Disable timeout_retry during serial flush to avoid slowing down flushes. 2023-05-14 21:13:39 +03:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mikael Nousiainen c75fdeb3e4 Make retries in case of read timeout optional and configurable via set-conf option. When not absolutely necessary, they will significantly slow down flushing and normal serial communications with a rig 2023-05-14 11:52:48 +03:00
Mike Black W9MDB 006ca07b3c Fix multicast.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:44:08 -05:00
Mike Black W9MDB 75b1b20fa2 Remove dead code from multicast.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:41:38 -05:00
Mike Black W9MDB c2d1f04507 Add comments about multicast mutex
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 14:54:43 -05:00
Mike Black W9MDB 26aa57aded Add rig_lock and pthread mutex for multicast
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 08:11:50 -05:00
Mikael Nousiainen e89687668d Add flushing of rig port, including async data pipes, after \send_raw and \send_cmd to drain any extra rig responses 2023-05-13 00:04:37 +03:00
Mike Black W9MDB 58e6ee3553 I think we can work without config.h being included in rig.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 12:00:53 -05:00
Mike Black W9MDB 04e10da6e3 Move multicast.h to include/hamlib and fix some other things
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 11:46:54 -05:00
Mike Black W9MDB a4c10c3206 Fix cppcheck warnings 2023-05-08 12:16:51 -05:00
Mike Black W9MDB 62b9a12e89 Add multicastserver test
Fix compile warnings on mingw
2023-05-07 17:17:50 -05:00