nmea checksum in c# .net cf
问题 I'm trying to write my own nmea parser,since i only need some info from the gps, and don't need to interpret all messages. The problem that i have is that my nmea message validator gives me an wrong checksum. Can someone see what i'm droing wrong? I'm using the idea from Codepedia - Calculating and Validating nmea sentences. // Returns True if a sentence's checksum matches the // calculated checksum // Calculates the checksum for a sentence private static bool IsValid(string sentence) { if