GPS 初始化字符串?

发布于 2024-11-16 08:31:47 字数 873 浏览 3 评论 0原文

我正在创建一个非常简单的应用程序来读取 GPS 信息。信息以 NMEA0183 格式通过蓝牙 (COM3) 发送。

一切都很好,除了我找不到我的位置,因为 RMC 和 GGA 语句是空的。我收到其他带有卫星信息和定位的句子,但我想要的只是我当前的位置(经/纬度)

这是我当前收到的一些示例:

$GPZDA,,,,,,*48
$GPGGA,,,,,,,,,,,,,,*56
$GPGLL,,,,,,,*7C
$GPRMC,,,,,,,,,,,*67
$GPGST,,,,,,,,,,,,,,*57
$GPGSA,M,3,09,18,22,14,,,,,,,,,12.2,11.8,3.0*31
$GPGRS,,,,,,,,,,,,,,*51
$GPVTG,30.124,T,30.124,M,0.067,N,0.125,K*49
$GPGSV,2,1,08,22,78,283,50,18,60,137,50,14,54,281,48,09,44,052,48*7F
$GPGSV,2,2,08,46,34,212,,51,28,222,,48,12,247,,35,06,254,*74

我尝试使用 Putty、GPS .NET 3.0.2 和我自己的程序,结果是一样的。但是当我连接名为 eZField 的专有软件时,GPS 在 20 秒后得到修复,我可以看到长/纬度显示。在 EZField 中,我看不到原始格式,而且由于它位于袖珍 PC 上,我不知道如何嗅探蓝牙数据以查看软件是否向 GPS 发送任何信息。

我最好的客人是 EZField 向 GPS 接收器发送一些信息,告诉他开始发送 RMC 和 GGA。我在某处读到有可以发送到 GPS 的“初始化字符串”,但我在任何地方都找不到有关此信息。我的 GPS 是 ViaSAT L1-GPS 接收器/SBAS。

有人可以帮助我吗? :) 感谢!

I'm creating a very simple application to read the info from a GPS. The information is sent on the bluetooth (COM3) in the NMEA0183 format.

Everything works good except that I can't find my position because the RMC and GGA sentence are empty. I receive other sentence with the satellite informations and positioning, but all I want is my current position (long/lat)

Here is some example of what I currently receive:

$GPZDA,,,,,,*48
$GPGGA,,,,,,,,,,,,,,*56
$GPGLL,,,,,,,*7C
$GPRMC,,,,,,,,,,,*67
$GPGST,,,,,,,,,,,,,,*57
$GPGSA,M,3,09,18,22,14,,,,,,,,,12.2,11.8,3.0*31
$GPGRS,,,,,,,,,,,,,,*51
$GPVTG,30.124,T,30.124,M,0.067,N,0.125,K*49
$GPGSV,2,1,08,22,78,283,50,18,60,137,50,14,54,281,48,09,44,052,48*7F
$GPGSV,2,2,08,46,34,212,,51,28,222,,48,12,247,,35,06,254,*74

I tried with Putty, GPS .NET 3.0.2 and my own program and the result is the same. BUT when I connect with the proprietary software called eZField, the GPS gets a fix after 20 seconds and I can see the long/lat showing. In EZField, I can't see the raw format and since it is on a pocket PC, I don't know how to sniff the bluetooth data to see if the software send any information to the GPS.

My best guest is that EZField sends some information to the GPS receiver to tell him to start sending RMC and GGA. I've read somewhere that there are "Initialization strings" that can be sent to a GPS but I can't find information about this anywhere. My GPS is a ViaSAT L1-GPS Receiver/SBAS.

Anyone can help me? :)
Thank!

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

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

发布评论

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

评论(1

反目相谮 2024-11-23 08:31:47

您的 GPS 似乎尚未修复。奇怪的是,GPS 并不是简单地自行开始搜索。大多数初始化字符串严格针对要发回的数据类型(例如 SiRFstar III 专有格式)。

将其与您的 PC 配对,并在启动一些串行端口监控软件后在其上运行该软件。这样,你就可以看到 init 是什么了。字符串是,如果有的话。

我经常使用这个: http://www.serial-port-monitor.com/

It looks like your GPS doesn't have a fix yet. It is odd though that the GPS doesn't simply start searching on its own. Most initilization strings are strictly for what type of data to send back (such as the SiRFstar III proprietary format).

Pair this to your PC and run the software on it after you have started up some serial port monitoring software. That way, you can see what the init. string is, if there is one.

I use this regularly: http://www.serial-port-monitor.com/

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