Commit Graph

22 Commits

Author SHA1 Message Date
c3fdb105eb Add proper set fan curve coroutine method 2024-02-14 11:31:41 +08:00
a54773d3ae Add proper set_fan and get_fan coroutine methods 2024-02-14 11:31:41 +08:00
c6815950d2 Use start and end session nomenclature
Helps when we also inherit from QObject, which already has connect and
disconnect methods.
2024-02-14 11:31:41 +08:00
05bc5d8809 Remove is_ prefix 2024-02-14 11:31:41 +08:00
ae9c34f411 Proper report 2024-02-14 11:31:41 +08:00
3e20658107 Proper timeout implementation 2024-02-14 11:31:41 +08:00
953e314abb Add optional channel selection for save/load 2024-02-14 11:31:41 +08:00
7149fb6d85 Shield pending commands from cancellation 2024-02-14 11:31:41 +08:00
2a31cdb1af Add ipv4 config 2024-02-14 11:31:41 +08:00
bfec9efbec Implement DFU mode 2024-02-14 11:31:41 +08:00
b32062d855 More elegant connection stopping 2024-02-14 11:31:41 +08:00
d52aafd7f6 Add timeout to connect call 2024-02-14 11:31:41 +08:00
8f31380d52 Reset button 2024-02-14 11:31:41 +08:00
64891231cd Report mode functionality 2024-02-14 11:31:41 +08:00
1d192f50c8 Remove redundant return 2024-02-14 11:31:41 +08:00
1226cca6e6 Only set connecting task to None once 2024-02-14 11:31:41 +08:00
8520dae93b Update and add docstrings to aioclient 2024-02-14 11:31:41 +08:00
981c28ac27 Conslidate connect & disconnect actions 2024-02-14 11:31:41 +08:00
82438ee4a5 Simplify stuff a bit 2024-02-14 11:31:41 +08:00
659d0d0835 Init client once
No none-ing
2024-02-14 11:31:41 +08:00
fa60439e39 Put the connecting task in aioclient 2024-02-14 11:31:41 +08:00
f546a3c61b Finish moving over to qasync
Also:
-Add aioclient

The old client is synchronous and blocking, and the only way to achieve
true asynchronous IO is to create a new client that interfaces with
asyncio.

-Make the GUI `nix run`-able
2024-02-14 11:31:41 +08:00