Using Bluetooth
The following procedure must be followed to set up a Bluetooth
connection.
On the device
-
Activate Bluetooth on your Symbian device.
-
Modify the STAT.ini
file to include -bt
as your transport option, as shown in the following example.
[SectionOne]
comport=0
[SectionTwo]
transport=bt
[SectionThree]
logging=0
debugport=1
-
Start the STAT tool. This connects and advertises STAT as one of
the available Bluetooth services.
On the PC
-
Ensure that your Bluetooth device is connected correctly. Note the
com port to which it is mapped.
-
Browse to your Symbian OS device using your Bluetooth
neighbourhood. Refresh by pressing F5. You must see the STAT
serial port service. Right-click and connect. This will pair your PC and the
STAT service.
You are now ready to communicate with the Symbian OS device and use
TestDriver from your PC over a Bluetooth connection.
Example
Here is an example on how to run a test over a Bluetooth connection:
> TestDriver run -p arm4 -b urel -s test1.test2.testA -t bt6
where 6
is the mapped communication port number for the
Bluetooth device.
In the preceding example, serial1 represents serial communication port
1 on the PC.
NOTE: If -t
option is not specified, the
transport defaults to serial2 (serial communication port 2).