I am coding a uart application in Linux written in C, in my case, Linux need to send bytes stream to device which is connnected with UART (UART is in hardware flow control with DTSCTS, baudrate is 115200, no parity, no odd/even bits).
The question is, part of data lost in device side while the bytes stream contain some bytes. Those bytes that may be lost include but not limited to 0x00, 0x02, 0x18 (those are tested with byte stream).
Is there any mechanism in which special bytes will be filtered or dropped? I'm not sure if this is related to the UART driver or hardware stability (if so, it should not loss 0x18 all the time).