Hi This is probably not a good group to post this question.
On Friday, December 2, 2011 12:51:58 AM UTC+1, [email protected] wrote: > > Hi Everyone, > > I am trying to read data from a serial port. I have no problem with > sending bytes. Everything works fine. There is a problem when i > receive bytes. Every time a read a byte with a FileReader from / > ttyUSB0 port, something happens and the byte is not only read but is > also send back on the line. > So you are using a usb2serial adapter to connected to you PC to talk to a piece of hardware that has a serial port? Who is listening to the serial on the device side? > Example: > > PC sends the byte 5 to the Android. The Android reads the byte 5 and > then sends back the byte 5 without being told to to that. > > Any ideas on what might be causing this annoying error? > shorting tx and rx is usually the reasons for the data to be echo'ed back. Greetings -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
