Skip to content
Snippets Groups Projects

ble: add card10 service with basic function

Merged genofire requested to merge (removed):ble-rocket into master
All threads resolved!
Compare and
4 files
+ 199
1
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 39
0
Bluetooth Card10 Service
==========
.. warning::
The specification is still work in progress
The Card10 Service implemented a direct Hardware access of the card10.
BLE Service
-----------
The current draft uses following service specification:
- Service
UUID: `0000f000-2342-2342-2342-234223422342`
- Rockets characteristic:
UUID: `0000f110-2342-2342-2342-234223422342`
write
Rockets characteristic
---------------------------------
The Rockets characteristic makes it possible to address every (three) rockets.
Just write there two byte array.
Dataformat:
====== =========
0 1
------ ---------
rocket lightness
====== =========
- Enable Rocket 1: `0x00ff`
- Disable Rocket 2: `0x0100`
- Enable Rocket 3 with 50% lightness: `0x027f`
Loading