Solved

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

Posted on 2003-11-19
3
1,175 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
  • 2
3 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 500 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 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

828 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