Reading and writing sms commands – MIDLAND Geopoint Box SMS User Manual
Page 44

43
Reading and Writing SMS Commands
Command
Meaning and Values
Example
wgf
Set the Geofence.
[enabling: 0=disable, 1=enable]
[LAT1,LONG1,LAT2,LONG2=latitude and longitude
for the 2 points defi ning the Geofence area]
NOTE: to enable or disable the Geofence function
without setting the area, send the wgf command with
the fi rst fi eld only. In this case, the previously set
area is considered.
Case A
Command:
wgf=1,45g37.7980N,008g28.8012E,
45g37.8970N,008g28.8012E
Reply:
wgf=1,45g37.7980N,008g28.8012E,
45g37.8970N,008g28.8012E OK
Description:
1=enable
45g37.7981N,008g28.8012E=latitude
and longitude of the fi rst point
41g37.8971N,012g28.8012E=latitude
and longitude of the second point
Case B
Command:
wgf=1
Reply:
wgf=1 OK
Description:
1=enables the function considering
the previous defi ned area