Enumerations
Enumerations
BLE Services » Continuous Glucose Monitoring Service (CGMS)
Collaboration diagram for Enumerations:

## Enumerations
enum | cgms_meas_type_t { CGMS_MEAS_TYPE_CAP_BLOOD = 0x01, CGMS_MEAS_TYPE_CAP_PLASMA, CGMS_MEAS_TYPE_VEN_BLOOD, CGMS_MEAS_TYPE_VEN_PLASMA, CGMS_MEAS_TYPE_ART_BLOOD, CGMS_MEAS_TYPE_ART_PLASMA, CGMS_MEAS_TYPE_UNDET_BLOOD, CGMS_MEAS_TYPE_UNDET_PLASMA, CGMS_MEAS_TYPE_FLUID, CGMS_MEAS_TYPE_CONTROL }
| CGM measurement type. More...
enum | cgms_meas_loc_t { CGMS_MEAS_LOC_FINGER = 0x01, CGMS_MEAS_LOC_AST, CGMS_MEAS_LOC_EAR, CGMS_MEAS_LOC_CONTROL, CGMS_MEAS_LOC_SUB_TISSUE }
| CGM measurement location. More...
enum | cgms_cal_status_t { CGMS_CAL_STATUS_REJECT, CGMS_CAL_STATUS_OUT_OF_RANGE, CGMS_CAL_STATUS_PROCESS_PENGDING }
enum | cgms_cccd_status_t { CGMS_CCCD_STATUS_MEAS_ENABLED, CGMS_CCCD_STATUS_MEAS_DISABLED, CGMS_CCCD_STATUS_RACP_ENABLED, CGMS_CCCD_STATUS_RACP_DISABLED, CGMS_CCCD_STATUS_SPCP_ENABLED, CGMS_CCCD_STATUS_SPCP_DISABLED, CGMS_CCCD_STATUS_FEAT_ENABLED, CGMS_CCCD_STATUS_FEAT_DISABLED }
enum | cgms_get_info_code_t { CGMS_GET_INFO_NONE, CGMS_GET_INFO_ANN_STATUS, CGMS_GET_INFO_SES_START_TIME, CGMS_GET_INFO_SES_RUN_TIME }
enum | cgms_cp_cmd_code_t { CGMS_CP_CODE_NONE, CGMS_CP_CODE_SET_COM_INTERVAL, CGMS_CP_CODE_GET_COM_INTERVAL, CGMS_CP_CODE_SET_CAL_VALUE = 0x04, CGMS_CP_CODE_GET_CAL_VALUE, CGMS_CP_CODE_SET_PATIENT_HIGHT_LVL = 0x07, CGMS_CP_CODE_GET_PATIENT_HIGHT_LVL, CGMS_CP_CODE_SET_PATIENT_LOW_LVL = 0x0a, CGMS_CP_CODE_GET_PATIENT_LOW_LVL, CGMS_CP_CODE_SET_HYPO_LVL = 0x0d, CGMS_CP_CODE_GET_HYPO_LVL, CGMS_CP_CODE_SET_HYPER_LVL = 0x10, CGMS_CP_CODE_GET_HYPER_LVL, CGMS_CP_CODE_SET_RATE_OF_DEC_LVL = 0x13, CGMS_CP_CODE_GET_RATE_OF_DEC_LVL, CGMS_CP_CODE_SET_RATE_OF_INC_LVL = 0x16, CGMS_CP_CODE_GET_RATE_OF_INC_LVL, CGMS_CP_CODE_RESET_DEV_SPEC_ALERT = 0x19, CGMS_CP_CODE_START_THE_SESSION, CGMS_CP_CODE_STOP_THE_SESSION, CGMS_CP_CODE_SET_SES_START_TIME }
enum | cgms_cp_cmd_ret_t { CGMS_CMD_RET_CODE_RESERVED = 0x00, CGMS_CMD_RET_CODE_SUCESS, CGMS_CMD_RET_CODE_NOT_SUPPORT, CGMS_CMD_RET_CODE_INVALID_OPERAND, CGMS_CMD_RET_CODE_PROCEDURE_NOT_COMPLETED, CGMS_CMD_RET_CODE_PARAM_OUT_OF_RANGE }

## Detailed Description

## Enumeration Type Documentation

## ◆ cgms_cal_status_t

enum cgms_cal_status_t

Enumerator
CGMS_CAL_STATUS_REJECT |
CGMS_CAL_STATUS_OUT_OF_RANGE |
CGMS_CAL_STATUS_PROCESS_PENGDING |

Definition at line 186 of file cgms.h.

## ◆ cgms_cccd_status_t

enum cgms_cccd_status_t

