qiuuu / android-serialport-api

Automatically exported from code.google.com/p/android-serialport-api
0 stars 0 forks source link

why data 0x90 changed to 0x10? #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.using this api in android-AVD, and open the serial port COM1,using below 
command:
 emulator @androidavd -qemu -serial COM1
2.from outer sent the hex data 0x90 to the COM1 
3.using the api method: InputStream.read(buffer) to get data to buffer

What is the expected output? What do you see instead?
in other windows platform's com tools, it can read the data 0x90 from COM1,
but using this api in android AVD, i got 0x10 ...

What version of the product are you using? On what operating system?
android-AVD using android 2.3.1, On Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by stvans...@gmail.com on 23 Feb 2012 at 9:18