I'm trying to find a typical communication protocol for transferring binary data by UART port. Basically, it should be detected according to the protocol when the input data is wrong.