aspose file tools*
The moose likes Java in General and the fly likes Communication through Serial port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Communication through Serial port" Watch "Communication through Serial port" New topic
Author

Communication through Serial port

henisk reader
Greenhorn

Joined: Oct 18, 2003
Posts: 7
I am tryying for communicaion through serial port
for that i download javax.comm api
written code
in code getCommunicationIdentifiers method is retuning nothing in
result ie empth enumeration .Can someone help me to locate where i
have done the misteck or some thing more is required for communication
through serial port
Thanks in Advace
Please help
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I think the usual cause for not finding any serial ports is having the properties file in the wrong place. Try putting copies in various spots under JAVA_HOME/jre
Bill
henisk reader
Greenhorn

Joined: Oct 18, 2003
Posts: 7
Thanks i got it .
but i need to do the same in Red hat linux sun is not providing
javax.comm package for redhat linux
please guide me so that i am able to do
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I can't help you there, but a Google search for "comm api for linux" turned up a bunch of hits.
henisk reader
Greenhorn

Joined: Oct 18, 2003
Posts: 7
Thanks Rest i will manage
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Communication through Serial port