File tree Expand file tree Collapse file tree 4 files changed +28
-49
lines changed
examples/lighting-app/silabs Expand file tree Collapse file tree 4 files changed +28
-49
lines changed Original file line number Diff line number Diff line change 3030#endif // (defined(SL_MATTER_RGB_LED_ENABLED) && SL_MATTER_RGB_LED_ENABLED == 1)
3131#include " AppEvent.h"
3232#include " BaseApplication.h"
33- #include " LightTypes.h"
3433
3534#include < app/clusters/on-off-server/on-off-server.h>
3635#include < app/persistence/DeferredAttributePersistenceProvider.h>
5150#define APP_ERROR_START_TIMER_FAILED CHIP_APPLICATION_ERROR (0x05 )
5251#define APP_ERROR_STOP_TIMER_FAILED CHIP_APPLICATION_ERROR (0x06 )
5352
53+ /* *********************************************************
54+ * LightingManager types (from former LightTypes.h)
55+ *********************************************************/
56+
57+ namespace LightingManager {
58+
59+ enum Action_t
60+ {
61+ ON_ACTION = 0 ,
62+ OFF_ACTION,
63+ LEVEL_ACTION,
64+ COLOR_ACTION_HSV,
65+ COLOR_ACTION_CT,
66+ COLOR_ACTION_XY,
67+
68+ INVALID_ACTION
69+ };
70+
71+ enum State_t
72+ {
73+ kState_OffInitiated = 0 ,
74+ kState_OffCompleted ,
75+ kState_OnInitiated ,
76+ kState_OnCompleted ,
77+ };
78+
79+ } // namespace LightingManager
80+
5481/* *********************************************************
5582 * AppTask Declaration
5683 *********************************************************/
Original file line number Diff line number Diff line change 2121
2222#include " AppTask.h"
2323#include " CRTPHelpers.h"
24- #include " LightTypes.h"
2524#include < lib/core/CHIPError.h>
2625
2726#if (defined(SL_MATTER_RGB_LED_ENABLED) && SL_MATTER_RGB_LED_ENABLED == 1)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2525#include " RGBLEDWidget.h"
2626#endif // (defined(SL_MATTER_RGB_LED_ENABLED) && SL_MATTER_RGB_LED_ENABLED == 1)
2727#include " AppTask.h"
28- #include " LightTypes.h"
2928
3029#include < app-common/zap-generated/attributes/Accessors.h>
3130#include < app-common/zap-generated/ids/Attributes.h>
You can’t perform that action at this time.
0 commit comments