nRF51 SDK: ble_hts_s Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_hts_s Struct Reference
Health Thermometer Service

Health Thermometer Service structure. This contains various status information for the service. More...

`#include <ble_hts.h>`

## Data Fields

ble_hts_evt_handler_t | evt_handler
uint16_t | service_handle
ble_gatts_char_handles_t | meas_handles
ble_gatts_char_handles_t | temp_type_handles
uint16_t | conn_handle
uint8_t | temp_type

## Detailed Description

Health Thermometer Service structure. This contains various status information for the service.

## Field Documentation

uint16_t ble_hts_s::conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

ble_hts_evt_handler_t ble_hts_s::evt_handler

Event handler to be called for handling events in the Health Thermometer Service.

ble_gatts_char_handles_t ble_hts_s::meas_handles

Handles related to the Health Thermometer Measurement characteristic.

uint16_t ble_hts_s::service_handle

Handle of Health Thermometer Service (as provided by the BLE stack).

uint8_t ble_hts_s::temp_type

Temperature type indicates where the measurement was taken.

ble_gatts_char_handles_t ble_hts_s::temp_type_handles

Handles related to the Health Thermometer Temperature Type characteristic.