Functions
Functions
BLE Services » Health Thermometer Service (HTS)
Collaboration diagram for Functions:

## Functions
sdk_err_t | hts_service_init (hts_init_t *p_hts_init)
| Initialize a Health Thermometer Service instance and add in the DB. More...
sdk_err_t | hts_measurement_send (uint8_t conn_idx, hts_meas_val_t *p_meas)
| Send temperature measurement if indication or notification has been enabled. More...
sdk_err_t | hts_measurement_interval_send (uint8_t conn_idx)
| Send temperature measurement interval if indication has been enabled. More...

## Detailed Description

## Function Documentation

## ◆ hts_measurement_interval_send()

sdk_err_t hts_measurement_interval_send | ( | uint8_t | conn_idx | ) |

Send temperature measurement interval if indication has been enabled.

Parameters

  [in] | conn_idx | Connnection index.

Returns
  Result of indicate value

## ◆ hts_measurement_send()

sdk_err_t hts_measurement_send | ( | uint8_t | conn_idx,
|  | hts_meas_val_t * | p_meas
| ) |  |

Send temperature measurement if indication or notification has been enabled.

Parameters

  [in] | conn_idx | Connnection index.
  [in] | p_meas | The pointer to new health temperature measurement.

Returns
  Result of indicate value

## ◆ hts_service_init()

sdk_err_t hts_service_init | ( | hts_init_t * | p_hts_init | ) |

Initialize a Health Thermometer Service instance and add in the DB.

Parameters

  [in] | p_hts_init | Pointer to Health Thermometer Service initialization variable

Returns
  Result of service initialization.