2.2.3 DALI Task
The following stack is sourced from MBS GmbH. All products shown here are under development, and are not DALI-2, D4i, or DALI+™ certified and not available on the market.
The DALI™ libraries must be added to this project in order for DALI stack to properly work.
The dali.c
, dali.h
, dali_ll.h
,
dali_ll_hal.c
and dali_ll_hal.c
files were shared
by MBS GmbH (developers of the DALI stack that is used in this application) and were
customized for the boards that are being used. They do not constitute a complete
real-world solution for a control device but serve as a starting point for development.
Their main purpose is to create a layer between the DALI library and user
application.
In the DALI task, the stack is configured and dali_main()
is called
continuously. This function handles the queue of the DALI stack. DALI messages are sent
using app_action()
.
The library functions in demonstration mode, disabling communication after three hours. The timer will reset upon power disconnect.