feat: Add DALI raw frame handling and USB setup bridge
- Introduced DaliRawFrame structure to encapsulate raw frame data. - Enhanced DaliDomainService to manage raw frame sinks and processing. - Implemented raw frame task for asynchronous handling of incoming DALI frames. - Integrated raw frame handling in GatewayBleBridge and GatewayNetworkService. - Added GatewayUsbSetupBridge to facilitate USB Serial/JTAG communication with DALI. - Configured ESP-NOW for wireless communication and setup management. - Updated GatewayRuntime to support clearing wireless credentials on boot button long press. - Enhanced CMakeLists to include new components and dependencies. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -14,6 +14,7 @@ struct ble_gatt_access_ctxt;
|
||||
namespace gateway {
|
||||
|
||||
class DaliDomainService;
|
||||
struct DaliRawFrame;
|
||||
class GatewayController;
|
||||
class GatewayRuntime;
|
||||
|
||||
@@ -38,6 +39,7 @@ class GatewayBleBridge {
|
||||
void stopAdvertising();
|
||||
void notifyCharacteristic(size_t index, const std::vector<uint8_t>& payload);
|
||||
void handleGatewayNotification(const std::vector<uint8_t>& frame);
|
||||
void handleDaliRawFrame(const DaliRawFrame& frame);
|
||||
void handleRawWrite(size_t channel_index, const std::vector<uint8_t>& payload);
|
||||
void handleGatewayWrite(const std::vector<uint8_t>& payload);
|
||||
std::string resolvedDeviceName() const;
|
||||
|
||||
Reference in New Issue
Block a user