mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-02 19:58:09 +00:00
Extract fastboot_framed_read() that handles TCP v1 wire framing: handshake detection (FB01 exchange) and 8-byte big-endian length prefix parsing. Simplify fastboot_tcp_read() to reuse this helper for both initial handshake and subsequent data frames. This prepares for adding a serial transport that shares the same framed protocol. Signed-off-by: fangpeina <fangpeina@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fastboot.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||