Skip to content

mozilla: Adapt to new /v2/geosubmit API

awaittrot requested to merge awaittrot/geoclue:geosubmit-v2 into master

While old /v1/submit API is still active right now, it has been deprecated since 2015. It's better to migrate to new /v2/geosubmit API. Unrelated to the API change, the code now submits proper radioType for LTE and WCDMA towers.

I also tried to distinguish radio type between GSM and W-CDMA by checking cell id (16bit or 28bit), but this is not perfect because it is still valid for W-CDMA towers to have a cell_id <= 0xFFFF.

Merge request reports