Bluetooth Connectivity Setup

## Bluetooth Connection Setup

The on-device debug agent software supports the use of Bluetooth to debug programs running on a target device. To enable communication with a Bluetooth device, a connection must be established between the PC and the device. The on-device debug agent requires a dedicated COM port in order to talk with the device. In some cases, other programs that use the same COM port number will interfere with CODA, essentially "fighting" over control of the COM port. Follow the steps below to setup a Bluetooth connection with the Bluetooth enabled device.

NOTE Ensure that no other program has commandeered the Bluetooth connection. For example, some phone connectivity programs will not release a COM port unless specifically told to do so.

NOTE Most problems with on-target debugging setup occur here, so be careful when performing each of these steps.

#### Setting up a Bluetooth Connection for On-device Debugging

NOTE This example shows how to setup a Bluetooth connection on a PC running Windows XP SP2 with an internal Bluetooth device. The actions to setup Bluetooth connections may be different on your version of Windows. Refer to the OS documentation for information on configuring Bluetooth connections. Ensure that the correct Bluetooth drivers are installed.

1. Open the Bluetooth Configuration window (Start > Settings > Control Panel > Bluetooth Configuration)
2. Verify the following settings in the Accessibility tab (Figure 1):
   - The option "Let other Bluetooth devices discover this computer" is checkmarked
   - The option "Allow" is set to "All Devices"

Figure 1. Bluetooth Configuration windows Accessibility panel

3. Write down the Bluetooth COM Port number from the Local Services tab (Figure 2) for later use

The Bluetooth COM Port number in the Local Services tab should match the COM port used in the Connections tab of CODA launch
configuration.

Figure 2. Bluetooth Configuration windows Local Services panel

4. Click OK to close the Bluetooth Configuration window
5. Download the Symbian Device (Install SIS) or Symbian Device SISX file to the device

##### Related concepts

- On-device Debugging

##### Related references

- Debug Window (On-device Debugging) Overview