Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to test a GPRMC HTTP server in my OpenGTS application.

I've set up the web interface as per the configuration instructions on: opengts.sourceforge.net/OpenGTS_Config.pdf

As far as the gprmc server goes, the instructions are pretty vague. I am attempting to add a gps point via http using

VB
http://localhost.com:8080/gprmc/Data?
acct=demo&dev=123&
code=0xF020&
gprmc=$GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,,A*1C


Where
http://localhost.com:8080/gprmc/Data?
Represents the host:port ("example.com:8080") and "gprmc.war" servlet location ("/gprmc/Data?")

123
Represents the unique mobile ID of the device (such as the IMEI#). (This value has been 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.

$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.

I put this URL into my browser, having apache tomcat server already started up but I keep getting the error "could not connect to localhost.com:8080". This is puzzling as I can access http://localhost:8080/track/Track.

I suspect that I need to make changes to the template server in order to set up the gprmc server but I do not know what changes to make. Please Help.
Posted

1 solution

Did you deploy the gprmc.war file? You need that file to parse the querystring.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900