[Rxtx] problem with serial port under Windows Mobile

Andrea Carlino andrea.carlinoa at gmail.com
Thu Nov 11 08:39:03 MST 2010


Hi all,
I have a problem I'm trying to solve but it seems much harder than expected.


I need to read serial port on a Windows Mobile 6.5 device.
Over it there is a J9 JVM and over the JVM an OSGi Framework.
I need to develop a bundle (which is a simple jar application for the OSGi
Framework) which should use serial ports.

I tried many solution proposed in different forums, and also the procedure
based on RXTX on the rxtx Wiki website, but I wasn't able to find a
solution.
Moreover I couldn't find any forum where someone faced and solved the same
problem!

It's two days I'm struggling on this, can anyone help me?!

I followed the instructins on page
http://rxtx.qbang.org/wiki/index.php/Using_RXTX_In_Eclipse and was able to
compile the bundle and exporting it from Eclipse to the device but when I
run the bundle on the J9 and OSGi framework I get a dll problem:

java.lang.UnsatisfiedLinkError: rxtxSerial ((193) %1 is not a valid Win32
application.) thrown when loading gnu.io.RXTXCommDriver


I don't know how to solve this problem...any ideas? did anyone test some
similar conditions?

Please, I really need help!


Thanks,

Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20101111/b685a38c/attachment-0647.htm>


More information about the Rxtx mailing list