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

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
scurtis_1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

objectsCommented:
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
scurtis_1Author Commented:
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
objectsCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.