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.
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?
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