Services Location information
IX14 User Guide
384
(config service location geofence test_geofence coordinates
3)> latitude 44.925161
(config service location geofence test_geofence coordinates
3)> longitude -93.399200
(config service location geofence test_geofence coordinates
3)>
This defines a square-shaped polygon equivalent to the following:
6. Define actions to be taken when the device's location triggers a geofence event:
n
To define actions that will be taken when the device enters the geofence, or is inside
the geofence when it boots:
a. (Optional) Configure the device to preform the actions if the device is inside the
geofence when it boots:
(config)> service location geofence test_geofence on_entry
bootup true
(config)>
b. Set the number of update_intervals that must take place prior to performing the
actions:
(config)> service location geofence test_geofence on_entry num_
intervals int
(config)>
For example, if the update interval is 1m (one minute) and the num_intervals is set
to 3, the actions will not be performed until the device has been inside the
geofence for three minutes.
c. Add an action:
i. Type ... to return to the root of the configuration:
(config service location geofence test_geofence coordinates
3)> ...
(config)>