/// <summary> /// Handle GPS GPVTG Notifications - Ground Speed and Course /// </summary> /// <param name="notification">GPVTG packet notification</param> private void GpVtgHandler(gps.GpVtgNotification notification) { Tracer.Trace(string.Format("the GPS reported GPVTG: {0} CourseDegrees: {1} SpeedMetersPerSecond: {2}", notification.Body.LastUpdate, notification.Body.CourseDegrees, notification.Body.SpeedMetersPerSecond)); }
/// <summary> /// Handle GPS GPGSV Notifications - Satellites /// </summary> /// <param name="notification">GPGSV packet notification</param> private void GpGsvHandler(gps.GpGsvNotification notification) { Tracer.Trace(string.Format("the GPS reported GPGSV: {0} Satellites in View: {1} {2}", notification.Body.LastUpdate, notification.Body.GsvSatellites.Count, notification.Body.SatellitesInView)); }
/// <summary> /// Handle GPS GPRMC Notifications - Backup course, speed, and position (Sirf III sends this) /// </summary> /// <param name="notification">GPRMC packet notification</param> private void GpRmcHandler(gps.GpRmcNotification notification) { Tracer.Trace(string.Format("the GPS reported GPRMC: {0} Lat: {1} Lon: {2}", notification.Body.LastUpdate, notification.Body.Latitude, notification.Body.Longitude)); }
/// <summary> /// Handle GPS GPGSA Notifications - Precision /// </summary> /// <param name="notification">GPGSA packet notification</param> private void GpGsaHandler(gps.GpGsaNotification notification) { Tracer.Trace(string.Format("the GPS reported GPGSA: {0} Precision: {1} Mode: {2}", notification.Body.LastUpdate, notification.Body.HorizontalDilutionOfPrecision, notification.Body.Mode)); }