Hi Miguel, Thank you for your advice; <br><br>No problem for the OS; my Os is windows. <br>Do you think that the GPRS connexion depends on the GPS device?<br>The javax.comm.*, as far as I know, offer 3 connection types: serial,parallel and using sockets.<br><br>In my case; I have two parameter for the connexion: the APN and the port number. Perhaps, should I deal with the APN as an URL and the connexion will be set up transparently?!!!!<br><br><b><i>Miguel Montesinos <mmontesinos@prodevelop.es></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi,<br><br>Just one note. Javax.comm.* only runs on Solaris and Windows. If you need Linux, Mac OS X, ... support, you'll need other "plug-ins" for original Sun package.<br><br>Here you have one GPL project we're using at gvSIG[1]<br><br>I've not used AT commands and GPRS communications in Java, but have done in C++. One advise: think in all
possible problems, link failures, coverage problems, ... They'll certainly happen ;-)<br><br>Regards<br><br>[1] http://www.rxtx.org/<br><br>---------------------------------<br>Miguel Montesinos<br>Director Técnico<br>PRODEVELOP<br>C/ Conde Salvatierra, 34 - 10<br>46004 Valencia. Spain<br>e-mail: mmontesinos@prodevelop.es<br>http://www.prodevelop.es<br>Tlf: +34 963510612<br><br> <br><br>>-----Original Message-----<br>>From: discuss-bounces@lists.osgeo.org <br>>[mailto:discuss-bounces@lists.osgeo.org] On Behalf Of Mateusz Loskot<br>>Sent: Friday, April 11, 2008 1:44 PM<br>>To: OSGeo Discussions<br>>Subject: Re: [OSGeo-Discuss] GPRS connection API<br>><br>>dorra labidi wrote:<br>>> Hello all; I am developping a fleet management application <br>>using java. <br>>> I need to connect to the GPS box using GPRS network.<br>>> <br>>> My question: Is there a java API for the GPRS connection?<br>><br>>AFAIK, there is no
dedicated GPRS API. Instead, you can use <br>>Java Comm API [1] and issue AT commands to GPRS modem manually <br>>to establish and control connection. After connection is <br>>established, you can use sockets to exchange data.<br>><br>>That's the common solution I'm aware of.<br>><br>>[1] http://java.sun.com/products/javacomm/index.jsp<br>>--<br>>Mateusz Loskot<br>>http://mateusz.loskot.net<br>>_______________________________________________<br>>Discuss mailing list<br>>Discuss@lists.osgeo.org<br>>http://lists.osgeo.org/mailman/listinfo/discuss<br>><br>_______________________________________________<br>Discuss mailing list<br>Discuss@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/discuss<br></blockquote><br><p> 
<hr size="1">
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a>