Modules | Macros
Defines
BLE Services » Glucose Service (GLS)
Collaboration diagram for Defines:

## 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 10
| Maximum number of Glucose Profile connections. More...
#define | GLS_MEAS_VAL_LEN_MAX 20
| Maximum length of GLS measurement value. More...
#define | GLS_MEAS_CTX_LEN_MAX 20
| Maximum length of GLS measurement context value. More...
#define | GLS_REC_ACCESS_CTRL_LEN_MIN 2
| Minimum length of Record Access Control Point packet. More...
#define | GLS_REC_ACCESS_CTRL_LEN_MAX 21
| Maximum length of Record Access Control Point packet. More...
#define | GLS_NTF_OF_NULL 0x00
| Mask for no notify. More...
#define | GLS_NTF_OF_MEAS 0x01
| Mask for measurement notify. More...
#define | GLS_NTF_OF_MEAS_CTX 0x10
| Mask for measurement context notify. More...
#define | GLS_ERROR_PROC_IN_PROCESS 0x80
| Error code: A previously triggered SC Control Point operation is still in progress. More...
#define | GLS_ERROR_CCCD_INVALID 0x81
| Error code: The Client Characteristic Configuration descriptor is not configured. More...

## Detailed Description

## Macro Definition Documentation

## ◆ GLS_CONNECTION_MAX

#define GLS_CONNECTION_MAX 10

Maximum number of Glucose Profile connections.

Definition at line 77 of file gls.h.

## ◆ GLS_ERROR_CCCD_INVALID

#define GLS_ERROR_CCCD_INVALID 0x81

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

Definition at line 89 of file gls.h.

## ◆ 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.

Definition at line 88 of file gls.h.

## ◆ GLS_MEAS_CTX_LEN_MAX

#define GLS_MEAS_CTX_LEN_MAX 20

Maximum length of GLS measurement context value.

Definition at line 79 of file gls.h.

## ◆ GLS_MEAS_VAL_LEN_MAX

#define GLS_MEAS_VAL_LEN_MAX 20

Maximum length of GLS measurement value.

Definition at line 78 of file gls.h.

## ◆ GLS_NTF_OF_MEAS

#define GLS_NTF_OF_MEAS 0x01

Mask for measurement notify.

Definition at line 85 of file gls.h.

## ◆ GLS_NTF_OF_MEAS_CTX

#define GLS_NTF_OF_MEAS_CTX 0x10

Mask for measurement context notify.

Definition at line 86 of file gls.h.

## ◆ GLS_NTF_OF_NULL

#define GLS_NTF_OF_NULL 0x00

Mask for no notify.

Definition at line 84 of file gls.h.

## ◆ GLS_REC_ACCESS_CTRL_LEN_MAX

#define GLS_REC_ACCESS_CTRL_LEN_MAX 21

Maximum length of Record Access Control Point packet.

Definition at line 81 of file gls.h.

## ◆ GLS_REC_ACCESS_CTRL_LEN_MIN

#define GLS_REC_ACCESS_CTRL_LEN_MIN 2

Minimum length of Record Access Control Point packet.

Definition at line 80 of file gls.h.