Go to the documentation of this file. 24 #ifndef _ADAFRUIT_PMTK_H 25 #define _ADAFRUIT_PMTK_H 33 #define PMTK_SET_NMEA_UPDATE_100_MILLIHERTZ \ 35 #define PMTK_SET_NMEA_UPDATE_200_MILLIHERTZ \ 37 #define PMTK_SET_NMEA_UPDATE_1HZ "$PMTK220,1000*1F" 38 #define PMTK_SET_NMEA_UPDATE_2HZ "$PMTK220,500*2B" 39 #define PMTK_SET_NMEA_UPDATE_5HZ "$PMTK220,200*2C" 40 #define PMTK_SET_NMEA_UPDATE_10HZ "$PMTK220,100*2F" 41 // Position fix update rate commands. 42 #define PMTK_API_SET_FIX_CTL_100_MILLIHERTZ \ 43 "$PMTK300,10000,0,0,0,0*2C" 44 #define PMTK_API_SET_FIX_CTL_200_MILLIHERTZ \ 45 "$PMTK300,5000,0,0,0,0*18" 46 #define PMTK_API_SET_FIX_CTL_1HZ "$PMTK300,1000,0,0,0,0*1C" 47 #define PMTK_API_SET_FIX_CTL_5HZ "$PMTK300,200,0,0,0,0*2F" 48 // Can't fix position faster than 5 times a second! 50 #define PMTK_SET_BAUD_115200 "$PMTK251,115200*1F" 51 #define PMTK_SET_BAUD_57600 "$PMTK251,57600*2C" 52 #define PMTK_SET_BAUD_9600 "$PMTK251,9600*17" 54 #define PMTK_SET_NMEA_OUTPUT_GLLONLY \ 55 "$PMTK314,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 56 #define PMTK_SET_NMEA_OUTPUT_RMCONLY \ 58 "$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 59 #define PMTK_SET_NMEA_OUTPUT_VTGONLY \ 61 "$PMTK314,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 62 #define PMTK_SET_NMEA_OUTPUT_GGAONLY \ 64 "$PMTK314,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 65 #define PMTK_SET_NMEA_OUTPUT_GSAONLY \ 67 "$PMTK314,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 68 #define PMTK_SET_NMEA_OUTPUT_GSVONLY \ 70 "$PMTK314,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 71 #define PMTK_SET_NMEA_OUTPUT_RMCGGA \ 73 "$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28" 74 #define PMTK_SET_NMEA_OUTPUT_RMCGGAGSA \ 76 "$PMTK314,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29" 77 #define PMTK_SET_NMEA_OUTPUT_ALLDATA \ 79 "$PMTK314,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0*28" 80 #define PMTK_SET_NMEA_OUTPUT_OFF \ 81 "$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28" 87 #define PMTK_LOCUS_STARTLOG "$PMTK185,0*22" 88 #define PMTK_LOCUS_STOPLOG "$PMTK185,1*23" 89 #define PMTK_LOCUS_STARTSTOPACK \ 91 #define PMTK_LOCUS_QUERY_STATUS "$PMTK183*38" 92 #define PMTK_LOCUS_ERASE_FLASH "$PMTK184,1*22" 93 #define LOCUS_OVERLAP \ 95 #define LOCUS_FULLSTOP 1 97 #define PMTK_ENABLE_SBAS \ 99 #define PMTK_ENABLE_WAAS "$PMTK301,2*2E" 102 #define PMTK_STANDBY \ 104 #define PMTK_STANDBY_SUCCESS "$PMTK001,161,3*36" 105 #define PMTK_AWAKE "$PMTK010,002*2D" 107 #define PMTK_Q_RELEASE "$PMTK605*31" 109 #define PGCMD_ANTENNA \ 111 #define PGCMD_NOANTENNA "$PGCMD,33,0*6D" 113 #define MAXWAITSENTENCE \