Mike Black W9MDB
c2cb94e412
Change sprintf to snprint in tests
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 00:00:44 -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
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
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05: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
Michael Black W9MDB
1fdbebd7b2
Fix rigctlcom VFOB set_freq
...
https://github.com/Hamlib/Hamlib/issues/620
2021-03-20 11:51:41 -05:00
Michael Black W9MDB
bb43078b25
More work on SATMODE for rigctlcom.c
...
https://github.com/Hamlib/Hamlib/issues/620
2021-03-20 11:21:11 -05:00
Michael Black W9MDB
dee6bd6524
Add SA command handling to rigctlcom.c
...
https://github.com/Hamlib/Hamlib/issues/620
2021-03-19 14:59:42 -05:00
Michael Black W9MDB
ab0ae7d6b1
https://github.com/Hamlib/Hamlib/issues/618
2021-03-19 11:19:15 -05:00
Michael Black W9MDB
1fcb9404b9
More changes to support macro renaming
2021-03-06 14:59:57 -06:00
Michael Black W9MDB
f454cff0b7
Add check for -s switch on all utils to ensure integer is entered
2020-07-01 08:52:44 -05:00
Michael Black W9MDB
65de309e70
Fix rigctlcom to work with Main/Sub rigs too
...
https://github.com/Hamlib/Hamlib/issues/302
2020-06-23 22:57:36 -05:00
Michael Black W9MDB
a9d43a1fbe
Remove rig_flush from rigctlcom.c -- OmniRig not happy being flushed
...
https://github.com/Hamlib/Hamlib/issues/273
2020-06-23 17:19:48 -05:00
Michael Black W9MDB
1be5c71e76
More conversions to rig_flush
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:39:11 -05:00
Michael Black W9MDB
a3c4eb9ee0
Fix cppcheck warnings
2020-06-21 22:31:31 -05:00
Michael Black W9MDB
f71c12da94
astyle files
2020-06-09 22:37:03 -05:00
Michael Black W9MDB
207c50f36b
Fix rigctlcom split indication in IF generation
...
Add some debug to see the cmd being requested by the client
https://github.com/Hamlib/Hamlib/issues/272
2020-06-01 12:11:15 -05:00
Michael Black W9MDB
2813f0ef63
astyle files
2020-05-11 22:39:10 -05:00
mdblack98
f8321a36f4
Fix cppcheck warnings and fill out unused RIG_LEVEL items
2020-05-05 23:33:40 -05:00
mdblack98
3794bc5a0a
Fix cppcheck warnings
2020-05-05 09:38:36 -05:00
Michael Black
ee87d5e6df
Fix buffer overrun in all utilities
...
Change MAXCONFLEN to 1024 bytes for some future proofing
2020-04-01 14:51:50 -05:00
Michael Black
8fd5e16363
astyle files
2020-03-26 11:11:46 -05:00
Michael Black
73b4257cfb
cppcheck-suppress rigctlcom.c
2020-03-24 09:58:04 -05:00
Michael Black
bda5feb1bd
More cppcheck changes
2020-03-23 10:13:02 -05:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
7ee3a702f5
Replace all usleep with hl_usleep
...
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Michael Black
520066e3e7
Fix cppcheck warnings in rigctlcom.c
2019-12-24 15:41:57 -06:00
Michael Black
9882448494
Fix cppcheck warnings in rigctlcom.c
2019-12-19 11:59:12 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
0207b45ff8
Fix cppcheck warnings in rigctlcom.c
2019-12-08 23:39:56 -06:00
Michael Black
e6264c4f6f
Add PKT mode translations to rigctlcom
2019-12-02 12:23:04 -06:00
Michael Black
1ceae3a3f3
Remove debug from rigctlcom.c
2019-12-01 09:13:35 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Bill Somerville
d931bd4e18
Move unnecessary global and file static variables to the stack
2019-08-29 00:39:39 +01:00
Michael Black
3dce8b01d1
Make rigctld thread safe for vfo_mode and ext_resp and change other globals to thread_local for future reference
2019-07-31 16:03:46 -05:00
Michael Black
5f43509d82
astyle format of rigctlcom.c
2019-02-13 15:23:27 -06:00
Michael Black
585e79bdf2
Add ability for rigctlcom to work with Ham Radio Deluxe
2019-02-13 15:22:54 -06:00
Michael Black
3937de0452
Fix segfault in rigctlcom with no args and improve usage
2019-01-21 08:10:43 -06:00
Michael Black
ccd3ca48c6
New utility to allow non-hamlib-aware programs to use hamlib rigs via COM ports
...
Virtual com ports providing a TS-2000 Emulator
Example connecting N1MM or such to FLRig via COM5/COM6 virtual COM pair
rigctlcom -m 4 -R COM5 -S 115200
N1MM connects to COM6 TS-2000 115200 8N1
2019-01-20 19:33:22 -06:00