Solved

Hayes AT commands in Linux?

Posted on 2001-08-31
4
243 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
Comment Utility
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
Comment Utility
But it needs some installation .. so it's not really independent
0
 
LVL 2

Author Comment

by:_marko_
Comment Utility
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
Comment Utility
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

744 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

12 Experts available now in Live!

Get 1:1 Help Now