sleepy messages
This commit is contained in:
parent
d4991c8709
commit
bd05ebfce9
|
|
@ -20,7 +20,6 @@ All text above must be included in any redistribution
|
||||||
#ifndef _ADAFRUIT_GPS_H
|
#ifndef _ADAFRUIT_GPS_H
|
||||||
#define _ADAFRUIT_GPS_H
|
#define _ADAFRUIT_GPS_H
|
||||||
|
|
||||||
#include <Adafruit_GPS.h>
|
|
||||||
#if ARDUINO >= 100
|
#if ARDUINO >= 100
|
||||||
#include <SoftwareSerial.h>
|
#include <SoftwareSerial.h>
|
||||||
#else
|
#else
|
||||||
|
|
@ -55,6 +54,11 @@ All text above must be included in any redistribution
|
||||||
#define LOCUS_OVERLAP 0
|
#define LOCUS_OVERLAP 0
|
||||||
#define LOCUS_FULLSTOP 1
|
#define LOCUS_FULLSTOP 1
|
||||||
|
|
||||||
|
// standby command & boot successful message
|
||||||
|
#define PMTK_STANDBY "$PMTK161,0*28"
|
||||||
|
#define PMTK_STANDBY_SUCCESS "$PMTK001,161,3*3" // Not needed currently
|
||||||
|
#define PMTK_AWAKE "$PMTK010,002*2D"
|
||||||
|
|
||||||
// ask for the release and version
|
// ask for the release and version
|
||||||
#define PMTK_Q_RELEASE "$PMTK605*31"
|
#define PMTK_Q_RELEASE "$PMTK605*31"
|
||||||
|
|
||||||
|
|
@ -96,6 +100,9 @@ class Adafruit_GPS {
|
||||||
boolean parse(char *);
|
boolean parse(char *);
|
||||||
void interruptReads(boolean r);
|
void interruptReads(boolean r);
|
||||||
|
|
||||||
|
boolean wakeup(void);
|
||||||
|
boolean standby(void);
|
||||||
|
|
||||||
uint8_t hour, minute, seconds, year, month, day;
|
uint8_t hour, minute, seconds, year, month, day;
|
||||||
uint16_t milliseconds;
|
uint16_t milliseconds;
|
||||||
float latitude, longitude, geoidheight, altitude;
|
float latitude, longitude, geoidheight, altitude;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue