n76 / DejaVu

Yet another network location backend for the UnifiedNLP/microG project
GNU General Public License v3.0
100 stars 18 forks source link

Only 2.4 GHz WLAN recorded in the db #37

Open luken-dev opened 3 years ago

luken-dev commented 3 years ago

OP3T running Android 11 (LineageOS). Only 2.4 GHz gets recorded in the database. On previous versions of LineageOS (although I can't pinpoint which was the last - could be 10 - mobile cells were recorded as well).

Lack of 5GHz WLAN possibly related to https://github.com/n76/DejaVu/issues/31

thuryn commented 1 year ago

I've faced this also. Then I found, that location is not saved because of this:

if ((gpsLoc == null) || (gpsLoc.getAccuracy() > ourCharacteristics.reqdGpsAccuracy)) { return; }

gpsLocation has accuracy 25.538006 and ourCharacteristics.reqdGpsAccuracy is 10. So the question to @n76 is - is this correct?