Files

1018 B

ESP32-S3 Bridge Example

This ESP-IDF example wires dali_cpp into a standalone application and demonstrates how to register strongly typed bridge models. Modbus and BACnet runtime support now live in the native gateway project.

Environment

cd /Users/tonylu/StudioProjects/dalimaster/dali_cpp
. ./scripts/export_esp_idf.sh

Build

cd /Users/tonylu/StudioProjects/dalimaster/dali_cpp/examples/esp32s3_bridge
idf.py set-target esp32s3
idf.py build

What It Shows

  • DaliBridgeEngine resolving model bindings.
  • BridgeProvisioningStore loading and saving model/config state in NVS.
  • Placeholder DALI gateway callbacks where you can connect your UART transport.

Modbus Notes

The gateway implementation in gateway/components/gateway_modbus owns Modbus TCP, generated DALI point tables, and provisioned Modbus overrides. gateway/components/gateway_bacnet owns BACnet/IP object publishing and present-value routing. Use gateway/apps/gateway to exercise protocol behavior.