Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using Java to Make a GPRS Connection with a Wavecom Fasttrack (GPRS) Modem

Posted on 2003-11-19
3
Medium Priority
?
1,213 Views
Last Modified: 2008-02-01
Hi,

I have a basic Java application that communicates with over a GPRS connection. Until now we have been using the Motorola v66e GPRS mobile phone connected to a USB port as our GPRS modem. This phone comes with a handy tool called GPRS Manager which is used to make the initial connection to the APN (or whatever?).

I now have write a Java application that actually makes the connection aswell as communicate over it, but using a new Wavecom GPRS Modem connected to com1 and installed as a Standard Windows Modem (9600). I was wondering if there was a Java API out there that would allow me to make a connection (with the least hassle - ie with the smallest learning curve, as I know near to nothing about AT commands etc) or if someone has a simple piece of code in Java that can make a GPRS connection using the Wavecom Modem (or any modem, as I can adapt it to my own needs if I have to)?

Thanks
Scott Curtis
0
Comment
Question by:scurtis_1
[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
  • 2
3 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 1000 total points
ID: 9782823
You'll need to use the Java COMM api to talk to the modem:
http://java.sun.com/products/javacomm/ 

But you'll need to work out what commands need to be sent to the modem yourself.
0
 

Author Comment

by:scurtis_1
ID: 9783207
Thanks for your quick response.

I forgot to mention that this has to be done in a very short timeframe (end of tomorrow...). I have the Java Comm API set up but I have no knowledge of how to use it (and therefore was hoping to miss out the learning curve required in order to get something working with it - I know I am trying to cheat!!). I was hoping that would be my last option and instead there was someone out there with knowledge of this modem and the exact command set I would need to pass in order to get a connection. I am trying the Hardware vendors but they aren't very helpful on the subject, to date.

As an example of the sorts of thing I am looking for, I had to recently do a similar task over a GSM modem and I found a lot of nice Java API's and tools out there for communicating with GSM modems (ended up using jSMSEngine). I was hoping there might be something similar for GPRS communication but searches on all of my usually resources have proved unsuccessful.

In place of an actual silver bullet solution to this (that is, unless someone does have an existing solution, they would like to share???), does anyone have a good example of communicating with a modem using the Java Comm API? Maybe after finding out the exact command set I need, I can adapt the example to communicate with my particular modem?

(I will post this on the GPRS and modem channels aswell, just in case it seems out of place here? I was just hoping to concentrate on the Java perspective for now)

Thanks
0
 
LVL 92

Accepted Solution

by:
objects earned 1000 total points
ID: 9783261
I did a search as well and came up empty.

Javacomm includes a few examples of it's usage.

Posting in the GPRS/Modems topics is a good idea as they may know what needs to be sent to the modem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

636 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