Skip to content
Snippets Groups Projects

ble: card10 srv - v2

Merged genofire requested to merge (removed):ble-card10-v2 into master
Compare and Show latest version
2 files
+ 269
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -30,6 +30,31 @@ The current draft uses following service specification:
UUID: ``42230210-2342-2342-2342-234223422342``
write
- Background LED Bottom Left characteristic:
UUID: ``42230211-2342-2342-2342-234223422342``
write
- Background LED Bottom Right characteristic:
UUID: ``42230212-2342-2342-2342-234223422342``
write
- Background LED Top Right characteristic:
UUID: ``42230213-2342-2342-2342-234223422342``
write
- Background LED Top Left characteristic:
UUID: ``42230214-2342-2342-2342-234223422342``
write
- LEDs above characteristic:
UUID: ``42230211-2342-2342-2342-234223422342``
write
- Single rgb led characteristic:
UUID: ``422302ef-2342-2342-2342-234223422342``
@@ -71,6 +96,27 @@ Rocket0 Rocket1 Rocket2
- Enable only Rocket0: ``0xff0000``
- Enable all rockets with 50% brightness: ``0x7f7f7f``
Background LED <Position> characteristic
---------------------------------
The Rockets characteristic makes it possible to address every three rockets.
Just write there three ``uint8`` for the rgb color.
Dataformat:
===== ======= =======
0 1 2
----- ------- -------
red green blue
===== ======= =======
- set led blue: ``0x0000ff``
- disabled: ``0x000000``
LEDs above characteristic
---------------------------------
This characteristic set every 11 leds on the top module at once.
Single rgb led characteristic
---------------------------------
Loading