21afc6b942
- Added `bridge.cpp` to handle DALI bridge operations including model management, command execution, and response formatting. - Introduced `bridge_model.cpp` for defining bridge models, value transformations, and JSON serialization/deserialization. - Created `bridge_provisioning.cpp` for managing bridge configuration storage and retrieval using NVS on ESP platform. - Enhanced `gateway_cloud.cpp` to integrate DALI bridge requests and responses with cloud communication. - Introduced `modbus_bridge.cpp` to handle Modbus-specific operations and register management. - Implemented utility functions for converting between DaliValue and cJSON formats. - Added error handling and metadata management in bridge responses.
10 lines
267 B
CMake
10 lines
267 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
if(NOT IDF_TARGET)
|
|
set(IDF_TARGET "esp32s3" CACHE STRING "ESP-IDF target")
|
|
endif()
|
|
|
|
set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/../..")
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(dali_cpp_esp32s3_bridge) |