NMEA 句子 - PGLOR、GNGSA 和 QZGSA
我正在编写一个 Android 应用程序,它可以从 GPS 接收器读取和解析 NMEA 句子,并使用 Nexus S 手机进行测试。
我得到了 GPGGA、GPGSV、GPGSA 和 GPRMC 句子,这些句子非常常见并且有很好的记录,但此外,我得到了下一个句子,但我找不到有关它们的任何信息:PGLOR、GNGSA、QZGSA
我在哪里可以找到有关这些句子格式的一些文档?
I'm writing an Android app that reads and parses NMEA sentences from GPS receiver and using a Nexus S phone for tests.
I'm getting GPGGA, GPGSV, GPGSA and GPRMC sentences that are pretty common and very well documented, but in addition, I'm getting next sentences and I'cant find any info about them:PGLOR, GNGSA, QZGSA
Where I can find some docs about those sentences format?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当使用多个卫星星座构成句子时,通常使用 $GN 前缀(到目前为止,通常 Glonass 和 GPS 是可行的选择)。 $QZ 前缀有点不清楚,但我认为它是针对日本 QZSS 卫星星座的。
前缀后的其余句子是标准 NMEA 0183,包含正常 GSA 句子将包含的内容。
$PGLOR 可能用于产生信息和/或配置定位芯片。或者类似的无趣的事情。
真正有趣的是,Nexus S 似乎有一个 Multi GNSS 定位芯片。
更多信息此处
The $GN-prefix is usually used when the sentence is formed using several satellite constellations (so far usually Glonass and GPS are the viable options). The $QZ-prefix is a little more unclear but I assume that it is for the Japanese QZSS-satellite constellation.
The rest of the sentence after the prefix is standard NMEA 0183 and contains what the normal GSA-sentence would contain.
The $PGLOR is probably used to produce information and / or configure the locationing chip. Or something similarly uninteresting.
What's really interesting is that Nexus S seems to have a Multi GNSS locationing chip.
Further information here
我最近编写了一个解析 GPGGA NMEA 字符串的应用程序,我的建议是解析您需要的内容,并保留其余的。一般来说,您不需要所有格式,只需要特定的格式。
I recently wrote an app that parsed the GPGGA NMEA strings, my advice is parse what you need, and leave the rest. Generally you don't need all formats, only specific ones.
前两个字符通常定义发送消息的设备类型,最后三个字符是消息的类型。
$GNGSA
和$QZGSA
应报告与$GPGSA
相同或相似的数据,这些数据将是卫星数据,包括精度因子。我不知道这些来自哪个设备,但这里提到了
GN
:http://macrogroup.ru/content/data/store/images/f_1072_5353_1.pdf关于
$PGLOR
... 我不知道。也许如果您可以发布内部使用的芯片组,则可以查阅其文档。The first two characters typically define the type of device sending the message, with the last three being the type of message.
$GNGSA
and$QZGSA
should be reporting the same or similar data as$GPGSA
, which would be satellite data, including dilution of precision.I don't know which device these come from, but
GN
is mentioned here: http://macrogroup.ru/content/data/store/images/f_1072_5353_1.pdfRegarding
$PGLOR
... I'm not sure. Perhaps if you could post what chipset is used internally, its documentation could be consulted.