Commit graph

19 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
2199ff2bde Revert "Fix Rig.set_ctcss_sql() Rig.set_ctcss_tone() Rig.set_dcs_code()"
This reverts commit ed7e5b2344ccabe0abf5d4f215345acf86aa834f.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
3240d2f8d3 Revert "Fix various methods"
This reverts commit 623b93db3dfb5c80aa89f67eb2eb2eff4c044faa.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
292da12566 Fix various methods
Fixes: set_ptt set_rit set_rptr_offs set_rptr_shift
set_split_freq set_ts set_xit vfo_op

This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
160c941e9e Fix Rig.set_ctcss_sql() Rig.set_ctcss_tone() Rig.set_dcs_code()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
25aae7d8e2 Fix Rig.set_mem()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
2b1428fd3e Add meaningful arguments 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
8901b210ee Fix Rig.send_dtmf() 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
13c2413bba Fix Rig.send_morse()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
25a2a4447f Fix Rig.get_ant() tests
The first argument is the antenna.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
bf518c0609 Fix Rig.get_ant()
The only supported value for get_ant() in the union of "option"
is signed integer.
Do the test when the rig is open.
2025-06-26 20:29:25 +02:00
Daniele Forsi IU5HKX
6c399b55ff Assert the length of sequences instead of the list datatype
We only need to check how many values exist.
2025-06-25 22:54:18 +02:00
Daniele Forsi IU5HKX
7223fb0766 Fix Rig.get_vfo_info() 2025-06-25 19:16:33 +02:00
Daniele Forsi IU5HKX
453e68c6cd Fix Rig.get_split_vfo()
The VFO argument optional with a default of RIG_VFO_CURR.
Fixes PR ##1555.
2025-06-25 19:16:33 +02:00
Daniele Forsi IU5HKX
5a5279492e Mark asserts that are currently failing 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX
4b0fa60e95 Remove ignored symbol 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX
637ccebe02 Test returned datatypes 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX
591f7cf5c8 Fix Rig.get_ant() 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX
65ffc5426b Remove undocumented unused method rig.chan_clear() 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX
77c02b58bb Add tests for the Rig class 2025-06-15 23:10:07 +02:00