gps數(shù)據(jù)格式含義說明
$GPGGA,010101.130,3606.6834,N,12021.7778,E,1,07,1.2,32.00,M,,,,*0C
$GPGSA,A,3,09,18,21,22,24,26,29,,,,,,2.0,1.2,1.6*3E
$GPRMC,010101.130,A,3606.6834,N,12021.7778,E,0.0,238.3,010807,,,A*6C
GPS無效時發(fā)的一組數(shù)據(jù)是:
$GPGSV,3,1,12,01,64,334,22,31,56,301,29,14,70,092,,32,50,218,*71
$GPGSV,3,2,12,30,48,050,,05,30,046,,07,27,120,,22,26,184,*7D
$GPGSV,3,3,12,06,26,114,,16,19,211,,12,12,041,,20,08,321,*7E
$GPGGA,011035.002,3606.6971,N,12021.8015,E,0,00,50.0,83.72,M,,,,*37
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,011035.002,V,3606.6971,N,12021.8015,E,,,240907,,,N*7C
GPS復(fù)位時發(fā)的一組數(shù)據(jù)(只取到了$GPRMC這組):
$GPRMC,011035.002,V,3606.6971,N,12021.8015,E,,,,,,N*7C
我取得是$GPRMC這組數(shù)據(jù),個人認(rèn)為這組數(shù)據(jù)提供信息是比較詳細(xì)的,而且在程序代碼里好提取。
格式為:
$GPRMC,010101.130, A, 3606.6834, N, 12021.7778, E, 0.0, 238.3, 010807,,,A*6C
$GPRMC, 1>, 2>, 3>, 4>, 5>, 6>, 7>, 8>, 9>,
1> 當(dāng)前位置的格林尼治時間,即世界時間,與北京時間差8個小時,格式為hhmmss.ms
2> 狀態(tài), A 為有效位置, V為非有效接收警告,即當(dāng)前天線視野上方的衛(wèi)星個數(shù)少于3顆。
3> 緯度, 格式為ddmm.mmmm
4> 標(biāo)明南北半球, N 為北半球、S為南半球
5> 徑度,格式為dddmm.mmmm
評論