Hi everyone,
i have expand the location sensor component, named “AdvancedLocationSensor”.
My AdvancedLocationSensor-Extension has in addition to the functions of the standard LocationSensor other events:
these events are triggered when location sensor is activated or deactivated (via system settings or appsettings).
these events are triggered when location sensor finds the first position.
int TimeToFirstFix: contains time in ms
these events are triggered when the position changes.
float bearing: contains the direction of movement
long time: contains time in ms (Unix time format) ← Satellite Time!
these events are triggered when the satellite status changes.
int cntSatView: contains the number of satellites in view
int cntSatFix: contains the number of satellites in fix
string listSatellites: contains a list of satellites [GpsSatellite]
long time: contains time in ms (Unix time format) ← Satellite Time!
these events are triggered when an nmea message has been received.
long timestamp: contains time in ms (Unix time format) ← Phone Time!
string nmea: contains the NMEA-Message [info]
I make the extension available for free.
Greetings
Niclas
Download: AdvancedLocationSensor (GPS+)