Health Thermometer (Central)

Browse source code on GitHub

Overview

Similar to the Central sample, except that this application specifically looks for health thermometer sensor and reports the die temperature readings once connected.

Requirements

  • BlueZ running on the host, or

  • A board with Bluetooth LE support

Building and Running

Build and flash the sample as follows, replacing <board> with your target board:

west build -b <board> samples/bluetooth/central_ht
west flash

After flashing, the sample scans for peripherals advertising the Health Thermometer Service (HTS). When one is found, it connects and subscribes to Temperature Measurement indications. Use the Health Thermometer (Peripheral) sample on a second board as the peripheral.

See also

Bluetooth APIs