Browse files

sleepy messages

  • Loading branch information...
1 parent d4991c8 commit bd05ebfce92687bf0faabcdc41f5aea61ad793d4 @ladyada ladyada committed Nov 9, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 Adafruit_GPS.h
View
9 Adafruit_GPS.h
@@ -20,7 +20,6 @@ All text above must be included in any redistribution
#ifndef _ADAFRUIT_GPS_H
#define _ADAFRUIT_GPS_H
-#include <Adafruit_GPS.h>
#if ARDUINO >= 100
#include <SoftwareSerial.h>
#else
@@ -55,6 +54,11 @@ All text above must be included in any redistribution
#define LOCUS_OVERLAP 0
#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
#define PMTK_Q_RELEASE "$PMTK605*31"
@@ -96,6 +100,9 @@ class Adafruit_GPS {
boolean parse(char *);
void interruptReads(boolean r);
+ boolean wakeup(void);
+ boolean standby(void);
+
uint8_t hour, minute, seconds, year, month, day;
uint16_t milliseconds;
float latitude, longitude, geoidheight, altitude;

0 comments on commit bd05ebf

Please sign in to comment.