36 split_sentence = nmea_sentence.split(
'*')
37 if len(split_sentence) != 2:
40 transmitted_checksum = split_sentence[1].strip()
43 data_to_checksum = split_sentence[0][1:]
45 for c
in data_to_checksum:
48 return (
"%02X" % checksum) == transmitted_checksum.upper()
def check_nmea_checksum(nmea_sentence)