Hi,
     I'm writing an android jni project to access the serial ports,
e.g. /dev/ttyS1, however, I get the following error:

I/SerialLibrary( 1070): Opening serial port /dev/ttyS0 : baud rate=
19200, bits = 8, parity = 0, stop bits = 1
E/SerialLibrary( 1070): cssl: cannot open file

What should I do to get the android jni library to access /dev/ttyS0?
The program works fine when I use it without android on the same
target, so I'm wondering if some specific permissions or something
extra needs to be set in order to allow an android jni project to gain
access to /dev/ttyS0?

Elvis


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to