commit 41cc0a6bcf27c0a6b1b463fa7819feea20c97f9a Author: morgan Date: Fri Oct 25 23:50:08 2024 -0400 Add BLE GATT Services and Characteristics diff --git a/BLE-GATT-Services-and-Characteristics.md b/BLE-GATT-Services-and-Characteristics.md new file mode 100644 index 0000000..76c24b0 --- /dev/null +++ b/BLE-GATT-Services-and-Characteristics.md @@ -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) \ No newline at end of file