SIM868 GPS模块指令中文解释


GPS


//GPS开关


AT+CGNSPWR=1
AT+CGNSPWR=0

AT+CGNSIPR? 频率


是否定位成功:


AT+CGPSSTATUS?
Location 3D Fix 定位成功
Location Not Fix 定位失败


//每秒返回GPS信息到串口 GPS源码信息 需要解读


AT+CGNSTST=1
AT+CGNSTST=0

$GNGGA,094918.000,4151.398869,N,12328.764661,E,2,6,2.03,131.385,M,8.100,M,,*75
$GPGSA,A,3,19,17,09,,,,,,,,,,2.22,2.03,0.91*0E
$GLGSA,A,3,79,67,66,,,,,,,,,,2.22,2.03,0.91*1A
$GPGSV,3,1,11,19,76,133,39,17,56,137,49,02,37,287,,42,36,149,32*71
$GPGSV,3,2,11,09,34,116,37,23,30,072,14,03,11,046,22,25,05,330,19*7D
$GPGSV,3,3,11,31,,,23,11,,,21,07,,,20*7C
$GLGSV,3,1,09,66,66,139,44,81,66,013,19,88,39,096,,65,32,037,19*6D
$GLGSV,3,2,09,82,27,315,,67,22,189,37,80,14,297,,79,06,248,35*61
$GLGSV,3,3,09,73,02,352,*5E
$GNRMC,094918.000,A,4151.398869,N,12328.764661,E,0.00,108.60,020619,,,D*71
$GNVTG,108.60,T,,M,0.00,N,0.00,K,D*29
$GPACCURACY,20.0*3A

自动每秒获取位置信息


默认0
AT+CGNSURC?
AT+CGNSURC=1 每1秒调用AT+CGNSINF返回方便解读的CGNSINF信息 后面的数字是时间间隔,从0-225
AT+CGNSURC=0 关闭

+UGNSINF: 1,1,20190602094945.000,XX.XXXXXX,XXX.XXXXXX,131.385,0.00,108.6,2,,2.0,2.2,0.9,,13,6,,,49,,

**

返回GPS信息 1,0 失败 1,1成功

**
AT+CGNSINF

1,1,20190602092953.000,XX.XXXXXX,XXX.XXXXXX,136.833,0.00,0.0,2,,1.5,1.7,0.9,,7,7,,,41,,

你可能感兴趣的:(SIM868)