Commit graph

23 commits

Author SHA1 Message Date
George Baltz N3GB
2f3d01728b Remove all traces of FTDX3000DM
Per Yaesu Tech support, treat all FTDX-3000 models the same. See comments
  in PR #2039.

While removing references to FTDX-3000DM, I happened across simft818.c.
  It set a new low for simulators.  It is completely wrong - it uses
  new CAT protocol, while the rig uses the old 5-byte binary version.
  If you want to simulate the FT-818, start over with simft817.c as
  the basis, because this one is gone.
2026-04-22 12:51:36 -04:00
George Baltz N3GB
c375832f62 Make a couple more simulators barely functional
Allow simftdx1200.c and simftdx3000.c to at least start, go
  through the initial setup/open, have mode and width do something.
Fix field lengths, missing commands, incorrect data, etc.

simftdx3000.c shows an interesting problem - the FTDX3000 CAT manual
  says the rig should return 0462 for the ID command - hamlib thinks
  that is a FTDX-3000DM, the low power version.  Maybe they're backwards??
  Does anybody have a real one to find out?
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
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
325277f269 Add USB_AF and USB_AF_INPUT for FTDX101D/MP 2023-10-24 23:07:33 -05:00
Mike Black W9MDB
4175929a48 More changes from cppcheck 2023-10-06 22:59:55 -05:00
Mike Black W9MDB
ca62509013 Fix simftdx3000.c 2023-05-19 23:46:14 -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
d34983f495 Fix strcmp duplicates iun ftdx simulators 2023-03-26 17:03:27 -05:00
Mike Black W9MDB
9eddf62687 Update simftdx3000.c 2022-12-08 22:37:10 -06:00
Mike Black W9MDB
2fc6344d54 Update simftdx3000.c 2022-12-06 23:27:28 -06:00
Mike Black W9MDB
67b933ddb5 Update astyle for 4.5 release 2022-09-20 08:46:28 -05:00
Mike Black W9MDB
4c2a68c94b Add simftdx3000 2022-08-26 22:11:48 -05:00