See 'rigs/simplecat/SIMPLE_CAT_PROTOCOL.md' for the protocol spec.
Notes:
- Memory correctness checks were done using Valgrind.
- Tested with wsjtx-3.1.0_improved_PLUS_260228.tgz (with mods) and
Bunzee Labs' DDX HF Digital Transceiver
https://bunzee-labs.com/products/ddx
Tested on:
- Ubuntu Linux
- macOS Tahoe
- Windows 11
Prepare for deprecation and removal of old embedded structures.
Note that the parameters NO_OLD_STRUCTS and NO_OLD_INCLUDES are
temporary, and will be removed before 5.0 is released. They are
for test compiles to work through the codebase incrementally, so
no compiler errors/warnings are generated by any committed/merged
code during default builds.
Allocate and free it.
For access apps must
1) #include <hamlib/rig_state.h> and
2) Use HAMLIB_STATE(rig) to get the address
Also fix a couple of misuses of STATE() macro.
Allocates and frees buffers for CAT, PTT, and DCD.
Does *NOT* copy anything from STATE(rig)->rigport, so only works if
a) app uses rig_set_conf() or
b) app uses HAMLIB_...() macros
Add new amp_caps fields (funcs, levels, parms, ops, status, freq ranges, input/ant)
with corresponding frontend API functions, ampctl commands, and dumpcaps
support. Implement Expert 13K-FA/15K-FA/2K-FA amplifier backend. Extend
dummy backend with full coverage of all new API features.
All functions in rig.h now always have full prototypes.
The gotcha in here was needing to move the prototype for rig_debug()
to before the definition of the macro with the same name. Previously
with the HAMLIB_PARAMS wrapper, the signatures didn't match; without
it the compiler tried to expand the name in the prototype as the macro,
causing syntax errors.
They have been marked as deprecated in doxygen for years.
They both do nothing but return -RIG_EDEPRECATED.
Remove them from the bindings.
AFAICT adding them to bindings/ignore.swg has no effect.
Compile with -Wimplicit-fallthrough; analyze the results.
Define macro to mark valid fall through constructs. Mark all of the good
ones, and fix the bad.
Not available with all compilers - for those without the feature this commit
does nothing.
When a comment block immediately preceeds the item, repeating the item
type such as \def or \typedef is not required. They're only required
when the comment is not immediately preceeding or Doxygen doesn't get
the item correct.