disk91 / WioLoRaWANFieldTester

85 stars 32 forks source link

Update data sent to mappers to be compliant with mappers v2 #2

Closed snip closed 3 years ago

snip commented 3 years ago

image

Since mappers migrated to v2, 2 things needs to be updated: (see https://docs.helium.com/use-the-network/coverage-mapping/mappers-api/#ingest-uplink)

This requeires change in:

Mappers v2 announcement: https://discord.com/channels/404106811252408320/730418759298318346/859580354792390666 https://twitter.com/helium/status/1410021512673910788

snip commented 3 years ago

accuracy can maybe be calculated thanks to a fomula likes the following:

accuracy=(HDOP*2+5)/10
if(accuracy>63) accuracy=63
snip commented 3 years ago

Remak regarding filtering of data according to GPS accuracy: https://discord.com/channels/404106811252408320/730801390431240228/860161652917534770

So maybe all data should be sent whatever the GPS locatation accuracy we get as it will be in the future filtered at UI side.

snip commented 3 years ago

Fixed by https://github.com/disk91/WioLoRaWANFieldTester/commit/8d8a7d8b9f25a2f9fd52ef57768591d105323f7e. Backend also updated.