GPS signal check

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



GPS signal check



as we all know GPS's signal looks like this:


$GPGLL,,,,,,V,N*64

$GPRMC,,V,,,,,,,,,,N*53

$GPVTG,,,,,,,,,N*30

$GPGGA,,,,,,0,00$GPRMC,,V,,,,,,,,,,N*53

$GPVTG,,,,,,,,,N*30
etc.



Few more line like this but we get the idea. The checksum of the first line equals "64" - so the sum of each character before "*" equals "64".



And my question to this is:



Since the gps transmit char[285] data and everysingle line starts with "$", how should i detect "$" -> add up everysingle char before "*" and check if it's equal to checksum with stm32f4?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS