UART RX with simple logic flow to check the protocol correct or not. Important is that the logic flow.