[Bluetooth] - improving examples
authorPiotr Czaja <p.czaja@samsung.com>
Fri, 29 Jan 2016 09:26:41 +0000 (10:26 +0100)
committerPiotr Czaja <p.czaja@samsung.com>
Mon, 1 Feb 2016 08:07:34 +0000 (09:07 +0100)
Change-Id: Id3ea33c0118b27e1b0ce30763c0fb5e3cb3041d8
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
org.tizen.web.apireference/html/device_api/mobile/tizen/bluetooth.html

index 84ccfeb..82b4ec6 100644 (file)
@@ -501,15 +501,15 @@ The <em>tizen.bluetooth</em> object allows access to the Bluetooth API.
             Since: </span>
  2.3.1
           </p>
+<div class="constructors">
+<h4 id="BluetoothLEServiceData::constructor">Constructors</h4>
+<dl>
+<pre class="webidl prettyprint">BluetoothLEServiceData(DOMString uuid, DOMString data);</pre>
 <div class="example">
 <span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> // Creates a serviceData.
  var service = new tizen.BluetoothLEServiceData("c500-11e5", "0x1811");
  </pre>
 </div>
-<div class="constructors">
-<h4 id="BluetoothLEServiceData::constructor">Constructors</h4>
-<dl><pre class="webidl prettyprint">BluetoothLEServiceData(DOMString uuid, DOMString data);</pre></dl>
-</div>
 <div class="attributes">
 <h4>Attributes</h4>
 <ul>
@@ -3380,6 +3380,9 @@ Instead, use <em>http://tizen.org/privilege/bluetooth</em>.
             Since: </span>
  2.3.1
           </p>
+<p><span class="remark"> Remark : </span>
+ Example of using can be find at <a href="bluetooth.html#BluetoothLEDevice::addConnectStateChangeListener">addConnectStateChangeListener</a> code example.
+          </p>
 <div class="methods">
 <h4>Methods</h4>
 <dl>
@@ -3396,9 +3399,6 @@ Instead, use <em>http://tizen.org/privilege/bluetooth</em>.
             Since: </span>
  2.3.1
             </p>
-<p><span class="remark"> Remark : </span>
- Example of using can be find at <a href="bluetooth.html#BluetoothLEDevice::addConnectStateChangeListener">addConnectStateChangeListener</a> code example.
-            </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
 <ul>
@@ -3443,6 +3443,9 @@ Instead, use <em>http://tizen.org/privilege/bluetooth</em>.
             Since: </span>
  2.3.1
           </p>
+<p><span class="remark"> Remark : </span>
+ Example of using can be find at <a href="#BluetoothGATTCharacteristic::readValue">BluetoothGATTCharacteristic.readValue()</a> and <a href="#BluetoothGATTDescriptor::readValue">BluetoothGATTDescriptor.readValue()</a> code examples.
+          </p>
 <div class="methods">
 <h4>Methods</h4>
 <dl>