Add BLE GATT Services and Characteristics
commit
41cc0a6bcf
1 changed files with 23 additions and 0 deletions
23
BLE-GATT-Services-and-Characteristics.md
Normal file
23
BLE-GATT-Services-and-Characteristics.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
Overview of Services and Characteristics need for Barback to communicate between one another, between their respective Barheads in addition to external devices such as a phone or laptop.
|
||||
Each tree is from the device prospective. eg;
|
||||
|
||||
* Device
|
||||
* * Service
|
||||
* * * Characteristic
|
||||
|
||||
# BLE GATT
|
||||
|
||||
* Barback
|
||||
* * Config
|
||||
* * * Name - (string) [rwn]
|
||||
* * * Barhead MAC - (6 bytes) [rwn]
|
||||
* * Control
|
||||
* * * Arm - (bool) [rwn]
|
||||
* * * Pour - (true) [wn]
|
||||
* * Prime
|
||||
* * * Pump [...n] - (bool) [wn] (This is a manual on/off for an individual motor (n))
|
||||
* * Motor [...n]
|
||||
* * * Run Time - (ms) [rwn]
|
||||
* * * Max Speed - (PWM) [rwn]
|
||||
* * * Ramp Time - (ms) [rwn] (could be something else like a percent, ie; 3 will ramp over the first 3% of total run time)
|
||||
* * * Start Delay - (ms) [rwn] (this could be useful for incorporating the air pump)
|
Loading…
Reference in a new issue