Solved

Hayes AT commands in Linux?

Posted on 2001-08-31
4
244 Views
Last Modified: 2012-05-04
Briefing:

1) I have a modem connected to the serial port on a Linux
2) I have JRE 1.3.1 installed on the Linux
3) My development computer is not a Linux, but a Win2k with JDK 1.3.1
4) I will increase the points of this Q as needed


Questions:

A) How do I send Hayes AT commands to the modem using Java?
B) Can this be done so the classes would remain platform independent?
C) Do I need to install any additional packages either on the develoment computer or the deployment computer?


Regards,

Marko
0
Comment
Question by:_marko_
  • 3
4 Comments
 
LVL 3

Expert Comment

by:daitt
ID: 6444382
Have a look at JCA:
http://java.sun.com/products/javacomm/javadocs/API_users_guide.html
You can interact with your modem through COM port, so it's still platform independent
0
 
LVL 3

Expert Comment

by:daitt
ID: 6444396
But it needs some installation .. so it's not really independent
0
 
LVL 2

Author Comment

by:_marko_
ID: 6454715
I only found the packages for Windows and Solaris. Do you have any knowledge if the Solaris package will also work in Linux?

Marko
0
 
LVL 3

Accepted Solution

by:
daitt earned 150 total points
ID: 6455093
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now