• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/29-Dec-2025-6148

src/29-Dec-2025-289198

CMakeLists.txtD29-Dec-2025236 128

KconfigD29-Dec-2025293 1710

README.rstD29-Dec-2025857 2919

prj.confD29-Dec-2025227 1110

sample.yamlD29-Dec-20251.2 KiB4543

README.rst

1.. zephyr:code-sample:: ble_peripheral_ht
2   :name: Health Thermometer (Peripheral)
3   :relevant-api: bt_bas bluetooth
4
5   Expose a Health Thermometer (HT) GATT Service generating dummy temperature values.
6
7Overview
8********
9
10Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
11application specifically exposes the HT (Health Thermometer) GATT Service.
12
13On boards with a ``dht0`` Devicetree alias node, this sample uses this sensor to
14return ambient temperature values. On Nordic nRF devices, it uses the built-in
15TEMP peripheral to return die temperature values.  On other boards, it will
16generate dummy temperature values.
17
18
19Requirements
20************
21
22* BlueZ running on the host, or
23* A board with Bluetooth LE support
24
25Building and Running
26********************
27
28See :zephyr:code-sample-category:`bluetooth` samples for details.
29