<h3 id="ref">References</h3>
+<p>
+For developer's convenience, the controller module contains a set of functions wrapping
+<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>
+(<span style="font-family: Courier New,Courier,monospace">bt_common.c</span> source file) and <a href="https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__SYSTEM__SENSOR__MODULE.html">Sensor API</a>
+(<span style="font-family: Courier New,Courier,monospace">sensor_listener.c</span> source file).
+These functions are not listed in this document due to their simplicity.
+</p>
+
+<p>
+The <span style="font-family: Courier New,Courier,monospace">__pack_heart_rate_measurement_data()</span> and
+<span style="font-family: Courier New,Courier,monospace">__pack_body_sensor_location_data()</span> functions are not listed here as they simply encode the provided values according to
+adopted Bluetooth SIG standards.
+</p>
+
+<pre class="prettyprint">
+void bt_advertiser_delete(bt_advertiser_h *adv_h)
+{
+ /* Stops advertising and responding to scan requests. *.
+ bt_common_stop_advertising(*adv_h);
+ __delete_advertizer(adv_h);
+}
+</pre>
+
+<pre class="prettyprint">
+static void __delete_advertizer(bt_advertiser_h *adv_h)
+{
+ /* Deletes the advertiser's handle. */
+ bt_common_delete_advertizer(*adv_h);
+ /* Variables clearing. */
+ *adv_h = NULL;
+ __advertizer_appearance = 0;
+}
+</pre>
+
+<pre class="prettyprint">
+bool __set_advertizing_properties(bt_advertiser_h adv_h)
+{
+ struct _adv_properties properties = {0,};
+
+ /* Advertising message configuration. */
+ properties.pkt_type = BT_ADAPTER_LE_PACKET_ADVERTISING;
+ properties.name = true;
+ properties.tx_power = false;
+ properties.appearance = 0;
+ properties.manufacturer_id = MANUFACTURER_ID_SAMSUNG;
+ properties.manufacturer_data.id = MANUFACTURER_ID_SAMSUNG;
+
+ /* The configuration is applied to the advertiser. */
+ return __set_properties(adv_h, properties);
+}
+</pre>
+
+<pre class="prettyprint">
+bool __set_scan_response_properties(bt_advertiser_h adv_h, int appearance)
+{
+ struct _adv_properties properties = {0,};
+
+ /* Scan response message configuration. */
+ properties.pkt_type = BT_ADAPTER_LE_PACKET_SCAN_RESPONSE;
+ properties.name = true;
+ properties.tx_power = false;
+ properties.appearance = appearance;
+ properties.manufacturer_id = MANUFACTURER_ID_SAMSUNG;
+ properties.manufacturer_data.id = MANUFACTURER_ID_SAMSUNG;
+
+ /* The configuration is applied to the advertiser. */
+ return __set_properties(adv_h, properties);
+}
+</pre>
+
+<pre class="prettyprint">
+const char *heart_rate_measurement_model_get_uuid(void)
+{
+ /* HRM_UUID is defined as string constant: "2A37". */
+ return HRM_UUID;
+}
+</pre>
+
+<pre class="prettyprint">
+const char *body_sensor_location_model_get_uuid(void)
+{
+ /* BSL_UUID is defined as string constant: "2A38". */
+ return BSL_UUID;
+}
+</pre>
+
<script type="text/javascript" src="../scripts/jquery.zclip.min.js"></script>
<script type="text/javascript" src="../scripts/showhide.js"></script>
</div></div></div>
</script>
</body>
-</html>
\ No newline at end of file
+</html>