// GPS Tracker constants
// NMEA Version 1

constant kAboutTitle := "GPS Tracker (NMEA V1.5)";
constant kBaseCapabilities := kSupportsPosition;
constant kDefaultBaud := 1;	// k4800bps - see comms.txt

// view containing the GPS comms stuff: theEndPoint, theCommandHandler & theReportHandler
constant kEPlayout := "EP_NMEA";

DefConst ( 'kDefaultPrefs, {
		coordSel:		kPosOSG,		// index into kCoordDisplay array
		velocitySel:	kVelSoGmps,		// index into kVelocityDisplay array
		timeSel:		kShowUTCTime,	// index into kTimeDisplay array
		clockSetSel:	0,				// index into kClockSetList array
		fixIntSel:		3,				// index into kFixIntervalList array
		serialSrcSel:	0,				// index into kSerialSrcList array
		serialBaudSel:	kDefaultBaud,	// index into kSerialBaudList array
		displayTime:	nil,
		displayDOP:		true,
		displaySVs:		true,
		displayVel:		nil,
});

// NMEA - GPS sentences
constant kGPRMC := 1;	// Recommended minimum specific GPS/Transit data
constant kGPRMB := 2;	// $GPRMB,A,,,,,,,,,,,,V*71
constant kGPGGA := 3;	// GPS fix data
constant kGPGSA := 4;	// GPS DOP and active satellites
constant kGPGSV := 5;	// GPS satellites in view
constant kGPGLL := 6;	// Geographic position - lat & lon
constant kGPBOD := 7;	// $GPBOD,,T,,M,,*47
constant kGPVTG := 8;	// Track made good and ground speed
constant kGPZDA := 9;	// Time and date
constant kGPRTE := 10;	// $GPRTE,1,1,c,0*07

// Garmin proprietary sentences
constant kPGRME := 21;	// Estimated error: $PGRME,103.2,M,150.0,M,182.1,M*20
constant kPGRMZ := 22;	// Altitude: $PGRMZ,245,f,3*18
constant kPGRMM := 23;	// Datum: $PGRMM,Ord Srvy GB*1B
constant kPSLIB := 24;	// Beacon receiver control

// CMC proprietary sentences
constant kPMCAG := 30;	// numerous variations identified by following integer

//
constant kNMEAMaxFields := 34;	// max number of fields in a NMEA sentence
