Add BLE GATT Services and Characteristics

morgan 2024-10-25 23:50:08 -04:00
commit 41cc0a6bcf

@ -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)