STA모드 추가

This commit is contained in:
2026-02-18 15:49:30 +00:00
parent 9bb14219af
commit 0baac2bf90
9 changed files with 794 additions and 150 deletions

View File

@@ -135,7 +135,11 @@ void serialRxTask(void *param) {
if (linePos > 0) flushLineToQueues(lineBuf, linePos);
continue;
}
lineBuf[linePos++] = c;
// Only accept printable ASCII (0x20~0x7E) and TAB (0x09)
// Skip null bytes and noise (0x00, 0xFF, etc.)
if ((c >= 0x20 && c <= 0x7E) || c == '\t') {
lineBuf[linePos++] = c;
}
}
lastActivity = xTaskGetTickCount();
} else {