Refactor DALI component: remove BACnet bridge support and update related documentation
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -50,9 +50,8 @@ The component now includes a protocol-agnostic bridge layer for mapping external
|
||||
|
||||
- `bridge_model.hpp` defines the strongly typed mapping model: protocol kind, external point, DALI target, default operation, and value transform.
|
||||
- `bridge.hpp` provides `DaliBridgeEngine`, which resolves models and dispatches requests into `DaliComm`, `DaliBase`, and `DaliDT8`.
|
||||
- `bridge_provisioning.hpp` provides `BridgeProvisioningStore` for persisting bridge models and shared protocol config in ESP-IDF NVS.
|
||||
- Modbus runtime support is owned by the native gateway project in `gateway/components/gateway_modbus`.
|
||||
- `bacnet_bridge.hpp` provides a BACnet skeleton adapter keyed by object type, instance, and property bindings.
|
||||
- `bridge_provisioning.hpp` provides `BridgeProvisioningStore` for persisting bridge models in ESP-IDF NVS.
|
||||
- Modbus and BACnet runtime support are owned by the native gateway project in `gateway/components/gateway_modbus` and `gateway/components/gateway_bacnet`.
|
||||
|
||||
### Example Model Mapping
|
||||
|
||||
@@ -107,7 +106,7 @@ Query-style operations return `data` when available and may include decoded flag
|
||||
|
||||
## Bridge Provisioning via NVS
|
||||
|
||||
Use `BridgeProvisioningStore` to persist bridge models and shared protocol-specific config such as BACnet:
|
||||
Use `BridgeProvisioningStore` to persist bridge models:
|
||||
|
||||
```cpp
|
||||
BridgeRuntimeConfig runtime;
|
||||
@@ -224,4 +223,4 @@ idf.py set-target esp32s3
|
||||
idf.py build
|
||||
```
|
||||
|
||||
The example persists its bridge config in NVS, starts a real Modbus TCP listener, registers Modbus and BACnet bridge models, and routes Modbus writes through the shared bridge engine. The DALI gateway callbacks are still placeholders where you should connect your UART or transport driver.
|
||||
The example persists its bridge config in NVS, registers generic bridge models, and routes requests through the shared bridge engine. The DALI gateway callbacks are still placeholders where you should connect your UART or transport driver. Use `gateway/apps/gateway` to exercise the gateway-owned Modbus and BACnet runtimes.
|
||||
|
||||
Reference in New Issue
Block a user