11 messages in net.java.dev.phoneme.advancedRe: problem during serial port commun...
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:Re: problem during serial port communicationActions...
From:Hinkmond Wong (hink@dev.java.net)
Date:Mar 26, 2008 8:39:12 pm
List:net.java.dev.phoneme.advanced

hi hinkmond, thanks for your support. i have tried to communicate with /dev/ttyS1, but an
IOException was thrown when i tried to open the port. i booted the device with a
serial cable connecting it with my linux machine. so, /dev/ttyS0 might be in use
(and i think it is). i used the following code to open the port:

try { CommConnection comPort = (CommConnection) Connector.open("comm:COM1"); } catch(IOException e) { System.out.println("not opened"); }

i have also tried it by passing "comm:COM0" , "comm:COM2" , "comm:com1" ,
"comm:/dev/ttyS1" etc. as argument to Connector.open(), but the port was not
opened and always IOException was thrown. so, i need help to open the serial
port

Hi Khan,

Can you first verify you can use the Linux native tool minicom to connect to your /dev/ttyS1?

Does this work on your device?

minicom dfl ttyS1

(You might need to build minicom for your device depending on which Linux distro you are using)

Hinkmond