Sanav GC-101 Manuel d'installation Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
9.1.2) Default "gprmc" Configuration:
The default "gprmc" cofiguration (with no special configuration changes made in the "webapp.conf" file) expects a
http-based URL formatted as follows: (the URL below displays the various fields on separate lines, but is normally sent
to the server as a single URL all on a single line):
http://example.com:8080/gprmc/Data?
id=123456789012345&
code=0xF020&
gprmc=$GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,,,A*1C
Where
http://example.com:8080/gprmc/Data?
Represents the host:port ("example.com:8080") and "gprmc.war" servlet location ("/gprmc/Data?")
123456789012345
Represents the unique mobile ID of the device (such as the IMEI#). (This value should be entered into the "Device Admin"
page "Unique ID" field in the format "gprmc_123456789012345").
0xF020
Represents the status code used for identifying the reason for the event. The status code used here should match the hex, or
decimal value of a status code listed in the "Status Codes and Descriptions" manual at the following location:
http://www.geotelematic.com/docs/StatusCodes.pdf
In addition to one of the above hex/decimal status codes, any of the following text code names may also be used, which will
automatically be converted into it's corresponding hex-based status code when it is entered into the EventData table: GPS,
PANIC, WAYMARK, etc, (see gprmc source module "Data.java" for a current list).
$GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,,,A*1C
Represents the NMEA-0183 $GPRMC record straight from the GPS receiver.
9.1.3) Building the "gprmc" Servlet:
The "gprmc.war" file is automatically built by the OpenGTS "ant all" command, but can also be built specifically with
the following command:
ant gprmc
After making any configuration changes to the above properties, the "gprmc.war" file must be rebuilt and redeployed in
order for the configuration changes to take effect.
If you need to make changes to this source module to support your device, it is recommended that you copy the source
files to an new directory (remember to change the Java package name, and also copy/modify the "web.xml" information
found at "war/gprmc/WEB-INF/web.xml"), then modify the copied sources with the specific changes required by your
tracking device.
This module will need to be configured and installed in a servlet container, similar to the installation process used for
other servlets in this documentation.
Consult the 'gprmc' server source code directly for additional information. (Source code for this module can be found in
the directory "src/org/opengts/war/gprmc/").
OpenGTS Configuration and Installation Manual Page 34 of 60
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 59 60

Commentaires sur ces manuels

Pas de commentaire