Digi IX40 User Manual page 587

Table of Contents

Advertisement

Services
n
To define actions that will be taken when the device exits the geofence, or is outside the
geofence when it boots:
a. (Optional) Configure the device to preform the actions if the device is outside the
b. Set the number of
c. Add an action:
d. Set the type of action:
IX40 User Guide
(config service location geofence test_geofence on_entry action 0)> sandbox false
(config service location geofence test_geofence on_entry action 0)>
If you disable the sandbox, the script may render the system unusable.
vi. Repeat for any additional actions.
geofence when it boots:
(config)> service location geofence test_geofence on_exit bootup true
(config)>
update_intervals
actions:
(config)> service location geofence test_geofence on_exit 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 outside the
geofence for three minutes.
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_exit action end
(config service location geofence test_geofence on_exit action 0)>
(config service location geofence test_geofence on_exit action 0)> type value
(config service location geofence test_geofence on_exit action 0)>
where value is either:
factory_erase—Erases the device configuration when the action is triggered.
l
script— Executes a custom script when the action is triggered.
l
factory_erase or script.
If type is set to script:
i. Type or paste the script, closed in quote marks:
(config service location geofence test_geofence on_exit action 0)> commands
" script "
(config service location geofence test_geofence on_exit action 0)>
that must take place prior to performing the
Location information
587

Advertisement

Table of Contents
loading

Table of Contents