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
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
George Baltz N3GB
84ca35f19e
Fix inverted VHF/UHF BANDSELECT labels
2023-10-02 12:55:01 -04: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
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
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
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
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
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