core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_connection_bluetooth.htm
author dan.podwall@nokia.com
Mon, 06 Apr 2009 14:56:28 -0500
changeset 56 887bd61e1328
parent 2 d760517a8095
child 325 6cb072f1aa74
permissions -rw-r--r--
merge from RCL_2_0 to default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
cawthron
parents:
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
cawthron
parents:
diff changeset
     7
<title>Bluetooth Connectivity Setup</title>
cawthron
parents:
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
cawthron
parents:
diff changeset
     9
</head>
cawthron
parents:
diff changeset
    10
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    11
<h2>Bluetooth Connection Setup</h2>
cawthron
parents:
diff changeset
    12
<p>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 the TRK debug agent, essentially &quot;fighting&quot; over control of the COM port. Follow the steps below to setup a Bluetooth connection with the Bluetooth enabled device. </p>
cawthron
parents:
diff changeset
    13
<p class="note"><b>NOTE</b> 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. </p>
cawthron
parents:
diff changeset
    14
<p class="note"><b>NOTE</b> Most problems with on-target debugging setup occur here, so be careful when performing each of these steps.</p>
cawthron
parents:
diff changeset
    15
<div class="step">
cawthron
parents:
diff changeset
    16
  <h4>Setting up a Bluetooth Connection for On-device Debugging </h4>
cawthron
parents:
diff changeset
    17
  <p class="note"><b>NOTE</b> 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.</p>
cawthron
parents:
diff changeset
    18
  <ol>
cawthron
parents:
diff changeset
    19
    <li>Open the Bluetooth Configuration window (Start &gt; Settings &gt; Control Panel &gt; Bluetooth Configuration)</li>
cawthron
parents:
diff changeset
    20
    <li>Verify the following settings in the Accessibility tab (Figure 1):
cawthron
parents:
diff changeset
    21
      <ul>
cawthron
parents:
diff changeset
    22
        <li>The option &quot;Let other Bluetooth devices discover this computer&quot; is checkmarked</li>
cawthron
parents:
diff changeset
    23
        <li>The option &quot;Allow&quot; is set to &quot;All Devices&quot; </li>
cawthron
parents:
diff changeset
    24
      </ul>
cawthron
parents:
diff changeset
    25
    </li>
cawthron
parents:
diff changeset
    26
    <p align="center"><img src="images/wnd_bluetooth_config.png" width="462" height="438" /></p>
cawthron
parents:
diff changeset
    27
    <p class="figure">Figure 1. Bluetooth Configuration window's Accessibility panel </p>
cawthron
parents:
diff changeset
    28
    <li>Write down the Bluetooth COM Port number from the  Local Services tab (Figure 2) for later use</li>
cawthron
parents:
diff changeset
    29
	<p>The Bluetooth COM Port number in the Local Services tab
cawthron
parents:
diff changeset
    30
	  should match the COM port used in the <a href="../../reference/launch_configs/page_connection.htm">Connections</a> tab of the TRK <a href="../../reference/launch_configs/run_mode_overview.htm">launch<br />
cawthron
parents:
diff changeset
    31
    configuration</a>.</p>
cawthron
parents:
diff changeset
    32
    <p align="center"><img src="images/wnd_bluetooth_config_services.png" width="460" height="437" /></p>
cawthron
parents:
diff changeset
    33
    <p class="figure">Figure 2. Bluetooth Configuration window's Local Services panel </p>
cawthron
parents:
diff changeset
    34
    <li>Click OK to close the Bluetooth Configuration window</li>
cawthron
parents:
diff changeset
    35
    <li>Download the Application TRK or System TRK SISX file to the device</li>
cawthron
parents:
diff changeset
    36
  </ol>
cawthron
parents:
diff changeset
    37
</div>
cawthron
parents:
diff changeset
    38
  <h5>Related concepts</h5>
cawthron
parents:
diff changeset
    39
  <ul>
cawthron
parents:
diff changeset
    40
    <li><a href="../../concepts/trk.htm">On-device Debugging </a></li>
cawthron
parents:
diff changeset
    41
  </ul>
cawthron
parents:
diff changeset
    42
  <h5>Related references</h5>
cawthron
parents:
diff changeset
    43
  <ul>
cawthron
parents:
diff changeset
    44
    <li><a href="../../reference/launch_configs/run_mode_overview.htm">Debug Window (On-device Debugging) Overview</a></li>
cawthron
parents:
diff changeset
    45
  </ul>
cawthron
parents:
diff changeset
    46
  <h5>Related tasks</h5>
cawthron
parents:
diff changeset
    47
  <ul>
cawthron
parents:
diff changeset
    48
    <li><a href="trk_install_bluetooth.htm">Installing On-device Debug Agents using Bluetooth </a></li>
cawthron
parents:
diff changeset
    49
  </ul>
cawthron
parents:
diff changeset
    50
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
cawthron
parents:
diff changeset
    51
cawthron
parents:
diff changeset
    52
</body>
cawthron
parents:
diff changeset
    53
</html>