随笔分类 - carpc
摘要:一、命令结构描述1.中心发送命令结构*XX,YYYYYYYYYY,CMD,HHMMSS,PARA1,PARA2,…#* 命令头XX 制造商名称,两位固定ASCII字符, 分隔符YYYYYYYYYY车载机序列号CMD 命令号HHMMSS 命令时间:时/分/秒PARA 命令参数# 结束符命令字符中的英文字母一律使用大写,且不能插入空格。2.车载机返回信息结构一般信息:*XX,YYYYYYYYYY,V1,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMMYY,vehicle_status#定位信息:*XX,YYYYYYYYYY,V2,HHMMSS
阅读全文
摘要:$GPGGA,213035.000,3447.5084,N,11339.3580,E,1,07,1.6,97.9,M,-18.0,M,,0000*43
$GPGLL,3447.5084,N,11339.3580,E,213035.000,A*38
$GPGSA,A,3,16,30,13,31,23,06,03,,,,,,2.8,1.6,2.3*3E
$GPRMC,213035.000,A,3447.5084,N,11339.3580,E,0.22,341.45,141111,,*0D
$GPVTG,341.45,T,,M,0.22,N,0.4,K*63
阅读全文
摘要:1 public string DM2DD(string DegreeMinutes)
2 {
3 //转换NMEA协议的“度分”格式为十进制“度度”格式
4 string sDegree;
5 string sMinute;
6 string sReturn = "";
7 if (DegreeMinutes.IndexOf(".") == 4)
8 {
9 //DegreeMinutes = Replace(DegreeMinutes, ".", "")
10 //DM2DD = CDbl(Left(DegreeMinutes, 2)) + CDbl(Left(CStr(CDbl(Right(DegreeMinutes, Len(DegreeMinutes) - 2)) / 60), 8)) / 10000
11 DegreeMinutes = DegreeMinutes.Replace(".", "");
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Globalization;using System.Net;using System.IO;using System.Configuration;using System.Xml;
阅读全文
摘要:19 Interpreted sentences
$GPBOD - Bearing, origin to destination
$GPBWC - Bearing and distance to waypoint, great circle
$GPGGA - Global Positioning System Fix Data
$GPGLL - Geographic position, latitude / longitude
$GPGSA - GPS DOP and active satellites
$GPGSV - GPS Satellites in view
$GPHDT - Heading, True
$GPR00 - List of waypoints in currently active route
$GPRMA - Recommended minimum specific Loran-C data
$GPRMB - Recommended minimum navigation info
阅读全文
摘要:Disclaimer
This site is based on personal research and is believed to be accurate but there is no guarantee that any of the information is correct or suitable for any purpose. I have been told by the NMEA folks that my information is old and out of date. The current version of NMEA at the time I wrote this is 3.01 which is not described here. This site is for historical information and is not intended to be used for any official purpose. For official data please contact the NMEA web site. Ple
阅读全文

浙公网安备 33010602011771号