For agent properties, you can specify either strings or
variables. If you specify a variable, the string value is retrieved
from the configuration database and substituted when the XML configuration
files are created.
You can make simple or iterative substitutions. Simple substitutions
directly substitute the value in the database that corresponds to
the parameter specified.
For example, if the value in the database is edge.name
= "%CONTROLLER_ID%", then the value in the Data Capture and Delivery device
XML is edge.name = "E1" (for the edge controller
named E1).
Iterative substitutions enable values to be enumerated with each
value for that substitution.
For example, if the value in the database is topics = "[LOCATIONS]%LOCATIONS%,[/LOCATIONS]",
then the value in the Data Capture and Delivery device
XML is topics = "P1, P2, P3," (for the locations
P1, P2, and P3).
Substitutions for location-based agents
- %LOCATION_ID%
- The location ID for the agent on the Data Capture and Delivery device
- %SELFTEST_MODE%
- Whether the location is set to be in self test mode
- %READER_ID%
- The ID for the tag reader at the location
- %READER_COM_PORT%
- The com.port for the tag reader at the location
- %READER_IP%
- The IP address of the tag reader at the location
- %READER_REMOTE_PORT%
- The port number of the tag reader at the location
Substitutions for controller-based agents
- %PREMISES_IP%
- The IP address of the WebSphere® Premises Server
- %CONTROLLER_ID%
- The Data Capture and Delivery device
ID of the controller
- %LOGGING_THRESHOLD%
- The logging threshold of the Data Capture and Delivery device
- %LOCATIONS_STR%
- The locations associated with the controller
- [LOCATIONS]%LOCATION_ID%[/LOCATIONS]
- Iterative substitution with all of the values of locations configured
on the controller
- [READERS]%READER_ID%[/READERS]
- Iterative substitution with all of the values of the tag readers
configured on the controller