[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-users] gpsd exits on nmea-sentence with bad syntax
From: |
Victor Klein |
Subject: |
[gpsd-users] gpsd exits on nmea-sentence with bad syntax |
Date: |
Tue, 11 Jun 2013 17:52:55 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
Hi,
I found that gpsd exits without notice if if gets a sentence with a not
wellformed syntax.
example: $IIVHW,,T,052,M,000.0,N,000.0,$*62, the $ sign is the problem,
the correct sentence is
$IIVHW,,T,052,M,000.0,N,000.0,K*62
if there is another fault in the sentence , the gpsd produces rubish like:
$IIVHW,,T,053,MH000.0,N,000.0,K*63 -->
2449495648572c2c542c3035332c4d483030302e302c4e2c3030302e302c4b2a36330d0a
$IIVHW,,T,054,M,000.0,N,00010,K*64 -->
2449495648572c2c542c3035342c4d2c3030302e302c4e2c30303031302c4b2a36340d0a
$IIVHW,,T,054,M,000.0,N,000.00K*64 -->
2449495648572c2c542c3035342c4d2c3030302e302c4e2c3030302e30304b2a36340d0a
$IIMTW,020.4IC*25 --> 2449494d54572c3032302e3449432a32350d0a
I'm using gpsd on a TP-Link MR3020 with openwrt. The supported version
is 3.7.
I read the data from a Seatalk-to-NMEA-USB-Converter, which produces
randomly some bad sentences.
Help appreciated.
Victor
- [gpsd-users] gpsd exits on nmea-sentence with bad syntax,
Victor Klein <=