This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes RS-232 comm. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "RS-232 comm." Watch "RS-232 comm." New topic
Author

RS-232 comm.

Luis Valle
Greenhorn

Joined: Jan 08, 2001
Posts: 13
Hi All!
Is it possible to develop RS-232 applications with J2ME. I mean, could you access to the serial port of your PC with a J2ME phone with the MIDP 1.0 specification?
Thanks all!
Best Regards, Luis ´┐Żngel.
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
Originally posted by Luis Valle:
Is it possible to develop RS-232 applications with J2ME. I mean, could you access to the serial port of your PC with a J2ME phone with the MIDP 1.0 specification?


The answer is: maybe. J2ME is more oc a concept than a conrete platform. Going from vague to conrete, you have: J2ME, CDC/CLDC, MIDP/PDAP/Personal Profile, specific implementations. MIDP is the only finalized profile (unless you counter Personal Java, which is an earlier incarnation of Personal Profile). Since you're talking about phones, you'll need MIDP. MIDP only requires support for http. It doesn't specify how that connection works, i.e. through what medium; however, I think in every case it will be done through the wireless connection. Specific vendors may choose to add support for connecting through the serior port, or other IO options, but this is not required.
Bottom line: its up to the phone manufacturers.

--Mark
hershey@vaultus.com
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RS-232 comm.