## Installing On-device Debug Agents using Bluetooth

Use Bluetooth to install the on-device debug agent, either Application TRK or System TRK, as a SISX file, to enable on-target debugging. The installation location of the on-device debug agent will vary based on the phone. Application TRK is usable on both consumer and RnD versions of the device. System TRK is only usable on RnD devices.

On some phones it will be the Installed folder, on others it may be in My Own folder. Refer to the documentation that came with the phone to learn where installed programs are stored.

NOTE The following example shows how to install the SISX file from a PC running Windows XP SP2 using an internal Bluetooth device. The actions to install the SISX file may be different on your version of Windows. Refer to the OS documentation for information on transferring a file via a Bluetooth connection.

#### Installing an On-device Debug Agent using Bluetooth

1. On the device ensure that the Bluetooth communications is turned on
2. On the PC ensure that the Bluetooth device is turned on
3. From your PC, search for available Bluetooth devices and make sure your device is listed
4. On the PC, right-click the SISX file, then choose the Send To > Bluetooth > device menu item (Figure 1)

Figure 1. Right-click SISX file

5. Follow the on-screen instructions to transfer the SISX file to the target device

The SISX file is transfered to the target device as a message. On the target device you may need to set a PIN code for the file transfer, accept the message, then wait for the "You have 1 new message" alert to appear.

6. Locate the new message on the target device

Start the Messaging application on the target device and locate the new message.

7. Select the SISx file and open the file to install it
8. Click OK when prompted to install TRK
9. Follow the instructions on the screen to finish installing the TRK debug agent

##### Related concepts

- On-device Debugging

##### Related references

- On-Device Setup
- Debug Window (On-device Debugging) Overview

##### Related tasks

- Installing On-device Debug Agents using USB
- Connecting via Bluetooth
- Connecting via USB