c5a079e779
- 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>
9 lines
239 B
Bash
9 lines
239 B
Bash
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"
|