gpsSetSBAS (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

MX2i, CX1, SX1, MX2 turbo/encore/warp, NX-200, LX2

Firmware version:

1.21 / 1.40.00


This function is used to enable/disable the SBAS positioning assistance.

The default state for the MX2 turbo/encore/warp is enabled, for other devices it is disabled.

 

SBAS means "Satellite Based Augmentation System" and is a system that supports wide-area or regional augmentation through the use of additional satellite broadcast messages.

The messages contain correction data which improves the accuracy of the GPS position that is returned.

 

The following SBAS systems are in operation globally:

 

WAAS (Wide Area Augmentation System) covering North America.

EGNOS (European Geostationary Navigation Overlay System) covering Europe and Africa.

MSAS (Multi-Functional Satellite Augmentation System) covering Japan and part of Oceania.

 

Also see gpsGetSBAS and gpsFix for additional information.
 
Before calling this function the GPS receiver must be turned ON by a call to gpsPower().

 

When the device is reset the SBAS will return to the default state.

 

 

Input:

Enable : BOOL

Enables/disables SBAS.

 

Returns: BOOL

TRUE:

SBAS assisted positioning enabled/disabled.

FALSE:

Failed to enable/disable SBAS assisted positioning. The GPS receiver may be turned off.

 

Declaration:

FUNCTION gpsSetSBAS : BOOL;
VAR_INPUT
  enable : BOOL;
END_VAR;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
  // Start using SBAS
  gpsSetSBAS(enable := ON);
  ...
END;
 
END_PROGRAM;