feat: Implement ESP32-C6 UART driver with basic send/receive functionality and unit tests

This commit is contained in:
2026-07-05 18:28:13 +03:00
parent 8fd3697deb
commit 6d1da898ff
5 changed files with 488 additions and 7 deletions

View File

@@ -23,13 +23,13 @@ Implementation of ESP32-C6 based AC controller that bridges Zigbee (Home Assista
## Implementation Steps
### Task 1: ESP32-C6 Hardware Setup and Basic UART
- [ ] Configure ESP32-C6 UART pins (TX/RX) for MideaUART communication
- [ ] Initialize UART driver at 9600 baud 8N1
- [ ] Implement basic UART send/receive functionality
- [ ] Create UART abstraction layer with timeout handling
- [ ] Write unit tests for UART driver (success/failure scenarios)
- [ ] Run tests - must pass before next task
- [ ] Update Readme.md
- [x] Configure ESP32-C6 UART pins (TX/RX) for MideaUART communication
- [x] Initialize UART driver at 9600 baud 8N1
- [x] Implement basic UART send/receive functionality
- [x] Create UART abstraction layer with timeout handling
- [x] Write unit tests for UART driver (success/failure scenarios)
- [x] Run tests - must pass before next task
- [x] Update Readme.md
### Task 2: MideaUART Protocol Implementation
- [ ] Implement Control structure for MideaUART commands