nuttx-apps/system/fastboot
fangpeina 43dcb51087 system/fastboot: extract framed_read helper and simplify tcp_read
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>
2026-09-16 00:09:34 +08:00
..
CMakeLists.txt system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fastboot.c system/fastboot: extract framed_read helper and simplify tcp_read 2026-09-16 00:09:34 +08:00
Kconfig system/fastboot: add per-transport Kconfig options for USB and TCP 2026-09-16 00:09:34 +08:00
Make.defs system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00