Issue Description
When flooding control commands (e.g., repeated On/Off cluster commands) from the ChipTool APK to a Thread end device (Nanoleaf), the otbr-agent crashes due to an RCP timeout and framing errors in the RCP communication layer.
Tested with Below Configurations
Baud 115200 and 460800
NCP_TX_BUFFER - 1024 and 4096
Environment
OTBR - otbr-posix (OpenThread Border Router)
Repository: https://github.com/openthread/ot-br-posix.git
Branch: main
Commit: 6112f9802f32c41b15ble331bf391c2c0f86bbc5
RCP Hardware: NXP JN5189
RCP Firmware - Repository: https://github.com/openthread/ot-nxp.git
Branch: main
Commit: openthread/ot-nxp@70a5b2d
Host OS: Linux (OpenWRT)
Thread version: 1.4.0
Commissioner: ChipTool APK (Android)
End Device: Nanoleaf Thread Device
Reproduction Steps
Commission the Nanoleaf device onto the Thread network via OTBR.
Use ChipTool APK to send rapid commands (e.g., toggle command in a loop with minimal delay).
Observe otbr-agent logs for framing errors and eventual timeout crash.
I've attached OTBR Agent Log and For Compilation Purpose I've applied the below patches on top of the vanilla ot-nxp repo