Add KNX DALI Gateway Module and Message Queue Implementation
- Introduced KnxDaliModule class for handling DALI message queuing, commissioning, and KNX group-object dispatch. - Implemented Message and MessageQueue classes for managing message operations. - Removed obsolete OpenKNX IDF component files and CMake configurations. - Updated submodule reference for KNX. Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
enum class MessageType {
|
||||
Arc,
|
||||
Cmd,
|
||||
SpecialCmd,
|
||||
Query
|
||||
};
|
||||
|
||||
struct Message {
|
||||
Message *next{nullptr};
|
||||
uint8_t data{0};
|
||||
MessageType type{MessageType::Arc};
|
||||
uint8_t para1{0};
|
||||
uint8_t addrtype{0};
|
||||
uint8_t para2{0};
|
||||
bool wait{false};
|
||||
uint8_t id{0};
|
||||
};
|
||||
Reference in New Issue
Block a user