From 30cd49e19b7e2b7ffe715e56c75c6182a6547329 Mon Sep 17 00:00:00 2001 From: Michal Pawluk Date: Mon, 21 Dec 2015 10:20:06 +0100 Subject: [PATCH] [SAMPLE APP][Bluetooth LE Service] Overview section added Change-Id: I35ef134986862d15d7751cf6a6e0f6342221dc9b Signed-off-by: Michal Pawluk --- .../html/wearable_n/bluetooth_le_service_sd_wn.htm | 81 ++++++++++++++++++++++ .../html/wearable_n/sd_wn.htm | 6 +- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 org.tizen.sampledescriptions/html/wearable_n/bluetooth_le_service_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 index 0000000..07fa99b --- /dev/null +++ b/org.tizen.sampledescriptions/html/wearable_n/bluetooth_le_service_sd_wn.htm @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + Bluetooth LE Service Sample Overview + + + + +
+
+ +
+
+

Wearable native

+
+ +

Bluetooth LE Service Sample Overview

+ +

+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 +Bluetooth LE Adapter +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. +

+ +

+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: +

    +
  • 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;
  • +
  • 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.
  • +
+

+ +

Prerequisites

+ +

To ensure proper service execution, the following privileges must be set:

+
    +
  • http://tizen.org/privilege/bluetooth,
  • +
  • http://tizen.org/privilege/healthinfo.
  • +
+

+ +

Implementation

+ + + + + + +
+ +Go to top + + + + + + + \ No newline at end of file diff --git a/org.tizen.sampledescriptions/html/wearable_n/sd_wn.htm b/org.tizen.sampledescriptions/html/wearable_n/sd_wn.htm index 5876922..83713da 100644 --- a/org.tizen.sampledescriptions/html/wearable_n/sd_wn.htm +++ b/org.tizen.sampledescriptions/html/wearable_n/sd_wn.htm @@ -56,7 +56,11 @@ (Circle) Bluetooth Chat Demonstrates how you can send and receive data between 2 devices. - + + + Bluetooth LE Service + Demonstrates how you can implement the data broadcasting (advertizing) via the Bluetooth Low Energy adapter. + (Circle) Cairo Basic Demonstrates how you can implement the Cairo image backend. -- 2.7.4