MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
58 /105
15 Geo Fence Command
15.1 Geo Fence – AT$GF
This command allows user to set maximum 20 geographical fences. When the device
enters (exits) the geo fence, the respective geo fence flag in the event table will be set
(cleared).
Syntax
Command
Response
AT$GF=<Index>,<Mode>[,<Latitude>,<Longitude>,<Radius>]
Note: Write setting.
OK
AT$GF=<Index>
Note: Query one setting.
OK
$GF:
<Index>,<Mode>,<Latitude>,<Longitude>,<Radius>
AT$GF?
Note: Query all settings
(not accessible via SMS)
.
OK
$GF: 1,<…>
…
$GF: 20,<…>
Parameters
Index
Geo fence 1 to 20
Mode
0 – Disable
1 – Enable
Default is 0 (Disable).
Latitude
Format of latitude is as follows: <Aaa.bbbbbb>
A: ‘+’ = North, ‘-‘ = South
aa.bbbbbb degree
Default is +00.000000.
Longitude
Format of longitude is as follows: <Brrr.hhhhhh>
B: ‘+’ = East, ‘-‘ = West
rrr.hhhhhh degree
Default is +000.000000.