如何将GPRMC http服务器添加到OpenGTS? [英] How do I add GPRMC http server to OpenGTS?

查看:85
本文介绍了如何将GPRMC http服务器添加到OpenGTS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在OpenGTS应用程序中测试GPRMC HTTP服务器。



我按照以下配置说明设置了网页界面:opengts.sourceforge.net/OpenGTS_Config.pdf



就gprmc服务器而言,指令非常模糊。我试图通过http添加一个gps点使用



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

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





哪里

http://localhost.com:8080/gprmc/Data?

代表主机:端口(example.com:8080)和gprmc.warservlet位置(/ gprmc / Data?)



123

表示设备的唯一移动ID(例如IMEI#)。 (此值已输入设备管理页面唯一ID字段,格式为gprmc_123456789012345。



0xF020

表示用于识别事件原因的状态代码。



$ GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707 ,, A * 1C

代表直接来自GPS接收器的NMEA-0183 $ GPRMC记录。



我将此URL放入浏览器,apache tomcat服务器已经启动但我不断收到错误无法连接到localhost.com:8080。这很令人费解,因为我可以访问http:// localhost:8080 / track / Track。



我怀疑我需要对模板服务器进行更改才能设置gprmc服务器,但我不知道要做什么更改。请帮助。



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.

推荐答案

GPRMC, 080701 00 ,A, 3128 7540 ,N, 14257 6714 ,W, 000 0 000 0 180707 ,, A * 1C
GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,,A*1C





其中

http://localhost.com:8080/ gprmc / Data?

表示host:port(example.com:8080)和gprmc.warservlet位置(/ gprmc / Data?)



123

表示设备的唯一移动ID(例如IMEI#)。 (此值已输入设备管理页面唯一ID字段,格式为gprmc_123456789012345。



0xF020

表示用于识别事件原因的状态代码。




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

代表直接来自GPS接收器的NMEA-0183
GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,,A*1C
Represents the NMEA-0183


GPRMC记录。



我把这个URL放到我的浏览器中,apache tomcat服务器已经启动但我一直收到错误无法连接到localhost.com:8080。这很令人费解,因为我可以访问http:// localhost:8080 / track / Track。



我怀疑我需要对模板服务器进行更改才能设置gprmc服务器,但我不知道要做什么更改。请帮忙。
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.


这篇关于如何将GPRMC http服务器添加到OpenGTS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