Commit graph

27 commits

Author SHA1 Message Date
George Baltz N3GB
0b2b91f538 Get rid of all 'mode_t' declarations
Use rmode_t for real hamlib modes, appropriate types for others.
2026-05-10 12:11:01 -04:00
Daniele Forsi IU5HKX
9dd0009f9e Remove unused define 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX
151549bb3b Remove disabled code
None of these simulators does multicast networking.
2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX
790820ab22 Refactor to remove code duplication of one version of getmyline() 2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX
df7fbbec9b Have IWYU fix the includes 2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
98a81a5074 Replace magic number with a defined constant
The same constant is used by memset() in getmyline().
2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
7fc222dc88 Remove perror()
Makes getmyline() identical to the other simulators.
2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
ecece62828 Refactor to remove code duplication of openPort()
The code wasn't indented in simic7300.c and simic7700.c but it was
identical.
2025-08-03 09:35:02 +02:00
Daniele Forsi IU5HKX
17b301a371 Add missing includes
Automatically added by IWYU.
2025-08-02 13:14:35 +02:00
Daniele Forsi IU5HKX
e8467032ad Remove unused includes
Found with IWYU.
2025-08-02 13:13:10 +02:00
Nate Bargmann
79f8b1cde8
Merge HitHub PR #1811 2025-07-22 22:11:06 -05:00
Daniele Forsi IU5HKX
0267068220 Fix ambiguity between system includes and Hamlib includes 2025-07-22 23:33:57 +02:00
George Baltz N3GB
062f260c07 Clean up some cppcheck gripes in simulators/ 2025-07-21 23:07:56 -04:00
George Baltz N3GB
9f43659831 Fix gain controls in simts890.c
And a couple of other hiccups found by cppcheck
2025-05-29 05:41:39 -04:00
Daniele Forsi IU5HKX
3448c735b0 Remove non-working compilation instructions from comments
Some instructions were a copy and paste error, some did not link
to Hamlib. Compile all simulators with: make -C simulators check
or compile a single simulator replacing "check" with the name of
the simulator.

Fixed with:
perl -pe 's,// gcc.*\n,,' -i *.c
perl -pe 's,// On mingw.*\n,,' -i *.c
2025-04-30 19:34:22 +02:00
Daniele Forsi IU5HKX
037c4953ed Fix name of function in error messages
Fixed with:
perl -pe s/pstname/ptsname/ -i *.c
2025-04-30 19:22:36 +02:00
Mike Black W9MDB
9f87279b0b Update simts990.c 2024-02-22 09:23:25 -06:00
Mike Black W9MDB
c1f8b091ab Update simts990.c to work with FLRig 2024-02-22 08:02:41 -06:00
Mike Black W9MDB
434f399d12 Update simulators 2024-02-01 12:38:12 -06:00
Mike Black W9MDB
e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB
8940d91522 Fix CPU usage in simulators when client quits 2023-11-29 17:04:56 -06:00
Mike Black W9MDB
bb87d92f43 Update simts950 and simts990 2023-11-18 10:39:58 -06:00
Mike Black W9MDB
c1780b19f4 Add wireless detection for multicast address -- possible fix for UDP error messages by using 127.0.0.1 instead of IN_ADDR_ANY
https://github.com/Hamlib/Hamlib/issues/1409
2023-11-16 09:05:29 -06:00
Mike Black W9MDB
5059ec8cd6 Add SWR for TS990
https://github.com/Hamlib/Hamlib/issues/1423
2023-11-10 10:55:31 -06:00
Mike Black W9MDB
534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB
4175929a48 More changes from cppcheck 2023-10-06 22:59:55 -05:00
Mike Black W9MDB
90f0ffcdc9 Add simts950 simts990 2023-08-03 08:14:15 -05:00