Re: [OSGeo-Discuss] GPRS connection API

2008-04-11 Thread Tyler Mitchell (OSGeo)

On 11-Apr-08, at 12:38 AM, dorra labidi wrote:

Hello all;
I am developping a fleet management application using java. I need  
to connect to the GPS box using GPRS network.


My question: Is there a java API for the GPRS connection?

Thank you in advance...


From what I've seen, some embedded GPRS platforms provide a simple  
serial port connection to the operating system so that GPRS  
connections themselves aren't any different than other modems.  I  
don't really know Java, but perhaps depending on your needs and  
platforms, all you might need is the Java Communications API.


Tyler
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


[OSGeo-Discuss] GPRS connection API

2008-04-11 Thread dorra labidi
Hello all;
I am developping a fleet management application using java. I need to connect 
to the GPS box using GPRS network.

My question: Is there a java API for the GPRS connection? 

Thank you in advance...

Dorra

   
-
 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. ___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


RE : Re: [OSGeo-Discuss] GPRS connection API

2008-04-11 Thread dorra labidi
There is a major difference between serial port connection and GPRS 
connection: The GPRS connection involves the APN as connection parameter in 
addition to the port name and the ip address...

Tyler Mitchell (OSGeo) [EMAIL PROTECTED] a écrit : On 11-Apr-08, at 12:38 
AM, dorra labidi wrote:
 Hello all;
 I am developping a fleet management application using java. I need  
 to connect to the GPS box using GPRS network.

 My question: Is there a java API for the GPRS connection?

 Thank you in advance...

 From what I've seen, some embedded GPRS platforms provide a simple  
serial port connection to the operating system so that GPRS  
connections themselves aren't any different than other modems.  I  
don't really know Java, but perhaps depending on your needs and  
platforms, all you might need is the Java Communications API.

Tyler
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


   
-
 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. ___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] GPRS connection API

2008-04-11 Thread Mateusz Loskot

dorra labidi wrote:

Hello all; I am developping a fleet management application using
java. I need to connect to the GPS box using GPRS network.

My question: Is there a java API for the GPRS connection?


AFAIK, there is no dedicated GPRS API. Instead, you can use Java Comm 
API [1] and issue AT commands to GPRS modem manually to establish and 
control connection. After connection is established, you can use

sockets to exchange data.

That's the common solution I'm aware of.

[1] http://java.sun.com/products/javacomm/index.jsp
--
Mateusz Loskot
http://mateusz.loskot.net
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss