This commit is contained in:
Morgan 'ARR\!' Allen 2024-11-15 15:35:05 -08:00
commit 54c7a2d2d6
2 changed files with 23 additions and 0 deletions

10
CMakeLists.txt Normal file
View file

@ -0,0 +1,10 @@
set(REQUIRES "")
set(SRCS "")
idf_component_register(
SRCS ${SRCS}
INCLUDE_DIRS "include"
# if platform esp...
REQUIRES ${REQUIRES}
)

13
include/baros.h Normal file
View file

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