Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim GPSCounter As Int
Dim myGPS As GPS
Dim mySatellitesList As List
Dim mySatellitesListAvailable As Boolean
Type NMEAData(latitude As Int, longitude As Int, speed As Int, direction As Int, validAccuracy As Boolean, utcDate As String, utcTime As String, satellites As Int, status As Int, altitude As Int)
Dim GPSData As NMEAData
GPSData.status = 0
Dim GPSLogCounter As Int
GPSLogCounter = 0
Dim VehicleStopped As Boolean
Dim myGPSEnabled As Boolean
Dim myGPSStopped As Boolean
Dim LastGPSEnabledState As Boolean
LastGPSEnabledState = False
' Dim myWifi As ABWifi
' Dim wifiLoad As Boolean
' Dim LastWiFiLongitude As Int
' Dim LastWifiLatitude As Int
End Sub
Sub Service_Create
myGPS.Initialize("GPS")
End Sub