8.6
Geofence zones settings and parameters
In this chapter it is explained how to get all parameters for the first GeoFence zone (all
ID numbers are for the 1
table with the IDs of all the rest GeoFence zones.
8.6.1
GeoFence border width (ID=20)
GeoFence border thickness, measured in meters.
Minimum
Maximum
value
value
100
9999999
8.6.2
GeoFence Zone #1 Configuration Parameter (ID=30)
GeoFence Zone #1 Configuration is 1
shape, priority, zone entering event, zone leaving event. There are two GeoFence zone
shapes: circle, rectangle. GeoFence Zone priority has eight levels (0 to 7). Parameter value is
four bytes that have bit encoded values.
0 bit – GeoFence zone shape
1-3 bits – GeoFence event priority
4 bit – Zone entering event
5 bit – Zone leaving event
6-31 bits reserved
Example:
Value to set: 51 (integer) is [M]00110011[L], where GeoFence Zone shape is
Rectangular, priority of 1, Zone entering event is enabled, Zone leaving event is enabled.
Minimum
Maximum
value
value
0
-
8.6.3
GeoFence x1 (ID=31)
Parameter has two meanings dependent on zone shape. If shape is rectangular, then
ID=31 is left down corner X coordinate in WGS. If shape is circle, then ID=31 is center of
that circle X coordinate in WGS.
Sample value: 25.30528
Minimum
Maximum
value
value
-180.0
180.0
st
zone). And at the end of the chapter (part 1.6.7) is presented a
Recommended
Goes with (depends on)
value
Configuration Parameter
1000
st
zone basic settings parameter: GeoFence zone
Recommended
Goes with (depends on)
value
GeoFence border width
GeoFence x1 (ID=31)
-
GeoFence y1 (ID=32)
GeoFence x2 (ID=33)
GeoFence y2 (ID=34)
Recommended
Goes with (depends on)
value
GeoFence border width
-
Configuration Parameter
parameters
GeoFence Zone #1
(ID=30)
All the rest zones
parameters
(ID=20)
parameters
(ID=20)
GeoFence Zone #1
(ID=30)
Value type
U32
Value type
U32
Value type
Float
56