Serial port on J2ME

R

romain.alnet

Hello,

I would like to capture some data on a Pocket PC from a serial port.
To capture the data I need to use this configuration:
Baud Rate:9600
Data Bits:8
Parity:None
Stop Bits:1
Handshaking:Hardware (CTS/RTS)

What Java solution do you advice to achieve this in a Pocket PC??

My main problem is about seting the hadshaking to Hardware mode.

I have been reading the javadoc of javax.microedition.io.*

http://www.j2medev.com/api/wma/javax/microedition/io/CommConnection.html

But I don't find anything about it.

I just need a method working in J2ME to get the dataflow with the
configuration I gave with a timout.

Thanks for your ideas, samples, tutorials....

Best regards,
 
V

Vincent van Beveren

What Java solution do you advice to achieve this in a Pocket PC??
My main problem is about seting the hadshaking to Hardware mode.

I have been reading the javadoc of javax.microedition.io.*

http://www.j2medev.com/api/wma/javax/microedition/io/CommConnection.html

But I don't find anything about it.

I just need a method working in J2ME to get the dataflow with the
configuration I gave with a timout.

I've worked with the java communciation API and it doesn't have a
handshake parameter either. What is currently the problem? Its morelikly
to be an other setting.

Vincent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top