nRF51 SDK: ble_hts_init_t 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_init_t Struct Reference
Health Thermometer Service

Health Thermometer Service init structure. This contains all options and data needed for initialization of the service. More...

`#include <ble_hts.h>`

## Data Fields

ble_hts_evt_handler_t | evt_handler
ble_srv_cccd_security_mode_t | hts_meas_attr_md
ble_srv_security_mode_t | hts_temp_type_attr_md
uint8_t | temp_type_as_characteristic
uint8_t | temp_type

## Detailed Description

Health Thermometer Service init structure. This contains all options and data needed for initialization of the service.

## Field Documentation

ble_hts_evt_handler_t ble_hts_init_t::evt_handler

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

ble_srv_cccd_security_mode_t ble_hts_init_t::hts_meas_attr_md

Initial security level for health thermometer measurement attribute

ble_srv_security_mode_t ble_hts_init_t::hts_temp_type_attr_md

Initial security level for health thermometer tempearture type attribute

uint8_t ble_hts_init_t::temp_type

Temperature type if temperature characteristic is used

uint8_t ble_hts_init_t::temp_type_as_characteristic

Set non-zero if temp type given as characteristic