Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore invalid GPS data sent from peer node #34

Open
sayanee opened this issue Feb 9, 2022 · 0 comments
Open

Ignore invalid GPS data sent from peer node #34

sayanee opened this issue Feb 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sayanee
Copy link
Contributor

sayanee commented Feb 9, 2022

Actual data

Example of corrupted GPS data received:

282820: Received data 1.49�04����ҙ��?0����<3 from 0xbb to 0xaa
284130: Send data 1.40841162,103.91712189 from 0xaa to 0xbb
284135: Haversine distance: 11384.310 km 0s ago

Haversine distance of 11384.310 km is invalid

Possible solution

Use CRC library with format latitude,longitude,CRC to send data to peer node

@sayanee sayanee added the bug Something isn't working label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant