[][src]Module adafruit_gps::gps

This is the main module around which all other modules interact. It contains the Gps structure, open port and GpsData that are central to using this module.

Structs

Gps

This is the main struct around which all commands are centered. It allows for communication with the GPS module via the open port.

GpsData

GpsData is the easy to use, out of the box data set that the update trait will give you.

Traits

GetGpsData

This trait contains the two most important commands: update and read_line.

Functions

is_valid_checksum

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

open_port

Opens the port to the GPS, probably /dev/serial0 Default baudrate is 9600