SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_hts.h File Reference

ble_hts.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_hts_evt_t
 Health Thermometer Service event. More...
struct  ieee_float32_t
 FLOAT format (IEEE-11073 32-bit FLOAT, defined as a 32-bit value with a 24-bit mantissa and an 8-bit exponent. More...
struct  ble_hts_init_t
 Health Thermometer Service init structure. More...
struct  ble_hts_s
 Health Thermometer Service structure. More...
struct  ble_hts_meas_s
 Health Thermometer Service measurement structure. More...

Typedefs

typedef struct ble_hts_s ble_hts_t
 Health Thermometer Service structure.
typedef void(* ble_hts_evt_handler_t )(ble_hts_t *p_hts, ble_hts_evt_t *p_evt)
 Health Thermometer Service event handler type.
typedef struct ble_hts_meas_s ble_hts_meas_t
 Health Thermometer Service measurement structure.

Enumerations

enum  ble_hts_evt_type_t { BLE_HTS_EVT_INDICATION_ENABLED, BLE_HTS_EVT_INDICATION_DISABLED, BLE_HTS_EVT_INDICATION_CONFIRMED }
 

Health Thermometer Service event type.

More...

Functions

uint32_t ble_hts_init (ble_hts_t *p_hts, const ble_hts_init_t *p_hts_init)
 Function for initializing the Health Thermometer Service.
void ble_hts_on_ble_evt (ble_hts_t *p_hts, ble_evt_t *p_ble_evt)
 Function for handling the Application's BLE Stack events.
uint32_t ble_hts_measurement_send (ble_hts_t *p_hts, ble_hts_meas_t *p_hts_meas)
 Function for sending health thermometer measurement if indication has been enabled.
uint32_t ble_hts_is_indication_enabled (ble_hts_t *p_hts, bool *p_indication_enabled)
 Function for checking if indication of Temperature Measurement is currently enabled.

Detailed Description

Definition in file ble_hts.h.