#include <PalmOS.h>
#include <PalmCompatibility.h>
#include "ResourceDefines.h"
#include "MathLib.h"
#include "Sinetab.h"
#include "HandleMessage.h"
#include "GPS.h"
#include "NavigationForm.h"
#include "SkyviewForm.h"
#include "Utils.h"
#include "common.h"
#include "fp.h"
#include "utm.h"
#include "geo.h"
Include dependency graph for HandleMessage.c:
Go to the source code of this file.
Classes | |
struct | SatType |
Functions | |
Boolean | HandleMessage (Char *message) |
void | UpdateStatus (UInt16 status) |
Variables | |
PrefsType | gPrefs |
Preferences data structure. | |
GPSType | gGPSData |
UInt32 | gLastSuccessfulReception |
tickCount of last time we read data from GPS | |
UInt32 | gLastTimeDisplay |
tickCount of last time we displayed GPS data on the Palm device | |
UInt32 | gNextReadTime |
tickCount of the next scheduled read | |
WinHandle | gNavigationH |
Navigation window handle for save-behind (Compass). | |
WinHandle | gSkyViewH |
SkyView window handle for save-behind (Sky View Plot). | |
Boolean | gHdFtrSet |
High-Density Display Feature Set available. | |
struct { | |
char * unit | |
double conv | |
char * unit | |
} | dst_c [] |
struct { | |
char * unit | |
double conv | |
char * unit | |
} | alt_c [] |
struct { | |
char * unit | |
double conv | |
} | spd_c [] |
|
Definition at line 195 of file HandleMessage.c. References BatField, GPSType::cmg, CMGField, cvt_atof(), DebugForm, MapPrefsType::fetch, FETCH_READY, FETCH_START, format_number(), gGPSData, gHdFtrSet, gLastSuccessfulReception, gLastTimeDisplay, gMaxTicksWithoutTime, gNavigationH, gNextReadTime, gPrefs, GPSMainForm, gTicksPerSecond, h, icos, isin(), GPSType::lat, GPSType::lon, MagField, MapForm, PrefsType::mapprefs, NAV_R1, NAV_R2, NAV_R3, NAV_X, NAV_Y, NavigationForm, SEL_USER, MapPrefsType::select, SetFieldText(), SkyviewForm, GPSType::sog, spd_c, UnitsType::spd_unit, SpeedField, STAT_OK, STAT_WARNING, StrCopy, StrLen, GPSType::time, TimeField, PrefsType::units, UpdateStatus(), GPSType::valid, and w. Referenced by ReadFromGPS(). |
|
Definition at line 1067 of file HandleMessage.c. References GPSLostStr, GPSMainForm, GPSOkStr, GPSWarnStr, MapForm, NavigationForm, NavigationStatusField, PositionStatusField, SetFieldText(), SkyviewForm, SkyViewStatusField, STAT_NO_GPS, STAT_OK, STAT_REDRAW, and STAT_WARNING. Referenced by HandleMessage(), MainFormHandleEvent(), MapFormHandleEvent(), NavigationFormHandleEvent(), and SkyviewFormHandleEvent(). |
|
|
|
Definition at line 167 of file HandleMessage.c. |
|
Definition at line 158 of file HandleMessage.c. |
|
Definition at line 148 of file HandleMessage.c. |
|
|
|
Definition at line 129 of file HandleMessage.c. |
|
High-Density Display Feature Set available.
|
|
tickCount of last time we read data from GPS
Definition at line 235 of file GPS.c. Referenced by HandleMessage(). |
|
tickCount of last time we displayed GPS data on the Palm device
Definition at line 238 of file GPS.c. Referenced by HandleMessage(). |
|
Navigation window handle for save-behind (Compass).
Definition at line 121 of file NavigationForm.c. Referenced by HandleMessage(), and NavigationFormHandleEvent(). |
|
tickCount of the next scheduled read
Definition at line 241 of file GPS.c. Referenced by HandleMessage(). |
|
Preferences data structure.
|
|
SkyView window handle for save-behind (Sky View Plot).
Definition at line 92 of file SkyviewForm.c. Referenced by SkyviewFormHandleEvent(). |
|
Referenced by HandleMessage(), and NavigationFormHandleEvent(). |
|
Definition at line 166 of file HandleMessage.c. |
|
Definition at line 157 of file HandleMessage.c. |
|
Definition at line 147 of file HandleMessage.c. |