Enumerator
CGMS_CCCD_STATUS_MEAS_ENABLED |
CGMS_CCCD_STATUS_MEAS_DISABLED |
CGMS_CCCD_STATUS_RACP_ENABLED |
CGMS_CCCD_STATUS_RACP_DISABLED |
CGMS_CCCD_STATUS_SPCP_ENABLED |
CGMS_CCCD_STATUS_SPCP_DISABLED |
CGMS_CCCD_STATUS_FEAT_ENABLED |
CGMS_CCCD_STATUS_FEAT_DISABLED |

Definition at line 193 of file cgms.h.

## ◆ cgms_cp_cmd_code_t

enum cgms_cp_cmd_code_t

Enumerator
CGMS_CP_CODE_NONE |
CGMS_CP_CODE_SET_COM_INTERVAL |
CGMS_CP_CODE_GET_COM_INTERVAL |
CGMS_CP_CODE_SET_CAL_VALUE |
CGMS_CP_CODE_GET_CAL_VALUE |
CGMS_CP_CODE_SET_PATIENT_HIGHT_LVL |
CGMS_CP_CODE_GET_PATIENT_HIGHT_LVL |
CGMS_CP_CODE_SET_PATIENT_LOW_LVL |
CGMS_CP_CODE_GET_PATIENT_LOW_LVL |
CGMS_CP_CODE_SET_HYPO_LVL |
CGMS_CP_CODE_GET_HYPO_LVL |
CGMS_CP_CODE_SET_HYPER_LVL |
CGMS_CP_CODE_GET_HYPER_LVL |
CGMS_CP_CODE_SET_RATE_OF_DEC_LVL |
CGMS_CP_CODE_GET_RATE_OF_DEC_LVL |
CGMS_CP_CODE_SET_RATE_OF_INC_LVL |
CGMS_CP_CODE_GET_RATE_OF_INC_LVL |
CGMS_CP_CODE_RESET_DEV_SPEC_ALERT |
CGMS_CP_CODE_START_THE_SESSION |
CGMS_CP_CODE_STOP_THE_SESSION |
CGMS_CP_CODE_SET_SES_START_TIME |

Definition at line 213 of file cgms.h.

## ◆ cgms_cp_cmd_ret_t

enum cgms_cp_cmd_ret_t

Enumerator
CGMS_CMD_RET_CODE_RESERVED |
CGMS_CMD_RET_CODE_SUCESS |
CGMS_CMD_RET_CODE_NOT_SUPPORT |
CGMS_CMD_RET_CODE_INVALID_OPERAND |
CGMS_CMD_RET_CODE_PROCEDURE_NOT_COMPLETED |
CGMS_CMD_RET_CODE_PARAM_OUT_OF_RANGE |

Definition at line 238 of file cgms.h.

## ◆ cgms_get_info_code_t

enum cgms_get_info_code_t

Enumerator
CGMS_GET_INFO_NONE |
CGMS_GET_INFO_ANN_STATUS |
CGMS_GET_INFO_SES_START_TIME |
CGMS_GET_INFO_SES_RUN_TIME |

Definition at line 205 of file cgms.h.

## ◆ cgms_meas_loc_t

enum cgms_meas_loc_t

CGM measurement location.

Enumerator
CGMS_MEAS_LOC_FINGER | Finger.
CGMS_MEAS_LOC_AST | Alternate Site Test (AST)
CGMS_MEAS_LOC_EAR | Earlobe.
CGMS_MEAS_LOC_CONTROL | Control solution.
CGMS_MEAS_LOC_SUB_TISSUE | Subcutaneous tissue.

Definition at line 176 of file cgms.h.

## ◆ cgms_meas_type_t

enum cgms_meas_type_t

CGM measurement type.

Enumerator
CGMS_MEAS_TYPE_CAP_BLOOD | Capillary whole blood.
CGMS_MEAS_TYPE_CAP_PLASMA | Capillary plasma.
CGMS_MEAS_TYPE_VEN_BLOOD | Venous whole blood.
CGMS_MEAS_TYPE_VEN_PLASMA | Venous plasma.
CGMS_MEAS_TYPE_ART_BLOOD | Arterial whole blood.
CGMS_MEAS_TYPE_ART_PLASMA | Arterial plasma.
CGMS_MEAS_TYPE_UNDET_BLOOD | Undetermined whole blood.
CGMS_MEAS_TYPE_UNDET_PLASMA | Undetermined plasma.
CGMS_MEAS_TYPE_FLUID | Interstitial fluid (ISF)
CGMS_MEAS_TYPE_CONTROL | Control solution.

Definition at line 161 of file cgms.h.