gnssDynamicModelSet (Function)

Top  Previous  Next

Architecture:

NX32, NX32L

Device support:

MX2 turbo LTE UDR, NX-200 DR.

Firmware version:

5.13 / 1.74.00


This configures the dynamic model used by the GNSS module.

 

 

Input:

model: INT (Default 4)

2

Stationary

3

Pedestrian

4

Automotive

5

Sea

10

Bike

 

Returns:

1

- Success

0

- Unsupported

-1

- Invalid model.

-2

- Generic error

-3

- GNSS power is OFF

 

Declaration:

FUNCTION gnssDynamicModelSet : INT;
VAR_INPUT
  model : INT := 4;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
  // Switch the dynamic model to the bike model
  gnssDynamicModelSet(model:=10);
  ...
END;
 
END_PROGRAM;