3,1,10,10,49,184,42,12,16,039,,14,54,341,,18,22,165,23*7B
$GPGSV,3,2,10,22,11,318,,25,51,055,,26,24,205,,29,13,110,*7C...三、C语言解析数据代码
3.1 解析每个字段数据
以下是使用C语言解析NMEA 0183数据字段并将其打印到串口:
#include
#include
//...3,1,10,10,49,184,42,12,16,039,,14,54,341,,18,22,165,23*7B",
"$GPGSV,3,2,10,22,11,318,,25,51,055,,26,24,205,,29,13,110,*7C"...3,1,10,10,49,184,42,12,16,039,,14,54,341,,18,22,165,23*7B",
"$GPGSV,3,2,10,22,11,318,,25,51,055,,26,24,205,,29,13,110,*7C"