NEO-M9N - Integration manual
The current state of each geofence plus the combined state is output in UBX-NAV-GEOFENCE with
every navigation epoch.
3.3.3 Geofence state evaluation
With every navigation epoch the receiver will evaluate the current solution's position versus the
configured geofences. There are three possible outcomes for each geofence:
•
Inside
- The position is inside the geofence with the configured confidence level
•
Outside
- The position lies outside of the geofence with the configured confidence level
•
Unknown
- There is no valid position solution or the position uncertainty does not allow for
unambiguous state evaluation
The position solution uncertainty (standard deviation) is multiplied with the configured confidence
sigma level and taken into account when evaluating the geofence state (red circle in
).
Figure 6: Geofence states
The combined state for all geofences is evaluated as the combination (Union) of all geofences:
•
Inside
- The position lies inside of at least one geofence
•
Outside
- The position lies outside of all geofences
•
Unknown
- All remaining states
3.3.4 Using a PIO for geofence state output
This feature can be used, for example, for waking up a sleeping host when a defined geofence
condition is reached. The receiver will toggle the assigned pin according to the combined geofence
state. Due to hardware restrictions, the geofence unknown state is not configurable and is always
represented as HIGH. If the receiver is in the software backup mode or in the reset state, the pin
will go to HIGH accordingly. The meaning of the LOW state can be configured using the CFG-
GEOFENCE-PINPOL configuration item.
The CFG-GEOFENCE-PIN configuration item refers to a PIO and not a physical device pin.
The PIO number must be set so that it is mapped to the assigned geofence state device pin.
3.4 Logging
3.4.1 Introduction
The logging feature allows position fixes and arbitrary byte strings from the host to be logged in the
receiver's flash memory. Logging of position fixes happens independently of the host system, and
can continue while the host is powered down.
The following table lists all the logging-related messages:
Message
Description
UBX-LOG-CREATE
Creates a log file and activates the logging system
UBX-LOG-ERASE
Erases a log file and deactivates the logging subsystem
UBX-LOG-INFO
Provides information about the logging system
UBX-19014286 - R07
3 Receiver functionality
Page 18 of 95
C1-Public