[][src]Function adafruit_gps::gps::is_valid_checksum

pub fn is_valid_checksum(s: &str) -> bool

Checks if a sentence is a valid sentence by checksumming the sentence and comparing it to the given checksum. Returns true for valid sentence, false for invalid. The format of the sentence should be $sentence*checksum