[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] Fix RTCM2 detection in packet.c
From: |
Ahti Heinla |
Subject: |
[gpsd-dev] [PATCH] Fix RTCM2 detection in packet.c |
Date: |
Thu, 16 Oct 2014 00:17:30 +0300 |
User-agent: |
KMail/4.10.5 (Linux/3.9.9-030909-generic; KDE/4.10.5; x86_64; ; ) |
Hi,
RTCM2 support seems to be practically broken, if the stream
frequently includes the 0x40 byte. This byte causes packet.c to
temporarily think it is an AT1 stream, and stop calling rtcm2_decode()
while it thinks so.
I have an RTCM stream from station id 0, and this particular station ID
causes the 0x40 byte to appear in virtually every RTCM message, so for that
stream, I have to wait through hundreds of RTCM messages before it is
positively identified and RTCM decoding starts to work.
Patch attached, works for me.
Ahti Heinla
rtcm2-detection.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] Fix RTCM2 detection in packet.c,
Ahti Heinla <=