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

SDK12 HTS Temperature Measurement Characteristic not enabling

Have built the HTS example and flashed to the PCA10040 board.

Using the iOS app HTM (within nRF Toolbox):

  1. connect.
  2. get notification from the Battery Service

However do not get temperature indications from the Temperature Characteristic.

Using BLExplr - get the same findings:

  1. can enable Battery level notifications

However cannot enable temperature indications from the Temperature Characteristic.

Questions:

  1. Within the main.c of the ble_app_hrs example,Is there something in the code, on the board, that needs enabling?
  2. Is there a temporal description of the life time of a Nordic typical BLE peripheral app. From power up? e.g. setting stuff up - the call backs used for advertising type and timing, then when a connection request comes in.........so far have failed to find this documentation.
Parents
  • Hi,

    1. You should not have to enable anything in the code. Just follow the description in the SDK documentation.

    2. I'm not aware of any such documentation, but by looking at the examples in the SDK you should se a siilar structure for each of them. A good starting point for getting familiar with BLE in nRF5x devices is the BLE tutorials found here on DevZone. You will also find all documentation about devices, softdevices, tools and SDKs in our infocenter.

    Best regards,

    Jørgen

  • I have connected to the HTS from both the iOS Tool Box App, BLExplr (from Dr. Kroll) and the nrf51 dongle none of them successfully enable the reading of the Temperature characteristic. The nrf51 Dongle helpfully gives the error code BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION.

    Perhaps you could expand on your statement "The nRF Toolbox app should perform bonding and enable indications automatically" as this doesn't appear to be happening. Do I need to add something to, or clear, the white list on the nrf52 board I am using? (the variant ending 40)

    I am using an iPhone 7 Plus running iOS 10.1.1

Reply
  • I have connected to the HTS from both the iOS Tool Box App, BLExplr (from Dr. Kroll) and the nrf51 dongle none of them successfully enable the reading of the Temperature characteristic. The nrf51 Dongle helpfully gives the error code BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION.

    Perhaps you could expand on your statement "The nRF Toolbox app should perform bonding and enable indications automatically" as this doesn't appear to be happening. Do I need to add something to, or clear, the white list on the nrf52 board I am using? (the variant ending 40)

    I am using an iPhone 7 Plus running iOS 10.1.1

Children
No Data
Related