Implement DALI Gateway Cache with State Management and Reconciliation
- Added DaliGatewayCache class for managing DALI device states, including address states, presence, and group statuses. - Implemented methods for configuring cache, enabling/disabling features, and setting status update callbacks. - Introduced state encoding/decoding for persistence and added support for CSV parsing. - Created mutation handling for runtime status updates, group masks, scene levels, and settings. - Developed reconciliation logic to handle incoming frames and classify mutations. - Added tests to validate cache functionality, persistence, and DALI protocol handling. Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
ESP_IDF_EXPORT_PATH="${HOME}/esp/v5.5.2/esp-idf/export.sh"
|
||||
ESP_IDF_EXPORT_PATH="${HOME}/.espressif/v5.5.4/esp-idf/export.sh"
|
||||
|
||||
if [ ! -f "$ESP_IDF_EXPORT_PATH" ]; then
|
||||
echo "ESP-IDF export script not found at $ESP_IDF_EXPORT_PATH" >&2
|
||||
return 1 2>/dev/null || exit 1
|
||||
fi
|
||||
|
||||
. "$ESP_IDF_EXPORT_PATH"
|
||||
. "$ESP_IDF_EXPORT_PATH"
|
||||
|
||||
Reference in New Issue
Block a user