Wykres commitów

292 Commity (master)

Autor SHA1 Wiadomość Data
Nate Bargmann 989623ec51
Merge GitHub PR #1824 2025-08-01 18:31:38 -05:00
Daniele Forsi IU5HKX 0c57ccad26 Add missing include file
Otherwise it isn't added to the distribution archive created by
"make distcheck".
2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 094b5e741a Remove unused variables 2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 200b2aaecc Remove unneeded typedef
It's only used by Yeasu simulators.
2025-07-30 23:29:12 +02:00
George Baltz N3GB 1c36377480 Still more cppcheck tweaks 2025-07-29 13:10:28 -04:00
Daniele Forsi IU5HKX f8c3d6b614 Fix error messages 2025-07-28 22:04:18 +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 debcc2f565 Clean up simft847.c
At least make get/set freq and mode work.
2025-07-21 23:07:56 -04:00
George Baltz N3GB 3952f030d4 More copyright updates 2025-07-11 13:43:47 -04:00
Daniele Forsi IU5HKX b96afa9372 Remove redundant rule for make
make knows how to build an excutable from a single source file.
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX e5e4ef84fe Remove redundant rule for make clean
All built files are deleted automatically.
2025-07-05 22:18:16 +02:00
George Baltz N3GB df2bf0c634 Fix 0x26 command in simic705.c - off by 1 byte
Reduce usage of rig.h idioms - use Icom values.
Reduce/cleanup some debug output.
Add width set (1A 03)
2025-06-13 14:37:35 -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 4109d606b5 Fix typos 2025-05-22 21:55:10 +02:00
Daniele Forsi IU5HKX 5c05881e0e Add rules to build dependencies of libhamlib.la in other directories
This makes it possible to run "make -C src/" or "make -C tests/ rigctl"
or "make -C bindings/ check" (and so on) in a clean tree, but it doesn't
rebuild those targets if libhamlib.la is changed; for this run make from
the top directory as usual, to rebuild all SUBDIRS if needed.
2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX e5d8dc0f07 Fix compilation error in simicr8600.c
Fixes:
simicr8600.c:445:5: warning: ‘main’ is normally a non-static function [-Wmain]
2025-05-04 16:47:30 +02:00
Daniele Forsi IU5HKX 584ddb001d Fix compilation error in simid5100.c
Fixes:
simid5100.c:90:35: error: ‘errno’ undeclared (first use in this function)
2025-05-04 16:47:22 +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
Michael Black W9MDB 43f8afa6a4 Add simicr8600 2025-03-04 14:43:40 -06:00
Michael Black W9MDB 88fce980df Fix rigctld hamib_version print to suppress it
Add simeasycomm.c
2025-02-11 10:48:48 -06:00
Michael Black W9MDB 35f86232fa Fix simulators 2025-01-18 15:56:59 -06:00
Michael Black W9MDB b311890631 Update some simulators 2025-01-04 11:57:39 -06:00
Michael Black W9MDB 5d8593dd73 Update simic7300 and simic7000 2024-12-26 15:33:20 -06:00
Michael Black W9MDB dd15ffc7bd Add KY command to simts590 2024-12-03 23:18:48 -06:00
George Baltz N3GB 8bd74aa3bc Minimal support for KY commands in simts890.c 2024-12-02 13:11:20 -05:00
Daniele Forsi IU5HKX e480bc7479 Fix typos 2024-12-01 21:59:11 +01:00
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
Mike Black W9MDB ad70cc0ba4 Fix simic705 2024-11-04 16:45:23 -06:00
Mike Black W9MDB 4e4c82e83c Fix warning in simft817.c 2024-11-04 16:44:59 -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
Mike Black W9MDB ba62edc51b Fix simic7300 2024-10-07 07:52:48 -05: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