Refactor BLE initialization and integrate NVS handling

Refactored BLE service initialization to improve functionality and organization, including added GATT service definitions and event handling. Integrated NVS initialization into the main app to ensure proper storage BLE configurations. Cleaned up deprecated code and optimized dependencies in CMakeLists.

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-05-20 22:34:52 +02:00
parent c407e3f015
commit 4e3666bcd6
4 changed files with 174 additions and 116 deletions

View File

@@ -2,5 +2,4 @@ idf_component_register(SRCS "remote_control.c"
INCLUDE_DIRS "include"
PRIV_REQUIRES
bt
nvs_flash
)