Solved

Hayes AT commands in Linux?

Posted on 2001-08-31
4
245 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java jdbc batch example 8 35
MySQL  on Tomcat 8 46
null output 3 25
Java syntax, or is it Selenium 6 14
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

803 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