问题描述
- 基于DM6437的GPS模块接受字符
-
我在用DM6437调试GPS模块时,接受到的字符串有好多相同字符,求高手指教!!
比如
$GPVTG,28.86,T,,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$7GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG2,N,2.357,K,A*0C222222222222222222222222222222222222222222222222222222222222222222222222222222222222G,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,A,064248.00,3201AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,11852.17700,E,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,111111111111111111111111111111111111111111111111111111111
2,82.0,M,2.7,M,,222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222P,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,GSA,A,3,03,32,14GGGGGGGGGGGGGGGGGGGGGGGGG,SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS16,,,,,,,3.23,2.11111111111111111111111111111111111111111111111111666666666666666666666666666666666666666666666*07
$GPGSV,3,1,12,19$$$$$$$$2GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG3,14,29,143,21,133333333333333333333333333333333333333333333333333333333333333333333333333333333333333333334,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,7,35*72
$GPGSV,,20,19,28$$$$$$$$$$$$$$$$$$$$$$$$$$$GGGGGG18,,29,26,053,,31111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111138888888888888888888888888888888888888888888888888888888888888888888888888805,*74
$GPGSV,31,55,043$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$4GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG1*78
$GPGLL,320087,N,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$0GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG64248.00,A,A*64
解决方案
http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=26707720&id=3770112
看下这个
时间: 2024-10-31 07:04:50