X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=loctrkd%2Fbeesure.py;h=f5bf4436fafb685b076c794c5c4463ecfbddf4d9;hb=77c191290dad765c5b2e09c60d2b7e38aff87565;hp=41b25e0bbac0141e8691303bcdd69ca9ffc5eac6;hpb=4685264dbad5f904124e9bb390a36c8902a544d5;p=loctrkd.git 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,