| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 8 months |
| seen | May 21 at 18:38 | |
| stats | profile views | 14 |
|
May 21 |
awarded | Popular Question |
|
Oct 21 |
awarded | Enthusiast |
|
Sep 25 |
awarded | Scholar |
|
Sep 25 |
accepted | cat corrupts serial port data |
|
Sep 25 |
comment |
cat corrupts serial port data Thanks Jim. I do not have the source of receiving application. I am just using its data top of it. So writing a multiplexer program will be more useful for my case. I have not worked with serial ports so far and I thought cat intercepts and displays the flow, but I was wrong. Also, I found a similar topic in stackoverflow |
|
Sep 23 |
revised |
cat corrupts serial port data added 4 characters in body |
|
Sep 23 |
comment |
cat corrupts serial port data Hi again, I have edited the question. If only one application can see the data, is there a suitable way to redirect the data to the application after doing cat? Thanks. |
|
Sep 23 |
awarded | Editor |
|
Sep 23 |
revised |
cat corrupts serial port data added 162 characters in body |
|
Sep 23 |
awarded | Supporter |
|
Sep 23 |
comment |
cat corrupts serial port data Hi Gilles, hexdump -C and od -t x1 produce elegant outputs. I used both of them thank you. |
|
Sep 23 |
comment |
cat corrupts serial port data Hi Jim, How can I prevent this? |
|
Sep 23 |
comment |
cat corrupts serial port data Hi P.T., Actually I am not sure what corrupts the data but if I do not use cat everything works fine. If I use cat, it prints the correct data but the application on the other side does not respond, somehow cat eat the data. BTW, stty out as follows: -parenb -parodd cs8 hupcl -cstopb cread clocal crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke |
|
Sep 22 |
awarded | Student |
|
Sep 22 |
asked | cat corrupts serial port data |