gnssDRStatus (Function)

Top  Previous  Next

Architecture:

NX32, NX32L

Firmware version:

4.56 / 1.74.00


This returns the status for Dead Reckoning.

 

Dead Reckoning is a feature where the GNSS module uses internal sensors to calculate the position.

This improves performance in areas with poor or no signal conditions. (such as tunnels and parking garages)

 

The RTCU device must be securely mounted for Dead Reckoning to work.

 

 

Input:

None

 

Returns:

0

- Unsupported or GNSS power is OFF.

1

- Calibrating.

2

- Fusion mode. (Dead Reckoning is used to improve positions.)

3

- Suspended. (Unexpected motion. Dead Reckoning is temporary disabled)

4

- Disabled. (Continuously unexpected motion, Dead Reckoning is disabled until powered off)

 

Declaration:

FUNCTION gnssDRStatus INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
   ...
   // Dead Reckoning status
   IF gnssDRStatus() > 2 THEN
      // The device is relocated
      // Is this a service? or tampering?
      ...
   END_IF;
   ...
END;
 
END_PROGRAM;