GetGeozoneStatus()

GetGeozoneStatus()

Description

Determines whether vehicle is inside a geozone.

Syntax

GetGeozoneStatus(ID);

Returns

Return value

Return explanation

0

Outside of geozone bounds

1

Inside of geozone bounds

2

No such geozone ID was found

3

Function is busy (still looking for previous geozone)

4

No GNSS signal.

 

Parameters

Variable

Possible input

Variable

Possible input

ID

Geozone ID number

Function call example

Reading Geozone Status to a variable
main() { new statusGeozone1 = GetGeozoneStatus(1); new statusGeozone2 = GetGeozoneStatus(2); for(;;) { Delay(1000); } }

Used in Examples

Scripting Geozones