From 54c7a2d2d65dc9159dad27d6388d8a5409b59dd0 Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Fri, 15 Nov 2024 15:35:05 -0800 Subject: [PATCH] init --- CMakeLists.txt | 10 ++++++++++ include/baros.h | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 include/baros.h diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8c1dec2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +set(REQUIRES "") +set(SRCS "") + +idf_component_register( + SRCS ${SRCS} + INCLUDE_DIRS "include" + # if platform esp... + REQUIRES ${REQUIRES} +) + diff --git a/include/baros.h b/include/baros.h new file mode 100644 index 0000000..b6be05e --- /dev/null +++ b/include/baros.h @@ -0,0 +1,13 @@ +#ifndef __BAROS_H__ +#define __BAROS_H__ + +#define BAROS_BLE_SERVICE_PUMP_ENABLED (0x4200) +#define BAROS_BLE_SERVICE_PUMP_STATE (0x4300) +#define BAROS_BLE_SERVICE_PUMP_DURATION (0x4350) + +#define BAROS_BLE_SERVICE_BARBACK (0x4400) + +#define BAROS_CHAR_POUR (BAROS_BLE_SERVICE_BARBACK + 1) // 0x4401 +#define BAROS_CHAR_BUTTON (BAROS_BLE_SERVICE_BARBACK + 2) // 0x4402 + +#endif