Modules | Macros
Defines
BLE Services » Continuous Glucose Monitoring Service (CGMS)
Collaboration diagram for Defines:

## Modules
| CGM Feature
| CGM feature.
| Measurement Flag
| CGM Measurement Flags.
| Measurement status
| Glucose measurement status.

## Macros
#define | CGMS_CONNECTION_MAX 10
#define | CGMS_MEASUREMENT_VAL_LEN_MAX 15
#define | CGMS_FEATURE_VAL_LEN_MAX 6
#define | CGMS_STATUS_VAL_LEN_MAX 7
#define | CGMS_RUN_TIME_VAL_LEN_MAX 4
#define | CGMS_START_TIME_VAL_LEN_MAX 11
#define | CGMS_RACP_VAL_LEN_MAX 7
#define | CGMS_RACP_VAL_LEN_MIN 2
#define | CGMS_ERROR_MISSING_CRC 0x80
| Error code: If E2E-CRC is supported and a Write procedure is processed without CRC attached. More...
#define | CGMS_ERROR_INVALID_CRC 0x81
| Error code: If E2E-CRC is supported and a Write procedure is processed with incorrect or invalid CRC value attached. More...
#define | CGMS_ERROR_CCCD_NOT_CFG 0xFD
#define | CGMS_ERROR_PRO_IN_PROCESS 0xFE

## Detailed Description

## Macro Definition Documentation

## ◆ CGMS_CONNECTION_MAX

#define CGMS_CONNECTION_MAX 10

Definition at line 72 of file cgms.h.

## ◆ CGMS_ERROR_CCCD_NOT_CFG

#define CGMS_ERROR_CCCD_NOT_CFG 0xFD

Definition at line 83 of file cgms.h.

## ◆ CGMS_ERROR_INVALID_CRC

#define CGMS_ERROR_INVALID_CRC 0x81

Error code: If E2E-CRC is supported and a Write procedure is processed with incorrect or invalid CRC value attached.

Definition at line 82 of file cgms.h.

## ◆ CGMS_ERROR_MISSING_CRC

#define CGMS_ERROR_MISSING_CRC 0x80

Error code: If E2E-CRC is supported and a Write procedure is processed without CRC attached.

Definition at line 81 of file cgms.h.

## ◆ CGMS_ERROR_PRO_IN_PROCESS

#define CGMS_ERROR_PRO_IN_PROCESS 0xFE

Definition at line 84 of file cgms.h.

## ◆ CGMS_FEATURE_VAL_LEN_MAX

#define CGMS_FEATURE_VAL_LEN_MAX 6

Definition at line 74 of file cgms.h.

## ◆ CGMS_MEASUREMENT_VAL_LEN_MAX

#define CGMS_MEASUREMENT_VAL_LEN_MAX 15

Definition at line 73 of file cgms.h.

## ◆ CGMS_RACP_VAL_LEN_MAX

#define CGMS_RACP_VAL_LEN_MAX 7

Definition at line 78 of file cgms.h.

## ◆ CGMS_RACP_VAL_LEN_MIN

#define CGMS_RACP_VAL_LEN_MIN 2

Definition at line 79 of file cgms.h.

## ◆ CGMS_RUN_TIME_VAL_LEN_MAX

#define CGMS_RUN_TIME_VAL_LEN_MAX 4

Definition at line 76 of file cgms.h.

## ◆ CGMS_START_TIME_VAL_LEN_MAX

#define CGMS_START_TIME_VAL_LEN_MAX 11

Definition at line 77 of file cgms.h.

## ◆ CGMS_STATUS_VAL_LEN_MAX

#define CGMS_STATUS_VAL_LEN_MAX 7

Definition at line 75 of file cgms.h.