Although the configuration of simulated devices and groups is provided in the simulation files, the CLI of the Digi IoT Device Simulator allows you to execute some specific actions to modify their status or behavior while the simulation is running.
For this purpose, you must use the set
command of the CLI followed by the corresponding parameters.
The set
command is designed to address devices
or groups
targets.
For devices, the syntax of the set
command is:
simulator> set devices <device> <feature_name> <feature_value>
Where:
-
<device>
corresponds to the ID or name of the device to manage -
<feature_name>
is the name of the feature to modify in the device -
<feature_value>
is the value to change in the feature in the case it requires it
Along all the available features of the devices you can: