Services Location information
Digi Connect EZ Mini User Guide
389
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)>
ii. Add the action:
(config)> add service location geofence test_geofence on_entry
action end
(config service location geofence test_geofence on_entry
action 0)>
d. Set the type of action:
(config service location geofence test_geofence on_entry action
0)> type value