hilltop919 / android-serialport-api

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

Tx & Rx on Froyo, Update to Gingerbread - No Rx! #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download & Install SerialPort_1.1.apk
2. Run app on same hardware (Freescale MX51-BBG) 2.3.7 (it fails) vs 2.2 (it 
passes)
3.

What is the expected output? What do you see instead?
Transmit data emitted on 2.2 (Froyo) and 2.3.7 (Gingerbread).
No Receive data (in Console: reception widget) - ever.

What version of the product are you using? On what operating system?
Downloaded and ran latest SerialPort_1.1.apk from this site.

Please provide any additional information below.
In debugging custom app running serialport lib I notice in debugger a new msg 
in ReadThread, mInputStream fileSystem;
  in Froyo used to be: "OSFileSystem (id...)"
  in Gingerbread it's: "BlockGuard$WrappedFileSystem (id....)

(currently researching this...)

But since your SerialPort_1.1.apk behaves identically w/o a ReadThread - this 
seems most likely to be meaningless.

Why work on Android 2.2 and no Rcv on Android 2.3.7?

Original issue reported on code.google.com by mbp...@gmail.com on 10 Jan 2014 at 12:28

Attachments:

GoogleCodeExporter commented 8 years ago
Incidentally Loopback does not see any received bytes as well!  Frankly, I'm 
stumped.  I did not expect any issues from a modest bump from Froyo to 
Gingerbread to present issues to basic UART serial I/O.   
:(

Original comment by mbp...@gmail.com on 10 Jan 2014 at 5:23

GoogleCodeExporter commented 8 years ago
This is NOT a serial-port-api issue.  The Linux Kernel (2.6.35) Freescale iomux 
definitions were incorrect and had to be corrected.  The Serial port was 100% 
fully functional after this Kernel mod.

Original comment by mbp...@gmail.com on 14 Jan 2014 at 2:37

GoogleCodeExporter commented 8 years ago
This is good to know, thanks!

Original comment by cedric.p...@gmail.com on 27 Jan 2014 at 7:40