搜索
bottom↓
回复: 10

NMEA协议屏蔽不需要的语句指令是什么

[复制链接]

出0入0汤圆

发表于 2017-6-13 15:10:22 | 显示全部楼层 |阅读模式
现在只需要用ublox定位信息的GPRMC即可,因为默认的是输出7条不同的语句,所以需要屏蔽掉其余6条指令,有哪位知道是什么指令

阿莫论坛20周年了!感谢大家的支持与爱护!!

月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!

出0入0汤圆

发表于 2017-6-14 20:50:29 | 显示全部楼层
The NMEA protocol on u-blox receivers can be configured to the need of customer applications using
CFG-NMEA.
There are two NMEA standards supported. The default NMEA version is 2.3. Alternatively version 2.1 can be
enabled (for details on how this affects the output refer to section Position Fix Flags in NMEA Mode).
The NMEA standard differentiates between GPS, GLONASS, and combined GNSS receivers using a two-letter
message identifier, the 'Talker ID'. Depending upon device model and system configuration, the u-blox receiver
could output messages using any one of these Talker IDs.
By default, receivers configured to support GPS, SBAS and QZSS use the 'GP' Talker ID, receivers configured to
support GLONASS use the 'GL' Talker Id, and receivers configured for any other GNSS or any other
combinations of GNSS use the 'GN' Talker ID
NMEA defines a satellite numbering system for GPS, SBAS, and GLONASS. Satellite numbers for other GNSS
can be configured using CFG-NMEA. Unknown satellite numbers are always reported as a null NMEA field (i.e.
GPS.G7-SW-12001-B Public Release Page 48 of 196
an empty string)
The NMEA specification indicates that the GGA message is GPS specific. However, u-blox recievers support the
output of a GGA message for each of the Talker IDs.

出0入0汤圆

发表于 2017-8-16 12:29:49 来自手机 | 显示全部楼层
开u center 设定选config选msg,msg里有打勾的就有输出呵呵

出0入0汤圆

 楼主| 发表于 2017-8-16 17:28:44 | 显示全部楼层
2005n2005 发表于 2017-8-16 12:29
开u center 设定选config选msg,msg里有打勾的就有输出呵呵

我用的单片机控制 必须知道命令数据流

出0入0汤圆

 楼主| 发表于 2017-8-16 17:29:11 | 显示全部楼层
其实很简单 发表于 2017-8-16 17:28
我用的单片机控制 必须知道命令数据流

不过已经搞定了 是一开始那个gps模块坑了

出0入0汤圆

发表于 2017-8-18 09:08:13 来自手机 | 显示全部楼层
搭车问一下,如果是iic接口怎么设置??我是把ucenter 设置的数据直接发过去。iic写。但没效果

出0入0汤圆

 楼主| 发表于 2017-8-18 17:18:25 | 显示全部楼层
inkfish321 发表于 2017-8-18 09:08
搭车问一下,如果是iic接口怎么设置??我是把ucenter 设置的数据直接发过去。iic写。但没效果 ...

没用他自带的iic 只用了串口 不好意思哈

出0入0汤圆

发表于 2017-8-18 21:12:52 | 显示全部楼层
其实很简单 发表于 2017-8-16 17:29
不过已经搞定了 是一开始那个gps模块坑了

哥们,自己的问题解决了,分享一下怎么实现的,
以后有人查到这个贴,就可以解决问题了。谢谢!

出0入0汤圆

发表于 2017-8-18 21:20:36 | 显示全部楼层
这个没有仔细研究过,一起项目上用的时候,直接把其他数据包丢弃了,

出0入0汤圆

 楼主| 发表于 2017-8-18 22:01:10 | 显示全部楼层
kation122 发表于 2017-8-18 21:12
哥们,自己的问题解决了,分享一下怎么实现的,
以后有人查到这个贴,就可以解决问题了。谢谢! ...

等我回公司了 把命令找到发一下 其实就是用串口监听助手抓数据 然后用单片机发就行了
不过手册上说可以用模块自带的flash保存设置,不过没有成功过
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-26 08:33

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表