Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
5259102cf1
Add detection of set_bwA to flrig.c
2022-05-04 17:46:40 -05:00
Mike Black W9MDB
cc7d9cd78d
Remove redundant code in flrig.c
2022-05-04 15:43:01 -05:00
Mike Black W9MDB
8cfa1f2f7d
Fix flrig setting bandwidth on VFOB
2022-05-04 12:49:08 -05:00
Mike Black W9MDB
19c17eb5ba
Add get_split to flrig_open
2022-05-03 12:02:57 -05:00
Mike Black W9MDB
a006636ee3
Fix flrig_cat_string
2022-04-25 15:27:13 -05:00
Mike Black W9MDB
7cc2550ee3
Export flrig_cat_string for DLL
2022-04-25 12:47:27 -05:00
Mike Black W9MDB
fbd7893192
Add cat_string to the raw send command in rigctl for FLRig
2022-04-25 12:42:27 -05:00
Mike Black W9MDB
09e5d4089c
Update hamlib_check_rig_caps
2022-02-11 11:21:49 -06:00
Mike Black W9MDB
5976e6a65f
Fix spelling error in flrig.c
2022-02-05 17:13:47 -06:00
Mike Black W9MDB
278693ea36
Fix flrig_get_split_vfo to return tx_vfo=RIG_VFO_A when split=4
2022-02-05 17:13:02 -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
3498fb1cf6
Balancing RETURNFUNC2 statements
2022-02-02 23:33:28 -06:00
Mike Black W9MDB
a20a91e381
astyle flrig.c
2022-02-02 23:25:17 -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
0588d3be3a
Add int and string to allowable xml tokens in flrig.c
2022-01-29 22:45:42 -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
f04aa34876
Add set_transaction functions to flrig.c
...
https://github.com/Hamlib/Hamlib/issues/942
2022-01-23 09:02:03 -06:00
Mike Black W9MDB
52ca1f5dfa
Change sprintf to SNPRINTF in dummy
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:16:45 -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
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
b11f2e4bbf
Reduce # of retries in FLRig -- don't need as many and was causing timeouts in remote rigctld control
2021-12-06 10:22:37 -06:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
4c1cbf0aa9
Change flrig FSK/PSK modes to use RTTY instead of PKTUSB
...
https://github.com/Hamlib/Hamlib/issues/823
2021-10-14 10:50:06 -05:00
Mike Black W9MDB
e49693af08
Update version in flrig.c to match format of all others
2021-09-18 06:00:35 -05:00
Mike Black W9MDB
1a7a7a5ae7
Fix flrig modeMap loop to ignore NULL entries
...
https://github.com/Hamlib/Hamlib/issues/798
2021-09-14 11:29:07 -05:00
Mike Black W9MDB
8ab0f0167d
Make flrig compatible with older versions e.g. 1.3.42 on RPi
...
https://github.com/Hamlib/Hamlib/issues/798
2021-09-14 10:02:21 -05:00
Mike Black W9MDB
e21e9b3304
Reduce if clause in flrig.c
2021-09-11 05:33:22 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Mike Black W9MDB
49038c78be
Add a check in flrig to protect strdup from a NULL pointer
...
https://github.com/Hamlib/Hamlib/issues/765
2021-08-14 17:56:32 -05:00
Mike Black W9MDB
0afa000de1
Fix xml tag in flrig.c
2021-07-22 07:04:53 -05:00
Mike Black W9MDB
c3b4eafc2c
Add new xml tag to flrig.c
2021-07-21 23:02:14 -05:00
Mike Black W9MDB
37b16fa283
Improved FLRig error message when requesting a mode that FLRig does not have
2021-06-07 09:32:57 -05:00
Mike Black W9MDB
94410f7a71
Increase FLRig timeout to 5 seconds
2021-05-11 11:59:20 -05:00
Mike Black W9MDB
ec813ae57d
Fix cppcheck warning in flrig.c
2021-04-12 09:31:10 -05:00
Mike Black W9MDB
3ef3a255ff
Remove more verbosity from flrig.c
2021-04-11 17:34:53 -05:00
Mike Black W9MDB
9a0e9c370a
Reduce flrig verbosity a bit
2021-04-11 16:56:04 -05:00
Mike Black W9MDB
89c434cc26
Remove comment from flrig.c
2021-04-09 22:53:06 -05:00
Mike Black W9MDB
9644825308
Update flrig.c to use new set_verify cmds for freq & ptt
2021-04-09 22:47:56 -05:00
Mike Black W9MDB
dae869f390
Fix punctuation error in flrig.c
2021-04-09 17:33:18 -05:00
Mike Black W9MDB
eb63b1c9ea
Enable set_ptt_fast in flrig.c -- Fixed in 1.3.54.17
2021-04-09 17:30:35 -05:00
Mike Black W9MDB
609c9ad8d5
Temporarily disable fast_set_ptt in flrig.c -- not working in FLRig 1.3.54.14
2021-04-08 16:16:35 -05:00
Mike Black W9MDB
def3aee7a6
Add set_ptt_fast capability to flrig.c as default if available
2021-04-08 14:29:40 -05:00
Mike Black W9MDB
4c8dc6e245
Fix flrig vfo inaccessible in flrig_set_split_freq_mode
...
https://github.com/Hamlib/Hamlib/issues/651
2021-04-07 08:26:18 -05:00
Mike Black W9MDB
bbc8e00074
astyle files
2021-04-04 12:50:07 -05:00