GPS GPRS,如何接收和处理实时数据 [英] GPS GPRS, how to receive and process live data

查看:143
本文介绍了GPS GPRS,如何接收和处理实时数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带GPRS的GPS和一个活动SIM卡.如何将GPRS数据定向到特定网站(IP端口_,我相信使用端口3500).我不知道如何获取GPS/GPRS数据传输,也不知道如何(或应该做什么)处理传入的数据.

I have a GPS with a GPRS with an active SIM card. How do I go about directing the GPRS data to a specific website (IP port_ I believe port 3500 is used). I do not know how to acquire the GPS/GPRS data transmission and do not know how (or what should be done) to process the incoming data.

我不熟悉GPRS数据走的路线以及如何获取和处理它.我认为它将需要HTML/XML.我想实时处理.

I am not familiar with the route the GPRS data goes and how to acquire and process it. I assume it would need HTML/XML. I would like to process in real time.

GPS通常会以哪种格式发送数据? GPX,csv?

Also what format would a GPS normally send data? GPX, csv?

推荐答案

关于您的第一个问题,我没有太多帮助,但是关于您的第二个问题;
大多数GPS将以NMEA格式发送信息.这是一系列文本句子,一个接一个,一个接一个地发送.

I can't be much help with your first question, but as for your second question;
Most GPS's will send information in a format call NMEA. It is a series of text sentences one after the other sent serially.

句子看起来像这样:-

$GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76
$GPGSA,A,3,10,07,05,02,29,04,08,13,,,,,1.72,1.03,1.38*0A
$GPGSV,3,1,11,10,63,137,17,07,61,098,15,05,59,290,20,08,54,157,30*70
$GPGSV,3,2,11,02,39,223,19,13,28,070,17,26,23,252,,04,14,186,14*79
$GPGSV,3,3,11,29,09,301,24,16,09,020,,36,,,*76

不太漂亮,但是效果很好.船桥上的系统使用这种格式在彼此之间传递信息.

Not pretty, but they work quite well. The systems on the bridge of a ship use this format to pass information between each other.

您将在此处如果您只想选择一两个句子类型,那应该不会太困难.我认为最困难的部分实际上是与GPS接口,以便您可以首先接收句子.

If you only want to pick out one or two sentence types, it shouldn't be too difficult. I think the hardest part will be actually interfacing with the GPS to allow you to receive the sentences in the first place.

这篇关于GPS GPRS,如何接收和处理实时数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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