[SAMPLE APP][Bluetooth LE Service] Overview section added
authorMichal Pawluk <m.pawluk@samsung.com>
Mon, 21 Dec 2015 09:20:06 +0000 (10:20 +0100)
committerMichal Pawluk <m.pawluk@samsung.com>
Mon, 28 Dec 2015 08:33:22 +0000 (09:33 +0100)
Change-Id: I35ef134986862d15d7751cf6a6e0f6342221dc9b
Signed-off-by: Michal Pawluk <m.pawluk@samsung.com>
org.tizen.sampledescriptions/html/wearable_n/bluetooth_le_service_sd_wn.htm [new file with mode: 0644]
org.tizen.sampledescriptions/html/wearable_n/sd_wn.htm

diff --git a/org.tizen.sampledescriptions/html/wearable_n/bluetooth_le_service_sd_wn.htm b/org.tizen.sampledescriptions/html/wearable_n/bluetooth_le_service_sd_wn.htm
new file mode 100644 (file)
index 0000000..07fa99b
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+       <meta http-equiv="X-UA-Compatible" content="IE=9" />
+       <link rel="stylesheet" type="text/css" href="../css/styles.css" />
+       <link rel="stylesheet" type="text/css" href="../css/snippet.css" />
+       <script type="text/javascript" src="../scripts/snippet.js"></script>
+       <script type="text/javascript" src="../scripts/jquery.util.js" charset="utf-8"></script>
+       <script type="text/javascript" src="../scripts/common.js" charset="utf-8"></script>
+       <script type="text/javascript" src="../scripts/core.js" charset="utf-8"></script>
+       <script type="text/javascript" src="../scripts/search.js" charset="utf-8"></script>
+
+       <title>Bluetooth LE Service Sample Overview</title>
+</head>
+
+<body class="no-toc" onload="prettyPrint()" style="overflow: auto;">
+
+<div id="toc-navigation">
+</div>
+
+<div id="container"><div id="contents"><div class="content">
+       <div id="profile">
+               <p><img alt="Wearable native" src="../images/wearable_s_n.png"/></p>
+       </div>
+
+<h1>Bluetooth LE Service Sample Overview</h1>
+
+<p>
+The Bluetooth LE Service sample application demonstrates how to implement a service that continuously broadcasts data using the Bluetooth Low Energy adapter. In order to achive the goal, the
+<a href="https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__NETWORK__BLUETOOTH__ADAPTER__LE__MODULE.html">Bluetooth LE Adapter</a>
+API is used. The continuous data broadcast using the mentioned method is called advertising. The service advertises small packets of data to identify a device within the Bluetooth network.
+Once the advertisment is received by any other device, one can query the advertiser for detailed service data. The query process is called scanning. In a scan response the service data, identified by preassigned UUID,
+is returned.
+</p>
+
+<p>
+The general idea behind this sample application is to share the health information gathered from the Heart Rate sensor which is built into the wearable device. There are two types of advertized information:
+       <ul>
+               <li>Heart Rate Measurement - the number of heart beats per second (acquired directly from the Heart Rate sensor). This data is identified by the UUID = 0x2A37;</li>
+               <li>Body Sensor Location - the point of measurement which is fixed for the entire lifecycle of the service. This data is identified by the UUID = 0x2A38.</li>
+       </ul>
+</p>
+
+<h2>Prerequisites</h2>
+
+<p>To ensure proper service execution, the following privileges must be set:</p>
+       <ul>
+               <li><span style="font-family: Courier New,Courier,monospace">http://tizen.org/privilege/bluetooth,</span></li>
+               <li><span style="font-family: Courier New,Courier,monospace">http://tizen.org/privilege/healthinfo.</span></li>
+       </ul>
+</p>
+
+<h2>Implementation</h2>
+
+
+
+
+<script type="text/javascript" src="../scripts/jquery.zclip.min.js"></script>
+<script type="text/javascript" src="../scripts/showhide.js"></script>
+</div></div></div>
+
+<a class="top sms" href="#"><img src="../images/btn_top.gif" alt="Go to top" /></a>
+
+<div id="footer">
+<p class="footer">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br/>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</p>
+</div>
+
+<script type="text/javascript">
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-25976949-1']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
+
+</body>
+</html>
\ No newline at end of file
index 5876922..83713da 100644 (file)
        <tr> 
      <td><a href="bluetoothchat_sd_wn.htm">(Circle) Bluetooth Chat</a></td> 
      <td>Demonstrates how you can send and receive data between 2 devices.</td>
-    </tr>      
+    </tr>
+       <tr>
+        <td><a href="bluetooth_le_service_sd_wn.htm">Bluetooth LE Service</a></td>
+        <td>Demonstrates how you can implement the data broadcasting (advertizing) via the Bluetooth Low Energy adapter.</td>
+       </tr>
        <tr> 
      <td><a href="cairo_basic_sd_wn.htm">(Circle) Cairo Basic</a></td> 
      <td>Demonstrates how you can implement the Cairo image backend.</td>