From: Eugene Crosser Date: Thu, 4 Aug 2022 22:41:28 +0000 (+0200) Subject: beesure: consider valid if enough satellites X-Git-Tag: 1.94~2 X-Git-Url: http://www.average.org/gitweb/?p=loctrkd.git;a=commitdiff_plain;h=77c191290dad765c5b2e09c60d2b7e38aff87565 beesure: consider valid if enough satellites --- diff --git a/loctrkd/beesure.py b/loctrkd/beesure.py index 41b25e0..f5bf443 100755 --- a/loctrkd/beesure.py +++ b/loctrkd/beesure.py @@ -373,7 +373,10 @@ class _LOC_DATA(BeeSurePkt): self.longitude = p.lon * p.eorw def rectified(self) -> Report: - if self.gps_valid: + # self.gps_valid is supposed to mean it, but it does not. Perfectly + # good looking coordinates, with ten satellites, still get 'V'. + # I suspect that in reality, 'A' means "hint data is absent". + if self.gps_valid or self.num_of_sats > 3: return CoordReport( devtime=str(self.devtime), battery_percentage=self.battery_percentage,