![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
![]() |
|
Using Java to Make a GPRS Connection with a Wavecom Fasttrack (GPRS) Modem
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Fixed Error!
Posts: 4,202
Join Date: Mar 2007
Rep Power: 6
IM:
|
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)? |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Fixed Error!
Posts: 4,202
Join Date: Mar 2007
Rep Power: 6
IM:
|
// Setup Gprs String response; response = ata.send("AT^SJNET=GPRS," + gprsPoint + "," + gprsUser + "," + gprsPass + "\r"); if (response.indexOf("OK") >= 0) { System.out.println("GPRS Setup : OK " + gprsPoint); } Easy! |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|