Wykres commitów

11990 Commity (ef0b7e30bd6fa770a2bccd27cd5e8b554a7dd764)

Autor SHA1 Wiadomość Data
Mark J. Fine ef0b7e30bd Reverted CW Pitch value<->knob conversion for non-ICR75 radios. Apparently R75 is the only one using the set mode command.
Edited out all non-essential code commenting that was done during local testing.
2025-06-26 13:38:23 -04:00
Mark J. Fine 82dd540d3a Part 2 of Issue#1775: Adds optional wrappers for rigs that need to use the alternate AGC mapping originally specified in icom.c. Instructions for employment are provided within icom_alt_agc.c. 2025-06-26 13:04:58 -04:00
markjfine 6dffee33df
Correct CWPitch set/get for Icom radios
Icom has two confusing ways to set/get CW Pitch. The first way is to read/write the knob setting using CI-V command 14 subcommand 9. The second way is just to set/get the actual value via mode command 10.

At some point the commands in hamlib changed from the former to the latter, but never adjusted the interpolation code of the former.

This commit fixes the set and get routines appropriately.
2025-06-23 17:46:06 -04:00
markjfine 8abe1ec8e4
Correct mapping of D_AGC values
Ref issue#1775 (part 1)
Corrected mapping of D_AGC values to currently enumerated AGC set. Will separately provide alternate mapping, if required, in backends that require it.
2025-06-23 17:07:17 -04:00
markjfine a09603fdd4
Correct and update mapping of D_AGC values
Ref issue#1775 (part 1)
Corrected mapping of D_AGC values to currently enumerated AGC set. Will separately provide alternate mapping, if required, in backends that require it.
2025-06-23 17:02:26 -04:00
markjfine dc12b01aed
Correct powerstat check
The R75 for some reason rejects the powerstat query and returns an error. Commented out  .get_powerstat to correct that. Applications should initially assume it's on, then internally track power status, since you can still turn it off.
2025-06-23 01:25:09 -04:00
Nate Bargmann 1441ce1839
Merge GitHub PR #1726 2025-06-22 07:04:07 -05:00
Daniele Forsi IU5HKX 66977a0f12 Explain unexpected results 2025-06-22 08:10:47 +02:00
Daniele Forsi IU5HKX 93c16bcdd5 Use the macros 2025-06-22 08:10:47 +02:00
Daniele Forsi IU5HKX 68633fa627 Add SWIG macros 2025-06-22 08:10:47 +02:00
Daniele Forsi IU5HKX c453cc788d Update README.developer 2025-06-22 08:10:47 +02:00
Daniele Forsi IU5HKX 16a0ad7bf1 Update autogenerated tests for Hamlib module 2025-06-22 08:10:44 +02:00
Daniele Forsi IU5HKX 5d1baed7e5 Test setting and getting meaningful values 2025-06-22 08:02:15 +02:00
Daniele Forsi IU5HKX a42d18b59f Change the ignore list to explicitly accept symbols
This way the list documents all available symbols (even if in abbreviated form)
instead of those not available.
2025-06-22 08:02:15 +02:00
Daniele Forsi IU5HKX ec8eaab1f5 Enable assert Hamlib.rigerror()
Pull request #1727 has been merged so now the test succeeds.
2025-06-22 08:02:15 +02:00
Daniele Forsi IU5HKX 5915f17322 Update autogenerated tests for Rot object 2025-06-22 08:02:11 +02:00
Daniele Forsi IU5HKX 5c58c99207 Implement Rot.get_ext_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 6fd6e94d3b Implement Rot.get_ext_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX e34026707c Implement Rot.get_ext_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX be1a558e0d Implement Rot.set_ext_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX f7710d96b0 Implement Rot.set_ext_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 20960b726e Implement Rot.set_ext_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 5d142de5cd Implement Rot.get_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 8093f05c65 Implement Rot.get_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 94774a63d9 Implement Rot.set_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX cfca827f5e Implement Rot.set_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX bb79bbc278 Implement Rot.get_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX cc0dbc9efd Implement Rot.set_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 5a5279492e Mark asserts that are currently failing 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX a172b6001f Add tests for the Rot object 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 4b64ea3169 Update autogenerated tests for Amp object 2025-06-22 07:57:55 +02:00
Daniele Forsi IU5HKX f7d38f92ca Implement Amp.get_level 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX 4e415f412b Implement Amp.get_freq 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX 02f7b96163 Implement Amp.get_powerstat 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX 98fdcf130f Add tests for the Amp object 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX 57b23e7efc Add autogenerated test scripts for pytest 2025-06-22 07:38:20 +02:00
Daniele Forsi IU5HKX 464450384d Add a Python script to autogenerate some tests for pytest 2025-06-22 07:33:32 +02:00
George Baltz N3GB 8d0e67f017 Make separator character local to rigctld connection
Response to rigctld command was being corrupted by other threads
Fixes issue #1748
2025-06-21 04:39:11 -04:00
George Baltz N3GB 65d922ce53 Add -S to rigctld man page 2025-06-21 04:39:11 -04:00
George Baltz N3GB 0740af61a3 Fix memory leak in rigctl_parse.c
strip_quotes() orphaned 1 or 2 strings per call.
2025-06-21 04:39:11 -04:00
markjfine aa39d6a618
Fixed jrc_set_chan
set_chan() was correctly creating and sending the command, and returning RIG_OK. However, radio was actually ignoring it because command wasn't terminated with a CR. This is now corrected.
2025-06-20 18:03:22 -04:00
Nate Bargmann b25ba02aca
Update news on Kenwood command terminator fix 2025-06-17 21:51:26 -05:00
Lars Kellogg-Stedman 85c9e15eac
Un-break hamlib on TM-D710/TM-V71/etc
Commit d1e0e3f introduced a `remove_nonprint` method that breaks hamlib on
all TM-D710/TM-V71A devices by erroneously removing the command termination
character (`\r`).

This commit adopts a solution proposed by @GeoBaltz that only runs
`remove_nonprint` if the command termination character itself is printable.

Resolves: #1767 #1698
2025-06-17 22:15:07 -04:00
Daniele Forsi IU5HKX aca0b2d1c6 Ignore files generated when building for Windows 2025-06-15 23:18:24 +02:00
Daniele Forsi IU5HKX f2aaed6e09 Add missing type of the 4th argument of macro AMPMETHOD4 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX bca1d80d20 Move/add %immutable in their files
Makes the other files less dependent on being included by
hamlib.swg and more self-contained.
Also drop the symbols that are ignored.
2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 48c40dc326 Move includes in the files where they are used
Makes the other files less dependent on being included by
hamlib.swg and more self-contained.

Need to explicitly add %include for amplist.h, riglist.h,
rotlist.h to have the definitions picked up by SWIG even
if they are included by the main .swg file.
2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 4b0fa60e95 Remove ignored symbol 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX df0d434b27 Remove more symbols from Hamlib module using regexes 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX aa5c232def Rename and fix AMPMETHOD1VGET macro
Drop the V which means VFO and add missing parentheses.
2025-06-15 23:10:07 +02:00