Health Thermometer (Peripheral)

Browse source code on GitHub

Overview

Similar to the Peripheral sample, except that this application specifically exposes the HT (Health Thermometer) GATT Service.

On boards with a dht0 Devicetree alias node, this sample uses this sensor to return ambient temperature values. On Nordic nRF devices, it uses the built-in TEMP peripheral to return die temperature values. On other boards, it will generate dummy temperature values.

Requirements

  • BlueZ running on the host, or

  • A board with Bluetooth LE support

Building and Running

This sample can be found under samples/bluetooth/peripheral_ht in the Zephyr tree.

See Bluetooth samples for details.

See also

Battery Service (BAS)
Bluetooth APIs