Wykres commitów

26 Commity (c22392e5cd8654874b9e18bdc99d80293c0f28a8)

Autor SHA1 Wiadomość Data
George Baltz N3GB 10292fd338 Astyle simts890.c
Man, this is ugly!
2024-11-06 10:31:44 -05:00
George Baltz N3GB dd9696cf2d Add RIT/XIT commands (FS, RC, RD/RU, RF, RT, XT) to simts890.c
Add RIT/XIT data to IF command.
FS probably affects more places, TBD
Constify some strings
2024-11-06 10:30:06 -05:00
George Baltz N3GB d0b1925234 Annotate legacy (undocumented) commands in simts890.c
Allow them to be disabled
Relevant to issues #1380 and #899
2024-11-06 10:26:43 -05:00
George Baltz N3GB 27767fcfc1 Add traffic tracing to simts890.c 2024-11-06 10:22:43 -05:00
Mike Black W9MDB 5c269964c2 astyle files in preparation for release 4.6 2024-11-06 08:07:34 -06:00
George Baltz N3GB ab883be850 Make FR & FT commands aware of new vfo structs.
Get rid of vfo_rx & vfo_tx; find both thru vfoLR.
2024-10-30 10:01:10 -04:00
George Baltz N3GB da5e490b24 Clean up
Fix up NB commands.
Update VFO in case copy caused a band change.
Change MODEL to TYPE to match Kenwood nomenclature, make it
  easier to change via cli.
Comments
2024-10-30 10:01:10 -04:00
George Baltz N3GB eead7a572a Correct some split problems and connect VFO ops
Fix SP command to match real rig. Still needs work.
Add split status to IF response.
Add EC and VV commands, and explain that they are not what they're
  described to be.
2024-10-30 10:01:10 -04:00
George Baltz N3GB 671d45f337 Add DN/UP, FC, and UD commands to simts890.c
Yet more ways to apply a delta to a VFO
2024-10-30 10:01:10 -04:00
George Baltz N3GB 3445d94c8d Implement step sizes for some freq changes
Add a few more placeholders
Disable #include <hamlib/rig.h>; cleanse namespace
Typos and formatting
2024-10-30 10:01:10 -04:00
George Baltz N3GB d209c655b0 Change FA/FB/SF to use band memories
Change name of kvfo_t to denote it's a pointer
Add routines to convert freq to band and to get a new band's vfo
2024-10-30 10:01:10 -04:00
George Baltz N3GB 8bbf60d5c8 More VFOs as objects.
Add band memory objects.
Use them to implement BD/BU.
Default to Model K; E as compile time option

Would have been easier as real OOP objects; C syntax is clunky, and the
  parentheses look weird. Oh well.

Still TODO: tie all the other frequency settings into band memories. May
  need some storage rearrangement to make functions cleaner.
2024-10-30 10:01:10 -04:00
George Baltz N3GB 7aa739a97d Get rid of ghost commands.
They ain't coming back.
2024-10-30 10:01:10 -04:00
George Baltz N3GB ddf51e6b52 Convert VFOs into objects(structs).
Handle freq and mode as one object. Simplifies vfo handling, makes
  OM/SF commands easier, enables memory ops(WIP), mimics rig ops.

Remove more rig.h idioms. TODO: hl_usleep()
Minor typo and formatting cleanups
2024-10-30 10:01:10 -04:00
George Baltz N3GB 2b99b9d2ef Reduce dependency on include/hamlib/rig.h
Remove some of the rig.h idioms. Not quite clean-room status,
  but less chance of the simulator simulating hamlib, rather
  than the real rig. More in next commit.
2024-10-30 10:01:10 -04:00
George Baltz N3GB ebe685125e More fixes for simts890.c
More bogus commmands nullified
Typos and comments
Add SC, TS, OM
2024-10-30 10:01:10 -04:00
George Baltz N3GB c4f7cf35f9 Replace raw write() calls with macro
So they can be aggregated for multiple commands in one message
2024-09-21 06:07:50 -04:00
George Baltz N3GB c37fb872cd Still more tweaks to simts890.c
Remove some bogus commands
Add meters and antenna control
2024-09-20 16:22:27 -04:00
George Baltz N3GB 8a6a500ccd Tweaks to simts890.c
Don't include trailing null byte in responses
Zero fill response data
Filter a few commands - not complete coverage yet

Still no simulated clock.
2024-09-14 14:11:49 -04:00
George Baltz N3GB 1ff8527864 Add just enough to simts890.c to fake kenwood_get_clock.
Still needs a settable synthetic clock for kenwood_set_clock.
Time zone offsets need to be tied to both clocks, and to strftime.

When finished copy to simts990.c, dropping P6 from CK0.
2024-09-10 21:30:24 -04:00
Mike Black W9MDB 93bd44c3d5 Update simts890.c 2024-04-23 11:19:24 -05:00
Mike Black W9MDB 3dac2efb48 Update simts890.c 2024-04-06 15:42:46 -05:00
George Baltz N3GB 45e097d3a4 Update simts890.c
Make IF return RX/TX status
Document IF data, reformat IF & SF commands
2024-02-13 13:11:24 -05:00
George Baltz N3GB b6dc6110a6 Bring simts890.c a little closer to the real thing
Still needs more work.
2024-02-01 17:34:47 -05:00
George Baltz N3GB 35e49ffdfc Make simulator match the Real World(TM)
Add missing P4
Repair RIG_LEVEL_STRENGTH
2024-01-31 12:37:14 -05:00
Mike Black W9MDB fff1bbc8cd Add RFPOWER_METER_WATTS to TS890
https://github.com/Hamlib/Hamlib/issues/1497
2024-01-31 10:29:46 -06:00