This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Health Thermometer does not display Temperature in nRF Toolbox

I have been experimenting with the mbed BLE Health Thermometer examples, BLE_Themometer etc. Whilst they are visible and show their name in the nRF Toolbox Health Thermometer tab the temperature wont display . If I use nRF Connect I can get the temperature to display. I checked on the mbed forum and others report the same but no solution is given. Any suggestions

  • Hi,

    I tested the mbed Health Thermometer example found here. This example uses NOTIFY, READ properties on the Temperature Measurement Characteristics. This is not in compliance with the Bluetooth SIG definition found here, where it’s stated the Temperature Measurement Characteristics should use indication. The HTM(Health Thermometer Monitor) in nRF Toolbox app only works when the Temperature Measurement Characteristics uses indication.

  • I imported the application into mbed and compiled for BLE Nano but got a series of errors like:

    Error: No space in execution regions with .ANY selector matching libspace.o(.bss).

    IWhen I examine the main.cpp I cannot see anywhere where " This example uses NOTIFY, READ properties on the Temperature Measurement Characteristics"

    Regards Jim

  • I discovered the problem. In ble\HealthThermometerService: tempMeasurement(GattCharacteristic::UUID_TEMPERATURE_MEASUREMENT_CHAR, (TemperatureValueBytes *)valueBytes.getPointer(), GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY), tempLocation(GattCharacteristic::UUID_TEMPERATURE_TYPE_CHAR, &_location) Which is not the default condition for the Health Thermometer. If I change NOTIFY for INDICATE nRFToolbox then displays the temperature. Regards Jim

Related