The latest development version of this page may be more current than this released 4.0.0 version.

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 Nordic nRF devices, this sample 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