Wykres commitów

79 Commity (789d863f9779160ea6b204e84db1aaae29a702ae)

Autor SHA1 Wiadomość Data
George Baltz N3GB 609065775c Update some of rigs/* to use pointer to cache
Issue #536
2024-03-08 21:00:19 -05:00
George Baltz N3GB 1e552b557f Convert rigs/dummy/ 2024-02-05 11:28:31 -05: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
Mikael Nousiainen 2358cba6a4 Fix issues with Dummy rig VFOs. Fix Yaesu ST split command. 2024-01-04 10:13:43 +02:00
Mikael Nousiainen 1cc08d2f00 Merge upstream and fix conflicts 2023-12-19 18:03:12 +02:00
Mikael Nousiainen 93b61d2c5e Fix dummy rig bugs. Improve FTDX101/FTDX10 ST split command logic. 2023-12-19 00:08:35 +02:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mikael Nousiainen 7d5f540b9c Fix bugs in dummy rig. Report errors (incl. timeouts) from icom_get_powerstat(), because the timeout reason is often something else than rig being powered off. Check for power status changes in rigctld/rigctl command loops. 2023-11-20 10:15:45 +02:00
Mikael Nousiainen 8ab8aafe48 Streamline VFO targeting and split functionality. Rewrite Icom backend routines to always avoid VFO swapping is the rig supports the 'targetable' commands 0x25 and 0x26. Work in progress. 2023-10-29 10:28:36 +02: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
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 a9b3d62f41 Fix cppcheck warning 2023-08-02 22:58:22 -05:00
Mike Black W9MDB 6a4e31f890 Fix cppcheck warnings 2023-08-02 17:19:51 -05:00
Mike Black W9MDB 04c65d9d7e Add Quisk as a rig 2023-07-09 23:06:05 -05:00
Mike Black W9MDB d9b936618c Remove VFO_TX from dummy 2023-06-11 23:34:15 -05:00
Mikael Nousiainen 92215dfd2a Fix bugs in \send_raw command and add possibility to specify any command terminator character. Add \stop_morse to Dummy rig. 2023-05-12 10:01:32 +03:00
Mikael Nousiainen 4b8de5f96d Change float level granularity formatting to use %f to avoid E notation. Fix AGC_TIME level range for Icom rigs. Fix listing of AGC levels in \dump_caps. Add \stop_morse and \wait_morse in \dump_caps. Add simulation of responses in \send_cmd_rx and \send_raw for dummy rig (and if rig port type is NONE). Fix other minor issues. 2023-05-10 20:53:18 +03:00
Daniele Forsi IU5HKX 52be0797d8 [rigs/*] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX d09c048161 [rigs/*] Remove unused include of config.h 2023-02-14 19:57:48 +01:00
Mike Black W9MDB 41a8a50e65 Add SDR# rig for use with SDR#'s gpredict pluigin -- can only get/set freq 2023-01-27 17:31:24 -06:00
Mike Black W9MDB 50a14bb08f Add ACLog rig -- should work with WSJT_X and Fake It mode -- mode setting is a bit odd though might need None for mode in WSJT-X and manually set rig 2023-01-20 12:47:52 -06:00
Mike Black W9MDB 72e86bf18b Fix logic in dummy.c 2022-11-28 11:27:40 -06:00
Mike Black W9MDB 6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB 454f640237 Fix dummy_set_split_freq 2022-11-06 15:58:30 -06:00
Mike Black W9MDB a83eb3bf42 astyle files for 4.5 release 2022-07-27 17:16:17 -05:00
Mike Black W9MDB 027b3ee0a5 Fix valgrind warning uninitialized value in dummy.c for priv->split 2022-07-27 10:03:20 -05:00
Mike Black W9MDB 0c89bcd89f Fix possible uninitialized access in dummy.c 2022-07-27 07:24:19 -05:00
Daniele Forsi IU5HKX 34018600ee Remove unused includes of math.h 2022-07-23 18:39:55 +02:00
Mike Black W9MDB d0c615ae43 Added EPOWER error return when rig is powered off
Only set_powerstat will be accepted and rig will be polled for powerstat
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 15:41:23 -05:00
Mike Black W9MDB 6f9d057162 astyle files getting ready for release 2022-05-13 16:50:13 -05:00
Mike Black W9MDB e76cd71454 Add RIG_PASSBAND_NOCHANGE to dummy device 2022-05-10 12:20:18 -05:00
Mike Black W9MDB 7cf8ea393a Balance RETURNFUNC 2022-02-19 16:35:48 -06:00
Mike Black W9MDB dabf1f2c61 Revert "Balance RETURNFUNC"
This reverts commit 8b40735752.
2022-02-19 16:29:59 -06:00
Mike Black W9MDB 8b40735752 Balance RETURNFUNC 2022-02-19 16:29:31 -06:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB 7b4b7ee630 Add a depth count to debug statements to help understand calling sequences
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB 9646895258 Disable tci rig as it is not functional at all yet
https://github.com/Hamlib/Hamlib/issues/736
2022-01-26 08:25:46 -06:00
Mike Black W9MDB a277d7ab9b Changes changing hamlib_port_t to pointer are not backwards compatible 2022-01-25 17:41:26 -06:00
Mike Black W9MDB 9e86e62238 Enable async I/O by default
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB 8829a8011d Change sprintf to snprint in dummy directory
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 12:17:34 -06:00
Mike Black W9MDB 01b7f81119 Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Dawid SQ6EMM dfa6b730d9 Allow \send_voice_mem to be used over network and tested in dummy rig 2021-12-20 16:50:13 +01:00
Mike Black W9MDB 465d14ff30 Change dummy ptt_type to None
https://github.com/Hamlib/Hamlib/issues/888
2021-12-13 09:07:40 -06:00
Mike Black W9MDB a1c8493c62 First cut at clock setting for IC7300/7800/785x/9700
https://github.com/Hamlib/Hamlib/issues/851
2021-12-01 11:50:33 -06:00
Mike Black W9MDB 8a443a8667 First draft of TCI backend
https://github.com/Hamlib/Hamlib/issues/736
2021-11-25 15:47:45 -06:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Wouter van Gulik 9aec383329 Simplify get_ant by having setting to unknown by default.
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Mike Black W9MDB 4bfd71f91f Fix Icom split and implement reverse split
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB 21ade6493a Add MainA/B and SubA/B to dummy rig for testing
Add debug cache display for same when applicable
https://github.com/Hamlib/Hamlib/issues/730
2021-07-05 11:24:07 -05:00
Mike Black W9MDB 716fbb7643 Fix MAIN_B pointing to priv->vfo_mainb in dummy.c 2021-07-02 16:23:30 -05:00