Infineon Logo AIROC BTSDK v4.6 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
blehrm.h File Reference

LE Heart Rate profile, service, application. More...

Macros

#define RR_MAX_NUM   9
 

Typedefs

struct {
   UINT8   flag
 
   UINT16   hrm
 
   UINT16   ee
 
   UINT16   rr [RR_MAX_NUM]
 
   UINT8   rr_len
 
BLEHRM_HRM_DATA
 
struct {
   UINT8   opcode
 
BLEHRM_CP_HDR
 

Enumerations

enum  blehrm_flag {
  HRM_HEARTRATE_VALUE = 0x01, HRM_SENSOR_CONTACT = 0x02, HRM_SENSOR_CONTACT_SUPPORT = 0x04, HRM_ENERGY_EXPENDED_STATUS = 0x08,
  HRM_RR_INTERVAL_SUPPORT = 0x10
}
 
enum  blehrm_sensorlocation {
  HRM_LOC_START = 0x00, HRM_LOC_CHEST = 0x01, HRM_LOC_WRIST = 0x02, HRM_LOC_FINGER = 0x03,
  HRM_LOC_HAND = 0x04, HRM_LOC_EARLOBE = 0x05, HRM_LOC_FOOT = 0x06, HRM_LOC_END = 0x06
}
 
enum  blehrm_opcode { HRM_CP_RESET_ENERGY_EXPENDED = 0x01 }
 

Functions

void blehrm_Create (void)
 

Variables

const UINT8 blehrm_db_data []
 
const UINT16 blehrm_db_size
 
const BLE_PROFILE_CFG blehrm_cfg
 
const BLE_PROFILE_PUART_CFG blehrm_puart_cfg
 
const BLE_PROFILE_GPIO_CFG blehrm_gpio_cfg
 

Detailed Description

LE Heart Rate profile, service, application.

This file contains definitions and function prototypes for LE Heart Rate Monitor implementation.

Refer to Bluetooth SIG Heart Rate Profile 1.0 abd Heart Rate Service 1.0 specifications for details.