11 messages in net.java.dev.phoneme.advancedproblem during serial port communication
FromSent OnAttachments
phon...@mobileandembedded.orgMar 24, 2008 11:02 am 
Gary AdamsMar 24, 2008 11:45 am 
Hinkmond WongMar 24, 2008 5:37 pm 
phon...@mobileandembedded.orgMar 25, 2008 6:46 am 
Hinkmond WongMar 26, 2008 8:39 pm 
phon...@mobileandembedded.orgMar 28, 2008 10:08 am 
Hinkmond WongMar 28, 2008 12:50 pm 
Gary AdamsMar 28, 2008 1:05 pm 
Hinkmond WongMar 28, 2008 1:33 pm 
phon...@mobileandembedded.orgMar 29, 2008 3:51 am 
Hinkmond WongMar 31, 2008 10:46 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:problem during serial port communicationActions...
From:phon...@mobileandembedded.org (phon@mobileandembedded.org)
Date:Mar 24, 2008 11:02:36 am
List:net.java.dev.phoneme.advanced

hi,

i want to communicate with a device (which has linux on it), through serial
port, but the problem is that i am unable to see all of my ports. i have run the
following utility program on the target device, given in CDC's documentation, to
list down my comm ports.

String port1; String ports = System.getProperty("microedition.commports"); int comma = ports.indexOf(','); if (comma > 0) { // Parse the first port from the available ports list. port1 = ports.substring(0, comma); } else { // Only one serial port available. port1 =ports; }

but, it always lists just one port /dev/ttyS0. i'm sure about the availability
of /dev/ttyS1 on the target as i have used it to boot the device. so, what could
be the problem?

regards, khan. [Message sent by forum member 'sandykhan' (sandykhan)]

http://forums.java.net/jive/thread.jspa?messageID=265530