Commit graph

6 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
e16f4077e7 Implement the Python bindings and the tests for rig_send_raw()
Allows to send either string or bytes and to receive a response
converted to the same datatype. Also the "term" argument can be
of either type (but  it can't contain NULs, it's a single char
or byte anyway).

Closes #1624.
2025-08-11 12:33:49 +02:00
Daniele Forsi IU5HKX
3bc1cc8744 Implement remaining event callbacks
Implements:
rig_set_dcd_callback(), rig_set_freq_callback(), rig_set_mode_callback(),
rig_pltune_callback(), rig_set_ptt_callback(), rig_set_spectrum_callback(),
rig_set_vfo_callback()
2025-08-09 10:33:51 +02:00
Daniele Forsi IU5HKX
8324c85487 Implement the Python callback for freq_event
Fixes #481.
2025-08-09 10:33:17 +02:00
Daniele Forsi IU5HKX
a3ba82a8c8 Rewrite automated tests with newlines 2025-07-18 23:47:53 +02:00
Daniele Forsi IU5HKX
60541cf35b Sort the lists of callables and properties
The dir() function returns a list which is not necessarily ordered
in fact it wasn't ordered on the CI runner.
2025-07-18 00:01:23 +02:00
Daniele Forsi IU5HKX
57b23e7efc Add autogenerated test scripts for pytest 2025-06-22 07:38:20 +02:00