mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
Read as much data as possible initially, then process each packet individually. Defined the read buffer within the structure and added a rx_len variable to indicate the current read offset. After processing each complete packet, leftover data is moved to rxbuf[0] and rx_len is reduced by the length of the processed packet. The next packet process will start from rxbuf[0] after the read ends at new rxbuf[rx_len]. Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| bluetooth | ||
| ieee80211 | ||
| ieee802154 | ||
| lpwan | ||
| spirit | ||
| cc1101.c | ||
| CMakeLists.txt | ||
| gs2200m.c | ||
| ISM1_868MHzGFSK100kbps.c | ||
| ISM2_433MHzMSK500kbps.c | ||
| ISM2_905MHzGFSK250kbps.c | ||
| Kconfig | ||
| Make.defs | ||
| nrf24l01.c | ||
| nrf24l01.h | ||