Re: RS232 Redirector Program in C using Linux



Josef Moellers wrote:
Please don't quote the entire article just to add a few lines. Quote only the relevant parts.

Steffen wrote:

Confusing is that if i am sending a normal text file.. e. g. my
sourcecode-file.... this works fine... no problems.


No, I am wrong - sorry for that much posting of my side - if i am
transfering a raw file (means not only a text file), the whole file
gets corrupted... not only the beginning of the file :-(

You can do some additional analysis by saving the data that you transfer in the redirector. That way you can find out if, from the redirector's perspective, the incoming data stream is corrupted or the outgoing.

Also look at what the differences are in the bytes. Are the changed
bytes always changed the same way? If so from what to what? That may
shed some light. As someone else suggested, perhaps your stream isn't
fully raw/untranslated.
.