commit 54c7a2d2d65dc9159dad27d6388d8a5409b59dd0 Author: Morgan 'ARR\!' Allen Date: Fri Nov 15 15:35:05 2024 -0800 init 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