GPS GPRS,如何接收和处理实时数据

发布于 2024-11-18 22:23:57 字数 220 浏览 13 评论 0 原文

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

我不熟悉GPRS数据的传输路径以及如何获取和处理数据。我认为它需要 HTML/XML。我想实时处理。

GPS 通常发送数据的格式是什么? GPX、csv?

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.

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.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

成熟的代价 2024-11-25 22:23:57

对于你的第一个问题我帮不了什么忙,但对于你的第二个问题;
大多数 GPS 都会以 NMEA 格式发送信息。它是一系列依次发送的文本句子。

这些句子看起来像这样:-

$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

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

您可以在此处这里

如果您只想挑选一两种句子类型,应该不会太困难。我认为最难的部分实际上是与 GPS 接口,让你首先接收句子。

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.

The sentences will look somethink like this:-

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

You will find more information here and here

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文