Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_GPS
/ functions
Functions
46 in github.com/adafruit/Adafruit_GPS
⨍
Functions
46
◇
Types & classes
1
↓ 3 callers
Method
available
/ ! @brief How many bytes are available to read - part of 'Print'-class functionality @return Bytes available, 0 if none */ /
src/Adafruit_GPS.cpp:198
↓ 1 callers
Function
strStartsWith
/ ! @brief Checks whether a string starts with a specified prefix @param str Pointer to a string @param prefix Pointer to the prefix @
src/Adafruit_GPS.cpp:615
Method
Adafruit_GPS
src/Adafruit_GPS.cpp:84
Method
LOCUS_ReadStatus
/ ! @brief Read the logger status @return True if we read the data, false if there was no response */ /
src/Adafruit_GPS.cpp:481
Method
LOCUS_StartLogger
/ ! @brief Start the LOCUS logger @return True on success, false if it failed */ /
src/Adafruit_GPS.cpp:457
Method
LOCUS_StopLogger
/ ! @brief Stop the LOCUS logger @return True on success, false if it failed */ /
src/Adafruit_GPS.cpp:469
Method
addChecksum
/ ! @brief Add *CS where CS is the two character hex checksum for all but the first character in the string. The checksum is the result of an
src/NMEA_build.cpp:594
Method
begin
/ ! @brief Start the HW or SW serial port @param baud_or_i2caddr Baud rate if using serial, I2C address if using I2C @returns True on succ
src/Adafruit_GPS.cpp:42
Method
boatAngle
/ ! @brief Estimate a direction in -180 to 180 degree range from the values of the sine and cosine of the compound angle, which could be noisy
src/NMEA_data.cpp:515
Method
build
/ ! @brief Build an NMEA sentence string based on the relevant variables. Sentences start with a $, then a two character source identifier, th
src/NMEA_build.cpp:68
Method
check
/ ! @brief Check an NMEA string for basic format, valid source ID and valid and valid sentence ID. Update the values of thisCheck, thisSource
src/NMEA_parse.cpp:561
Method
common_init
/ ! @brief Initialization code used by all constructor types */ /
src/Adafruit_GPS.cpp:151
Method
compassAngle
/ ! @brief Estimate a direction in 0 to 360 degree range from the values of the sine and cosine of the compound angle, which could be noisy.
src/NMEA_data.cpp:556
Method
data_init
/ ! @brief Initialize the object. Build a val[] matrix of data values for all of the enumerated values, including the extra values for the
src/NMEA_data.cpp:107
Method
get
/ ! @brief Clearer approach to retrieving NMEA values by allowing calls that look like nmea.get(NMEA_TWA) instead of val[NMEA_TWA].latest.
src/NMEA_data.cpp:304
Method
getSmoothed
/ ! @brief Clearer approach to retrieving NMEA values @param idx the NMEA value's index @return the latest NMEA value, smoothed */ /
src/NMEA_data.cpp:317
Method
initDataValue
/ ! @brief Initialize the contents of a data value table entry @param idx The data index for the value to be initialized @param label Poin
src/NMEA_data.cpp:338
Method
initHistory
/ ! @brief Attempt to add history to a data value table entry. If it fails to malloc the space, history will not be added. Test the pointer fo
src/NMEA_data.cpp:379
Method
isCompoundAngle
/ ! @brief Check if it is a compound angle @param idx The index for the data value @return true if a compound angle requiring 3 contiguos
src/NMEA_data.cpp:500
Method
isEmpty
/ ! @brief Is the field empty, or should we try conversion? Won't work for a text field that starts with an asterisk or a comma, but that
src/NMEA_parse.cpp:850
Method
lastNMEA
/ ! @brief Returns the last NMEA line received and unsets the received flag @return Pointer to the last line string */ /
src/Adafruit_GPS.cpp:417
Method
newDataValue
/ ! @brief Update the value and history information with a new value. Call whenever a new data value is received. The function does nothing if
src/NMEA_data.cpp:44
Method
newNMEAreceived
/ ! @brief Check to see if a new NMEA line has been received @return True if received, false if not */ /
src/Adafruit_GPS.cpp:401
Method
onList
/ ! @brief Check if an NMEA string is valid and is on a list, perhaps to decide if it should be passed to a particular NMEA device. @param
src/NMEA_parse.cpp:645
Method
parse
/ ! @brief Parse a standard NMEA string and update the relevant variables. Sentences start with a $, then a two character source identifier, th
src/NMEA_parse.cpp:51
Method
parseAntenna
/ ! @brief Parse a part of an NMEA string for antenna that is used @param p Pointer to the location of the token in the NMEA string @retur
src/NMEA_parse.cpp:826
Method
parseCoord
/ ! @brief Parse a part of an NMEA string for lat or lon angle and direction. Works for either DDMM.mmmm,N (latitude) or DDDMM.mmmm,W (longitu
src/NMEA_parse.cpp:680
Method
parseFix
/ ! @brief Parse a part of an NMEA string for whether there is a fix @param p Pointer to the location of the token in the NMEA string @ret
src/NMEA_parse.cpp:805
Method
parseHex
/ ! @brief Parse a hex character and return the appropriate decimal value @param c Hex character, e.g. '0' or 'B' @return Integer value of
src/NMEA_parse.cpp:866
Method
parseStr
/ ! @brief Parse a string token from pointer p to the next comma, asterisk or end of string. @param buff Pointer to the buffer to store th
src/NMEA_parse.cpp:751
Method
parseTime
/ ! @brief Parse a part of an NMEA string for time. Independent of number of decimal places after the '.' @param p Pointer to the location
src/NMEA_parse.cpp:780
Method
pause
/ ! @brief Pause/unpause receiving new data @param p True = pause, false = unpause */ /
src/Adafruit_GPS.cpp:409
Method
read
/ ! @brief Read one character from the GPS device. Call very frequently and multiple times per opportunity or the buffer may overflow if
src/Adafruit_GPS.cpp:279
Method
removeHistory
/ ! @brief Remove history from a data value table entry, if it has been added. @param idx The data index for the value to have history removed
src/NMEA_data.cpp:420
Method
resetSentTime
/ ! @brief Fakes time of receipt of a sentence. Use between build() and parse() to make the timing look like the sentence arrived from the GPS
src/Adafruit_GPS.cpp:605
Method
secondsSinceDate
/ ! @brief Time in seconds since the last GPS date was obtained. The time returned is limited to 2^32 milliseconds, which is about 49.7 days.
src/Adafruit_GPS.cpp:595
Method
secondsSinceFix
/ ! @brief Time in seconds since the last position fix was obtained. The time returned is limited to 2^32 milliseconds, which is about 49.7 da
src/Adafruit_GPS.cpp:571
Method
secondsSinceTime
/ ! @brief Time in seconds since the last GPS time was obtained. The time returned is limited to 2^32 milliseconds, which is about 49.7 days.
src/Adafruit_GPS.cpp:583
Method
sendCommand
/ ! @brief Send a command to the GPS device @param str Pointer to a string holding the command to send */ /
src/Adafruit_GPS.cpp:393
Method
showDataValue
/ ! @brief Print out the current state of a data value. Primarily useful as a debugging aid. @param idx The index for the data value @
src/NMEA_data.cpp:439
Method
standby
/ ! @brief Standby Mode Switches @return False if already in standby, true if it entered standby */ /
src/Adafruit_GPS.cpp:533
Method
tokenOnList
/ ! @brief Check if a token at the start of a string is on a list. @param token Pointer to the string @param list A list of strings, with
src/NMEA_parse.cpp:624
Method
waitForSentence
/ ! @brief Wait for a specified sentence from the device @param wait4me Pointer to a string holding the desired response @param max How lo
src/Adafruit_GPS.cpp:432
Method
wakeup
/ ! @brief Wake the sensor up @return True if woken up, false if not in standby or failed to wake */ /
src/Adafruit_GPS.cpp:552
Method
write
/ ! @brief Write a byte to the underlying transport - part of 'Print'-class functionality @param c A single byte to send @return Bytes
src/Adafruit_GPS.cpp:229
Method
~Adafruit_GPS
/ ! @brief Destroy the object. @return none */ /
src/Adafruit_GPS.cpp:184