© 2022 ANTZER TECH CO., LTD.
36
10. Geofence Setting Guide
AT command Guide
Basic Command Format:
AT+GEOF,<Mode>,<Group_Number>,<Type_of_geofence>,<fence_id> ,<Event_Typ
e>,<Priority>,<active>,<Points/Radius>,[Lat1, Lon1],...\r\n
1. Column Information
(1)<Mode>: different modes for action which edits geofence details
<Mode>
Description
ON
Turn on the geofence checking
OFF
Turn off the geofence checking
ADD
Insert a single geofence of polygon type or circular type
MOD
Modify an existing geofence
DEL
Delete an existing geofence, or entire group of geofences if no
fence_id is specified
DELALL
Delete ALL the geofences from the internal flash
GET
Get existing geofence data
GETCNT
Get the basic information of the geofences
START
Batch-mode insertion of a lot of geofences
(Developer mode)
BADD
END
BEGINTEST
The BEGINTEST command starts the test mode
(Developer mode)
TEST:
ENDTEST
(2) <Group_Number>: there are 5 groups (each include 20 sets) of programmed
geofences
(3) <fence_id>:there are 100 sets (from group 0 ; id 0 to group 4 ; id99) programmed
geofences. The fence id must be unique in each group as below description.
<Group_Number> <fence_id>
Description
0
0~19
set/check/edit geofence ID from ID0~ID19
1
20~39
set/check/edit geofence ID from ID20~ID39
2
40~59
set/check/edit geofence ID from ID40~ID59
3
60~79
set/check/edit geofence ID from ID60~ID79
4
80~99
set/check/edit geofence ID from ID80~ID99
(4) <Type_of_geofence> : RIFA support polygon (hexagon) or circle type geofences