Hi Miguel;<br>The GPS device is a hardware equipment; there is no OS; it can detect the GPRS signals; it accepts commands and send NMEA frames (frames that contain the geographic position od the device; speed, ..etc), collected from the satellite...My problem is how to send commands to it via the GPRS network. <br>NB: I can send ommand through the serial port or the HyperTerminal...<br>Anyway; thank you for your time.<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 Dorra,<br> <br>I don't know your requisites, but are you really sure you need to program low-level GPRS communications?<br> <br>I mean, if you have a device with a right set-up, it will automatically connect to your GPRS/UMTS/HSDPA provider whenever any process needs an IP connection.<br> <br>For instance in gvSIG Mobile, we use gnu.io to connect to a
GPS through a serial port, but we don't need to program any specific communications software to access a remote WMS service. The device automatically starts-up the connection when the application tries to reach an URL.<br> <br>You can test this by openning your Internet browser in the device and typing any URL. The device should try to connect automatically.<br> <br>Does this help?<br> <br>Cheers<br> <br><br>---------------------------------<br><br>Miguel Montesinos<br><br>Director Técnico<br><br>PRODEVELOP<br><br>C/ Conde Salvatierra, 34 - 10<br><br>46004 Valencia. Spain<br><br>e-mail: mmontesinos@prodevelop.es<br><br>http://www.prodevelop.es<br><br>Tlf: +34 963510612<br><br> <br><br> <br><br><br>________________________________<br><br> From: discuss-bounces@lists.osgeo.org [mailto:discuss-bounces@lists.osgeo.org] On Behalf Of dorra labidi<br> Sent: Monday, April 14, 2008 11:22 AM<br> To: OSGeo Discussions<br> Subject: RE : RE: [OSGeo-Discuss] GPRS connection API<br> <br>
<br> 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> Miguel Montesinos <mmontesinos@prodevelop.es> a écrit : <br><br> 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> <br><br><br> ________________________________<br><br> Envoyé avec Yahoo! Mail <http: mailuk="" taglines="" isp="" control="" *http:="" us.rd.yahoo.com="" evt="52423/*http://fr.docs.yahoo.com/mail/overview/index.html"> .<br> Une
boite mail plus intelligente. <br><br>_______________________________________________<br>Discuss mailing list<br>Discuss@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/discuss<br></http:></mmontesinos@prodevelop.es></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>