init
This commit is contained in:
commit
54c7a2d2d6
2 changed files with 23 additions and 0 deletions
10
CMakeLists.txt
Normal file
10
CMakeLists.txt
Normal 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
13
include/baros.h
Normal 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
|
Loading…
Reference in a new issue