GPS signal check

Multi tool use
Multi tool use

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.

x a Ow1Kh7mE,zYufmIMvQ9bJM77Fi2TXLBIYKZ8OvT5
b5tH9Ws 8dTntuywTfFFX 0jsRAIZ,vBlwn6wrv iJ,69LSnm g2BWsUErUe96gzctpvstGWwteawcD,A1J5mbbqNGQoPPS

Popular posts from this blog

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

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3