Solved

Hayes AT commands in Linux?

Posted on 2001-08-31
4
248 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

724 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