Modules | Macros
Defines
BLE Services » Glucose Service (GLS)

## Modules
| Characteristics Mask
| Bit masks for the initialization of gls_init_t::char_mask.
| Glucose Feature
| Glucose Service feature.
| Measurement Flag
| Glucose Measurement Flags.
| Measurement Context Flag
| Glucose measurement context flags.
| Measurement Status
| Glucose measurement status annunciation.

## Macros
#define | GLS_CONNECTION_MAX
#define | GLS_MEAS_VAL_LEN_MAX 20
#define | GLS_MEAS_CTX_LEN_MAX 20
#define | GLS_REC_ACCESS_CTRL_LEN_MIN 2
#define | GLS_REC_ACCESS_CTRL_LEN_MAX 21
#define | GLS_NTF_OF_NULL 0x00
#define | GLS_NTF_OF_MEAS 0x01
#define | GLS_NTF_OF_MEAS_CTX 0x10
#define | GLS_ERROR_PROC_IN_PROCESS 0x80
#define | GLS_ERROR_CCCD_INVALID 0x81

## Detailed Description

## Macro Definition Documentation

## ◆ GLS_CONNECTION_MAX

#define GLS_CONNECTION_MAX

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of Glucose Profile connections.

## ◆ GLS_ERROR_CCCD_INVALID

#define GLS_ERROR_CCCD_INVALID 0x81

Error code: The Client Characteristic Configuration descriptor is not configured.

## ◆ GLS_ERROR_PROC_IN_PROCESS

#define GLS_ERROR_PROC_IN_PROCESS 0x80

Error code: A previously triggered SC Control Point operation is still in progress.

## ◆ GLS_MEAS_CTX_LEN_MAX

#define GLS_MEAS_CTX_LEN_MAX 20

Maximum length of GLS measurement context value.

## ◆ GLS_MEAS_VAL_LEN_MAX

#define GLS_MEAS_VAL_LEN_MAX 20

Maximum length of GLS measurement value.

## ◆ GLS_NTF_OF_MEAS

#define GLS_NTF_OF_MEAS 0x01

Mask for measurement notify.

## ◆ GLS_NTF_OF_MEAS_CTX

#define GLS_NTF_OF_MEAS_CTX 0x10

Mask for measurement context notify.

## ◆ GLS_NTF_OF_NULL

#define GLS_NTF_OF_NULL 0x00

Mask for no notify.

## ◆ GLS_REC_ACCESS_CTRL_LEN_MAX

#define GLS_REC_ACCESS_CTRL_LEN_MAX 21

Maximum length of Record Access Control Point packet.

## ◆ GLS_REC_ACCESS_CTRL_LEN_MIN

#define GLS_REC_ACCESS_CTRL_LEN_MIN 2

Minimum length of Record Access Control Point packet.