Closed litscham closed 1 year ago
Thanks! Would it be possible to add tests that check if the mode is set correctly for each of the options? (Rather than simply testing for a non-empty return) I'd be happy to merge once that's done.
For example see test_ffc_mode_auto
, we'd have a separate test for each one.
@litscham I added some review notes - unfortunately I don't have a Boson to test with at the moment so if you could implement the tests on your end and check they run, that'd be great and I'll merge it.
I'll check it out once I have the time
I tested on different firmware revs and the option to set and get AGC only worked on the newest 3.0.25868 firmware
Great. I guess we could add a check for the firmware revision (e.g. via get_firmware_revision
)? It's a bit awkward to check each time, but changing AGC mode is probably done rarely enough that it wouldn't matter for performance.
I added commands to get and set AGC mode for Boson