Commit graph

21 commits

Author SHA1 Message Date
Valentin Weber
210dc5fdf6
fix: error in Brightness → f32 conversion 2025-07-19 17:26:08 +02:00
Valentin Weber
9594fe685a
feat: switch to floating point numbers for brightness config 2025-07-18 22:02:15 +02:00
Valentin Weber
caf95f5803
chore: cargo fmt 2025-07-16 22:49:28 +02:00
Valentin Weber
9803b7e4da
test: simplify test for brightness 2025-07-16 22:40:20 +02:00
Valentin Weber
cd31980b6b
test: fix creation of PayloadBuffer 2025-07-16 22:12:02 +02:00
Valentin Weber
cc32d545d4
chore: clearer initialisation of an empty header 2025-07-16 22:07:57 +02:00
Valentin Weber
ce1faf8235
fix: remove obsolete Option wrap 2025-07-16 22:05:09 +02:00
Valentin Weber
8047e719f8
test: add u8 to Brightness test 2025-07-16 21:37:00 +02:00
Valentin Weber
5d63cc8e48
chore: group use statements by category 2025-07-16 20:03:50 +02:00
Valentin Weber
a9b38fb427
feat: add support for brightness control 2025-07-16 19:56:15 +02:00
Martin Michaelis
5d745ab8fd Fix clippy lints
Some checks failed
CI / Check rust format (push) Has been cancelled
CI / Clippy (Rust stable) --no-default-features (push) Has been cancelled
CI / Clippy (Rust stable) -F cli (push) Has been cancelled
CI / Clippy (Rust stable) (push) Has been cancelled
CI / Test (Rust stable) --no-default-features (push) Has been cancelled
CI / Test (Rust stable) -F cli (push) Has been cancelled
CI / Test (Rust stable) (push) Has been cancelled
CI / Build for Windows (x86_64) (push) Has been cancelled
CI / Build for Linux (x86_64) (push) Has been cancelled
CI / Build for MacOS (arm64) (push) Has been cancelled
CI / Build for MacOS (x86_64) (push) Has been cancelled
CI / All required checks passed (push) Has been cancelled
CI / Create release (push) Has been cancelled
2025-07-15 20:56:23 +02:00
Martin Michaelis
44222843d8 Add list devices option 2024-12-31 23:28:06 +00:00
Martin Michaelis
116a506fe4 Update to zerocopy 0.8 2024-12-31 21:58:20 +00:00
Lilian
71f9ab3f19 Remove redundant BLE service UUID check as it is already done using a ScanFilter 2024-08-01 23:04:10 +02:00
Lilian
19db575be2 Address additional PR review comments for code simplification 2024-08-01 23:04:10 +02:00
Lilian
ba41bf3a65 Simplify error handling of BLE writing 2024-08-01 23:04:10 +02:00
Lilian
925fb45617 Address PR review comments for BLE feature 2024-08-01 23:04:10 +02:00
Lilian
e8a1ed3907 Improve error handling in BLE device enumeration 2024-08-01 23:04:10 +02:00
Lilian
c273d4cbfc Add support for transferring badge config via Bluetooth Low Energy
Adds a new crate feature `ble` that allows for transfering badge
configurations over Bluetooth Low Energy instead of USB.
Expands the CLI to allow for specification of the transport protocol,
either USB or BLE.

The BLE library uses async rust requiring to add tokio as a async runtime
to the CLI.
2024-08-01 23:04:10 +02:00
Martin Michaelis
03fa9668b5 Allow usage without embedded graphics 2024-06-07 20:04:53 +00:00
Martin Michaelis
97d5561e81 Initial commit 2024-06-07 13:33:27 +00:00