From 41cc0a6bcf27c0a6b1b463fa7819feea20c97f9a Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 25 Oct 2024 23:50:08 -0400 Subject: [PATCH] Add BLE GATT Services and Characteristics --- BLE-GATT-Services-and-Characteristics.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 BLE-GATT-Services-and-Characteristics.md 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