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
Mike Black W9MDB
4e0107e988
Make 100Hz freq truncation work on 32-bit compilers in dummy.c
2021-07-01 07:22:02 -05:00
Mike Black W9MDB
76527afba5
Block 100Hz resolution logic from dummy.c
2021-06-30 13:01:45 -05:00
Mike Black W9MDB
ed09f54483
Fix dummy rig current_vfo where non vfo mode VFOB was not working
...
https://github.com/Hamlib/Hamlib/issues/721
2021-06-13 22:51:55 -05:00
Mikael Nousiainen
840333266f
Add spectrum scope caps for dummy rig. Fix duplicate definition for IC-785x.
2021-06-05 21:48:10 +03:00
Mike Black W9MDB
7f60e1fcb0
Fix dummy rig to recognize Main/Sub VFOS -- this fixes "M CW 500"
...
Fix rig.c set_mode to recognize curr_vfo correctly
https://github.com/Hamlib/Hamlib/issues/689
2021-05-04 14:35:34 -05:00
Mike Black W9MDB
0b203c7e8f
Add transceive ability to dummy rig
2021-04-28 17:38:54 -05:00
Mike Black W9MDB
b0e006ce6c
astyle files
2021-04-21 23:48:29 -05:00
Mike Black W9MDB
7d79b59bd7
When vfo twiddling is being done set_freq calls will be skipped
...
https://github.com/Hamlib/Hamlib/issues/664
2021-04-15 11:47:58 -05:00
Mike Black W9MDB
c25e8f9e5b
Add TX/RX VFOs to dummy.c
2021-04-06 07:22:19 -05:00
Michael Black W9MDB
3bc39aaec1
astyle files is preparation for 4.2 release
2021-03-15 17:51:22 -05:00
Michael Black W9MDB
1ba72fa725
Improve caching
...
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB
88318e19c9
Add additional VFOS to dummy.c for cache testing
...
https://github.com/Hamlib/Hamlib/issues/606
2021-03-13 15:32:26 -06:00
Michael Black W9MDB
c3a1b489b7
Add return code to debug statements
...
Remove some RETURNFUNC that don't work with this change
2021-03-05 11:51:56 -06:00
Michael Black W9MDB
82126a4f09
Phase 1 of changing sprintflst functions to use buffer length
...
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
0f9a7fac07
Add -RIG_EINVAL when set_level > 1.0
2021-02-19 08:44:02 -06:00
Michael Black W9MDB
53b18d4ec4
Add Main/Sub vfos to dummy.c for testing
2021-02-18 23:45:14 -06:00
Michael Black W9MDB
b35191d6ad
Fix extra LF in rigerror output
...
ENTERFUNC/RETURNFUNC in dummy.c
https://github.com/Hamlib/Hamlib/issues/514
2021-02-10 22:58:45 -06:00
Michael Black W9MDB
ca8ed30f8f
astyle files
2021-01-09 10:13:17 -06:00