本文介绍了ublox GPS奇怪字符散布在NMEA输出中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将ublox GPS用于数据采集应用程序.设备正在虚拟COM端口上输出NMEA.

I am using a ublox GPS for a data acquisition application. The device is outputting NMEA on a virtual COM port.

NMEA输出工作正常.但是在NMEA消息之间散布着奇怪的字符.设置为"Ascii",请参见Realterm的以下屏幕截图.

The NMEA output works just fine. But between the NMEA messages strange characters are interspersed. See screenshot below from Realterm with setting "Ascii".

有人可以告诉我这是什么吗?理想情况下,我需要向设备发送哪些命令以禁用此输出?

Can somebody tell me what this is? And ideally what commands I would need to send to the device to disable this output?

推荐答案

您应禁用UBX二进制协议. NMEA和UBX消息在同一端口上交错.这可以通过发送UBX-CFG-PRT消息来禁用端口上的UBX输出协议来完成.您可以使用u-blox 网站执行此任务.另一种方法是重新刷新设备或取出备用电池.它应该默认只返回到NMEA.

You should disable the UBX binary protocol. The NMEA and UBX messages are interleaved on the same port. This can be done by sending UBX-CFG-PRT message disabling the UBX output protocol on your port. You can use the handy u-center application avaiable from u-blox website to perfrom this task.An alternative is to reflash the device or remove the backup battery. It should default back to NMEA only.

这篇关于ublox GPS奇怪字符散布在NMEA输出中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!