Improve serial command handling#319
Conversation
|
Resolve 18 merge conflicts in serial subsystem. Keep branch's design: - Separate handler functions per subcommand (handleGet/handleSet/handleClear) - Named subcommand registration via CommandGroup - getCommandEntry() for intelligent subcommand matching - CommandGroup in separate files (not duplicated in CommandEntry.h) Adopt from develop: - OS_SERIAL_PRINT/PRINTF/PRINTLN macros (Arduino→ESP-IDF migration) - USB serial support (#if ARDUINO_USB_MODE) - TinyVec usage for rawconfig - LedTestHandler Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cpp-Linter Report
|
- Add const qualifier to CommandEntry::commandHandler() - Explicit std::string conversion in hostname handleSet - Use push_back instead of append for single char in validgpios Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Change file check
If this change should show up in the release notes, add one with |
|
Ready to review this PR? Stage has broken it down into 4 individual chapters for you:
Chapters generated by Stage for commit 7f46c15 on Jun 29, 2026 10:24am UTC. |
Split apart command handlers and fix command handler selection logic