Our project used TCP communication before, and we have implemented LengthFieldBasedFrameDecoder and MessageToByteEncoder to parse and send data. But now we need to use serial communication, but we still want to use the code of LengthFieldBasedFrameDecoder and MessageToByteEncoder. is there any solution? thanks