Commit Graph

28 Commits

Author SHA1 Message Date
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