Studio:Connect.pl: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Connect.pl moved to Studio:Connect.pl) |
(No difference)
|
Revision as of 22:03, 18 August 2009
Connect is a light-weight utility for managing the connection to the target device.
Prerequisites
Usage
Connect.pl [-c -d -t 10]
- Parameters
- -c | --connect
- Connects to the device using the currently active transport, as specified in the transport.cfg file. By default, if no options are specified, this script will attempt to connect. If a connection is already established, the script will exit. After connecting, the script will wait on input from the keyboard (type either "q", "Q", <Ctrl>+C or <Ctrl>+Z) to disconnect and exit.
- -d | --disconnect
- Disconnects from the device. The script exits immediately after disconnecting.
- -t | --timeout = TimeoutVal
- Specifies a timeout (in seconds) to use when attempting to connect to the device. If it is unable to connect in TimeoutVal seconds, the script will issue an error and exit. The default value is 5 seconds.
Prerequisites
This component is written in the Perl scripting language and therefore requires that Perl be installed. See Perl requirements for more information.
The target connection is handled by the Initialize module.