Commit graph

27 commits

Author SHA1 Message Date
George Baltz N3GB
4b9908f981 Fix up another simulator.
Fix the ID command
Remove includes
Make the mode, width and narrow consistent.
2026-04-19 13:39:32 -04:00
Daniele Forsi IU5HKX
9dd0009f9e Remove unused define 2025-08-05 22:22:50 +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
f8881f9bb9 Remove disabled code
None of these simulators does multicast networking.
2025-08-03 22:09:04 +02:00
Daniele Forsi IU5HKX
9e51419ab8 Do not use relative paths for including rig.h
The Makefile adds all necessary include directories.
2025-08-03 16:09:51 +02:00
Daniele Forsi IU5HKX
df7fbbec9b Have IWYU fix the includes 2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
1568a6c7fc Refactor to remove code duplication of typedef enum nc_rigid_e
Also updates nc_rigid_e from rigs/yaesu/newcat.c
There where different versions of that enum in the simulators.
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
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
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
27838026f5 Update simft991.c and simic7300.c 2024-07-09 11:26:05 -05:00
Mike Black W9MDB
83fa835864 Update simft991.c 2024-01-23 15:52:32 -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
774e60895c Use new FLRig get_SWR method if available -- otherwise use old method 2023-11-10 11:55:30 -06:00
Mike Black W9MDB
4175929a48 More changes from cppcheck 2023-10-06 22:59:55 -05:00
Mike Black W9MDB
af86f44eac Fix CW morse infinite loop when error occurs RIG_EINVAL 2023-08-18 22:35:21 -05:00
Mike Black W9MDB
d7d450df49 Add parm BANDSELECT for Yaesu rigs
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows  bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mike Black W9MDB
f45aea8859 Add simicom9100.c and fix compilation of all others due to POSIX requirements 2023-05-08 12:04:08 -05:00
Mike Black W9MDB
558747fab3 Update simft991.c 2023-03-20 23:06:50 -05:00
Mike Black W9MDB
a47eba7ce4 Revert "Update NEWS"
This reverts commit 76a3ab19eb.
2023-01-24 11:25:49 -06:00
Mike Black W9MDB
76a3ab19eb Update NEWS 2023-01-24 11:23:47 -06:00
Mike Black W9MDB
4a487ffdcc Fix rigctld agc level readings -- allow for rig backedn to specify "RIG_AGC_NONE" now for clarity if desired
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-06 16:21:58 -06:00
Mike Black W9MDB
739f699067 Fix compile of simft991.c 2022-06-02 12:16:53 -05:00
Mike Black W9MDB
976cd61d2e Change snprintf to SNPRINTF in simulators
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:39:00 -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