Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

Communicating withCOM1 port

Thread view: 
lrantisi - 08 Feb 2007 00:58 GMT
How can I communicate with COM1 port using JAVA application.
Is there a good link for that please
Thank you
Knute Johnson - 08 Feb 2007 01:31 GMT
> How can I communicate with COM1 port using JAVA application.
> Is there a good link for that please
> Thank you

Windows or Linux?

Signature

Knute Johnson
email s/nospam/knute/

Macallen - 08 Feb 2007 07:07 GMT
here is a smslib
maybe you can find some useful thing here:
http://smslib.sourceforge.net/
RedGrittyBrick - 13 Feb 2007 20:06 GMT
> How can I communicate with COM1 port using JAVA application.

I was looking into this today.

Sun created the Java Communications API (javax.comm) for this, at one
point they supported a javax.comm implementation for Windows but now
they only support Solaris and Linux (and maybe some other Unix
variants). So if you want to use Sun's javax.comm on Windows you need to
track down an old version of javax.comm Jar and DLL. Unsatisfactory.

You can open COM1: using an ordinary file I/O. Unfortunately you can't
read and write concurrently so this is of limited use.
<http://www.rgagnon.com/javadetails/java-0062.html>

Doubtless there are commercial products you can buy that provide Java
with the capability to communicate with COM1.

> Is there a good link for that please

<http://www.google.com/>   :-)

ISTR Roedy Green's Java website has some stuff on SerialPorts
Knute Johnson - 14 Feb 2007 00:42 GMT
>> How can I communicate with COM1 port using JAVA application.
>
[quoted text clipped - 18 lines]
>
> ISTR Roedy Green's Java website has some stuff on SerialPorts

I do a lot of serial stuff and the Java Comm API is still the only
library that works.  With the situation the way it is I am really
tempted to write my own JNI library.

Signature

Knute Johnson
email s/nospam/knute/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.