Serial port ; cannot read what I write
问题 I am not able to read what i send to serial port, when i randomly generate data, and I want to send it over COM1, and read from COM2 with two different real time threads I used RTAI functions, Lets say;I send 'H' 'E' 'L' 'L' 'O' some random bytes and 0x01; howeverI cannot read 'H' 'E' 'L' 'L' 'O' some byte and 0x01. I read different values than I send over serial port. What can be the reason? 1-) I am using null modem cable between COM1 and COM2 2-) I have posted writer and reader script