![]() |
Soldered L86 M33 GNSS Library 1.0.0
Arduino library for communication with Soldered L86-M33 GNSS module
|
#include <GNSS-L86-M33-SOLDERED.h>
Inherits EasyC, and TinyGPSPlus.
Public Member Functions | |
| GNSS () | |
| L86-M33 GNSS Library easyC constructor. | |
| float | getLatitude () |
| Get the last measured latitude by the GPS module. | |
| float | getLongitude () |
| Get the last measured longitude by the GPS module. | |
| uint16_t | getYear () |
| Get the last measured year by the GPS module. | |
| uint8_t | getMonth () |
| Get the last measured month by the GPS module. | |
| uint8_t | getDay () |
| Get the last measured day by the GPS module. | |
| uint8_t | getHour () |
| Get the last measured hour by the GPS module. | |
| uint8_t | getMinute () |
| Get the last measured minute (in current hour) by the GPS module. | |
| uint8_t | getSeconds () |
| Get the last measured seconds (in current minute) by the GPS module. | |
| float | getSpeed () |
| Get the last measured speed by the GPS module. | |
| float | getAltitude () |
| Get the last measured altitude by the GPS module. | |
| uint32_t | getNumSatellites () |
| Get the number of GPS Satellites available. | |
| float | getHDOP () |
| Get HDOP value (precision indicator of GPS) | |
| uint32_t | getAge () |
| Get how long ago the last location was measured (in ms) | |
| uint32_t | getDateTimeAge () |
| Get how long ago the last GPS DateTime was recorded (in ms) | |
| float | getCourseDeg () |
| Get how long ago the last GPS DateTime was recorded (in ms) | |
| uint32_t | getNumCharsProcessed () |
| Get the number of processed chars sent by the GPS module. | |
| uint32_t | getNumSentencesWithFix () |
| Get the number of $GPRMC or $GPGGA sentences that had a fix. | |
| uint32_t | getNumFailedChecksums () |
| Get the number of sentences of all types that failed the checksum test. | |
| bool | GNSSAvailable () |
| Get if the GPS module has sucessfuly decoded some data. | |
| void | setMultiToneAIC (bool _b) |
| Turn Multi Tone AIC (Active Interference Cancellation) on or off. | |
| void | setAlwaysLocate (bool _b) |
| Turn AlwaysLocateTM mode on or off. | |
| GNSS (int _rx, int _tx) | |
| L86-M33 GNSS Library constructor. | |
| void | sendCommand (char *_cmd) |
| Sends a custom command to the GNSS module. | |
| void | sendChecksum (char *_s) |
| Sends a checksum to the GNSS module for the sent command. | |
| char | intToHexChar (int _c) |
| Converts a integer into one HEX Char (for 10 as input it will return 'A') | |
Public Member Functions inherited from EasyC | |
| EasyC () | |
| Main constructor for easyC version. | |
| bool | begin () |
| Initializes sensors on native or easyC on default address. | |
| bool | begin (uint8_t _address) |
| Initializes sensors on supplied i2c address. | |
| virtual void | initializeNative ()=0 |
| int | sendAddress (char regAddr) |
| Private function to send a single byte to sensor. | |
| int | readData (char a[], int n) |
| Private function to read n bytes over i2c. | |
| int | readRegister (char regAddr, char a[], size_t n) |
| Private function to send over i2c and then read n bytes. | |
| int | sendData (const uint8_t *a, int n) |
| Private function to write n bytes over i2c. | |
Public Member Functions inherited from TinyGPSPlus | |
| TinyGPSPlus () | |
| bool | encode (char c) |
| TinyGPSPlus & | operator<< (char c) |
| uint32_t | charsProcessed () const |
| uint32_t | sentencesWithFix () const |
| uint32_t | failedChecksum () const |
| uint32_t | passedChecksum () const |
Public Attributes | |
| SoftwareSerial * | gnssSerial |
Public Attributes inherited from EasyC | |
| int | native = 0 |
| bool | beginDone = 0 |
| int | err |
| char | address |
| const char | defaultAddress = 0x30 |
Public Attributes inherited from TinyGPSPlus | |
| TinyGPSLocation | location |
| TinyGPSDate | date |
| TinyGPSTime | time |
| TinyGPSSpeed | speed |
| TinyGPSCourse | course |
| TinyGPSAltitude | altitude |
| TinyGPSInteger | satellites |
| TinyGPSHDOP | hdop |
Protected Member Functions | |
| void | initializeNative () |
| Initializer function for L86-M33 breakout board. | |
Private Attributes | |
| int | rxPin |
| int | txPin |
Additional Inherited Members | |
Static Public Member Functions inherited from TinyGPSPlus | |
| static const char * | libraryVersion () |
| static double | distanceBetween (double lat1, double long1, double lat2, double long2) |
| static double | courseTo (double lat1, double long1, double lat2, double long2) |
| static const char * | cardinal (double course) |
| static int32_t | parseDecimal (const char *term) |
| static void | parseDegrees (const char *term, RawDegrees °) |
| GNSS::GNSS | ( | ) |
L86-M33 GNSS Library easyC constructor.
| GNSS::GNSS | ( | int | _rx, |
| int | _tx | ||
| ) |
| uint32_t GNSS::getAge | ( | ) |
Get how long ago the last location was measured (in ms)
| float GNSS::getAltitude | ( | ) |
Get the last measured altitude by the GPS module.
| float GNSS::getCourseDeg | ( | ) |
Get how long ago the last GPS DateTime was recorded (in ms)
| uint32_t GNSS::getDateTimeAge | ( | ) |
Get how long ago the last GPS DateTime was recorded (in ms)
| uint8_t GNSS::getDay | ( | ) |
Get the last measured day by the GPS module.
| float GNSS::getHDOP | ( | ) |
Get HDOP value (precision indicator of GPS)
| uint8_t GNSS::getHour | ( | ) |
Get the last measured hour by the GPS module.
| float GNSS::getLatitude | ( | ) |
Get the last measured latitude by the GPS module.
| float GNSS::getLongitude | ( | ) |
Get the last measured longitude by the GPS module.
| uint8_t GNSS::getMinute | ( | ) |
Get the last measured minute (in current hour) by the GPS module.
| uint8_t GNSS::getMonth | ( | ) |
Get the last measured month by the GPS module.
| uint32_t GNSS::getNumCharsProcessed | ( | ) |
Get the number of processed chars sent by the GPS module.
| uint32_t GNSS::getNumFailedChecksums | ( | ) |
Get the number of sentences of all types that failed the checksum test.
| uint32_t GNSS::getNumSatellites | ( | ) |
Get the number of GPS Satellites available.
| uint32_t GNSS::getNumSentencesWithFix | ( | ) |
Get the number of $GPRMC or $GPGGA sentences that had a fix.
| uint8_t GNSS::getSeconds | ( | ) |
Get the last measured seconds (in current minute) by the GPS module.
| float GNSS::getSpeed | ( | ) |
Get the last measured speed by the GPS module.
| uint16_t GNSS::getYear | ( | ) |
Get the last measured year by the GPS module.
| bool GNSS::GNSSAvailable | ( | ) |
Get if the GPS module has sucessfuly decoded some data.
|
protectedvirtual |
Initializer function for L86-M33 breakout board.
Implements EasyC.
| char GNSS::intToHexChar | ( | int | _c | ) |
Converts a integer into one HEX Char (for 10 as input it will return 'A')
| int | _c Integer that needs to be converted into HEX Char |
| void GNSS::sendChecksum | ( | char * | _s | ) |
Sends a checksum to the GNSS module for the sent command.
| char | *_s Command string |
| void GNSS::sendCommand | ( | char * | _cmd | ) |
Sends a custom command to the GNSS module.
| char | *_cmd Command string |
| void GNSS::setAlwaysLocate | ( | bool | _b | ) |
Turn AlwaysLocateTM mode on or off.
| _b | True if it's to be turned on, false to turn off |
| void GNSS::setMultiToneAIC | ( | bool | _b | ) |
Turn Multi Tone AIC (Active Interference Cancellation) on or off.
| _b | True if it's to be turned on, false to turn off |
| SoftwareSerial* GNSS::gnssSerial |
|
private |
|
private |