Reboot plug-in reference

The Reboot plug-in is used by TestDriver to restart the device. It is installed with TestDriver while installing the SITK. The plug-in comes with default settings, which can be changed later using the config command.

The following properties can be used to configure the plug-in:

Property nameDescription

method

To specify the channel that is used by the plug-in to restart the device. This property can either be set to "PortTalk" or "telnet" depending on the device you are using. The default value for this property is "PortTalk."

hardwareSwitchLoc

To specify the location of hardwareswitch.exe, which is used by TestDriver to power on or power off the device.

Note: This property is applicable only if the method property is set to "PortTalk."

userName

To specify the username that can be used to connect to the power switch and send commands to it directly.

passWd

To specify the password that can be used to connect to the power switch and send commands to it directly.

hostAddr

To specify the IP address of the power switch.

outletNo

To specify the number of the power outlet on the switch to which the device is connected.

Note: The properties, userName, passWd, hostAddr and outletNo are applicable only if the method property is set to "telnet."

You can change the values of these properties anytime using the config command. For example, the following command changes the value of method property to "telnet":

> testdriver config --plugin com.symbian.driver.plugins.reboot:method=telnet