[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Timing via serial port
From: |
Hal Murray |
Subject: |
Re: Timing via serial port |
Date: |
Wed, 30 Sep 2020 12:22:18 -0700 |
> And sadly the POSIX API gives no access to the leading edge time. The only
> time that is available is when gpsd gets some bytes.
You can subtract the length of the packet/sentence.
That assumes the sender doesn't insert gaps between characters which is a
reasonable assumption to make. You can't assume the sender's bit clock is
super accurate but that error will be down in the noise. (unless you do
something aggressive to get really good timing)
--
These are my opinions. I hate spam.