Chapter 4: Using the Command Line Interface
156
Variables:
•
<name> is a string comprising up to 32 ASCII printable characters.
•
<privilege1>, <privilege2>, <privilege3> and the like are names of the privileges assigned to the role. Separate each
privilege with a semi-colon. See
(on page 101).
•
<argument1>, <argument2> and the like are arguments set for a particular privilege. Separate a privilege and its
argument(s) with a colon, and separate arguments with a comma if there are more than one argument for a privilege.
Deleting a Role
This command deletes an existing role.
config:#
role delete <name>
Example - Creating a Role
The following command creates a new role and assigns privileges to the role.
config:#
role create tester firmwareUpdate;viewEventSetup
Results:
•
A new role "tester" is created.
•
Two privileges are assigned to the role: firmwareUpdate (Firmware Update) and viewEventSetup (View Event
Settings).
Environmental Sensor Configuration Commands
An environmental sensor configuration command begins with
externalsensor
. You can configure the name and location
parameters of an individual environmental sensor.
Note: To configure an actuator, see Actuator Configuration Commands (on page 116).
Changing the Sensor Name
This command names an environmental sensor.
config:#
externalsensor <n> name "<name>"