Enumerations

enum  hrs_c_evt_type_t {
  HRS_C_EVT_INVALID,
  HRS_C_EVT_DISCOVERY_COMPLETE,
  HRS_C_EVT_DISCOVERY_FAIL,
  HRS_C_EVT_HR_MEAS_NTF_SET_SUCCESS,
  HRS_C_EVT_HR_MEAS_VAL_RECEIVE,
  HRS_C_EVT_SENSOR_LOC_READ_RSP,
  HRS_C_EVT_CTRL_POINT_SET,
  HRS_C_EVT_WRITE_OP_ERR
}
 Heart Rate Service Client event type. More...
 
enum  hrs_c_flag_bit_t {
  HRS_C_BIT_RATE_FORMAT = 0x01,
  HRS_C_BIT_SENSOR_CONTACT_DETECTED = 0x02,
  HRS_C_BIT_SENSOR_CONTACT_SUPPORTED = 0x04,
  HRS_C_BIT_ENERGY_EXPENDED_STATUS = 0x08,
  HRS_C_BIT_INTERVAL = 0x10
}
 Heart Rate Service Measurement flag bit. More...
 
enum  hrs_c_sensor_loc_t {
  HRS_C_SENS_LOC_OTHER,
  HRS_C_SENS_LOC_CHEST,
  HRS_C_SENS_LOC_WRIST,
  HRS_C_SENS_LOC_FINGER,
  HRS_C_SENS_LOC_HAND,
  HRS_C_SENS_LOC_EARLOBE,
  HRS_C_SENS_LOC_FOOT
}
 Values for sensor location. More...
 

Detailed Description

Enumeration Type Documentation

◆ hrs_c_evt_type_t

Heart Rate Service Client event type.

Enumerator
HRS_C_EVT_INVALID 

HRS Client invalid event.

HRS_C_EVT_DISCOVERY_COMPLETE 

HRS Client has found HRS service and its characteristics.

HRS_C_EVT_DISCOVERY_FAIL 

HRS Client found HRS service failed because of invalid operation or no found at the peer.

HRS_C_EVT_HR_MEAS_NTF_SET_SUCCESS 

HRS Client has set Notification of Heart Rate Measure characteristic.

HRS_C_EVT_HR_MEAS_VAL_RECEIVE 

HRS Client has received Heart Rate Measure value notification from peer.

HRS_C_EVT_SENSOR_LOC_READ_RSP 

HRS Client has received Sensor Location Value read response.

HRS_C_EVT_CTRL_POINT_SET 

HRS Client has set Control Point completely.

HRS_C_EVT_WRITE_OP_ERR 

Error occured when HRS Client writen to peer.

Definition at line 81 of file hrs_c.h.

◆ hrs_c_flag_bit_t

Heart Rate Service Measurement flag bit.

Enumerator
HRS_C_BIT_RATE_FORMAT 

Heart Rate Value Format bit.

HRS_C_BIT_SENSOR_CONTACT_DETECTED 

Sensor Contact Detected bit.

HRS_C_BIT_SENSOR_CONTACT_SUPPORTED 

Sensor Contact Supported bit.

HRS_C_BIT_ENERGY_EXPENDED_STATUS 

Energy Expended Status bit.

HRS_C_BIT_INTERVAL 

RR-Interval bit.

Definition at line 94 of file hrs_c.h.

◆ hrs_c_sensor_loc_t

Values for sensor location.

Enumerator
HRS_C_SENS_LOC_OTHER 

The sensor location is other.

HRS_C_SENS_LOC_CHEST 

The sensor location is the chest.

HRS_C_SENS_LOC_WRIST 

The sensor location is the wrist.

HRS_C_SENS_LOC_FINGER 

The sensor location is the finger.

HRS_C_SENS_LOC_HAND 

The sensor location is the hand.

HRS_C_SENS_LOC_EARLOBE 

The sensor location is the earlobe.

HRS_C_SENS_LOC_FOOT 

The sensor location is the foot.

Definition at line 105 of file hrs_c.h.