
APPENDIX 145
Appendix E – Command Line Arguments
Command line arguments have been added to SSMA for two purposes:
1 As an alternative to using the SSMA address book le, users have the option of organiz-
ing the information pertaining to their network of sensors with an external program
or service. e external system can then automatically launch SSMA with connection
parameters for a sensor selected from the external address book or database.
2 Perform a batch upgrade of sensors to a new version of rmware. As a simple example,
a Microso Windows batch le can be used to sequentially upgrade all the sensors
listed in the le.
Note
The auto upgrade command line feature will connect to one sensor at a time and
upgrade if necessary. If connection is successful but upgrade is not necessary, then
SSMA will automatically close the connection and shut down. If a long list of sen-
sors is in the process of being upgraded and a problem occurs when connecting to
or manually upgrading a specific sensor, it may be possible to manually abort for an
individual sensor and return to it later.
Figure E.1 shows an example batch le which will upgrade two sensors at the IP address
and ports specied.
Figure E.1 – Example Batch File
SSMA is launched using the Windows command shell and the connection parameters are
passed as command line arguments. e connection parameters are organized as follows:
Argument 1 is a character string that species the connection type as Internet or serial.
Argument 2 is a character string that species the sensor address connection method as:
AutoDetect (will auto-discover sensor IDs at the specied connection endpoint
and present a selection list)
Isolated (will connect to the rst sensor ID found)
UseID (will connect to the specied sensor ID)
Argument 3 is a character string that species the ID for the UseID connection method.
For the UseID method the associated 4-character number should be entered. For the
AutoDetect or Isolated connection methods, Argument 3 can be entered as Unknown.
Kommentare zu diesen Handbüchern