Enumerations
Enumerations
BLE Services » Glucose Service (GLS)

## Enumerations
enum | gls_meas_type_t { GLS_MEAS_TYPE_CAP_BLOOD = 0x01, GLS_MEAS_TYPE_CAP_PLASMA, GLS_MEAS_TYPE_VEN_BLOOD, GLS_MEAS_TYPE_VEN_PLASMA, GLS_MEAS_TYPE_ART_BLOOD, GLS_MEAS_TYPE_ART_PLASMA, GLS_MEAS_TYPE_UNDET_BLOOD, GLS_MEAS_TYPE_UNDET_PLASMA, GLS_MEAS_TYPE_FLUID, GLS_MEAS_TYPE_CONTROL }
| Glucose measurement type. More...
enum | gls_meas_loc_t { GLS_MEAS_LOC_FINGER = 0x01, GLS_MEAS_LOC_AST, GLS_MEAS_LOC_EAR, GLS_MEAS_LOC_CONTROL, GLS_MEAS_LOC_NOT_AVAIL = 0x0f }
| Glucose measurement location. More...
enum | gls_meas_ctx_carb_id_t { GLS_MEAS_CTX_CARB_BREAKFAST = 0x01, GLS_MEAS_CTX_CARB_LUNCH, GLS_MEAS_CTX_CARB_DINNER, GLS_MEAS_CTX_CARB_SNACK, GLS_MEAS_CTX_CARB_DRINK, GLS_MEAS_CTX_CARB_SUPPER, GLS_MEAS_CTX_CARB_BRUNCH }
| Glucose measurement context carbohydrate ID. More...
enum | gls_meas_ctx_meal_t { GLS_MEAS_CTX_MEAL_PREPRANDIAL = 0x01, GLS_MEAS_CTX_MEAL_POSTPRANDIAL, GLS_MEAS_CTX_MEAL_FASTING, GLS_MEAS_CTX_MEAL_CASUAL, GLS_MEAS_CTX_MEAL_BEDTIME }
| Glucose measurement context meal. More...
enum | gls_meas_ctx_tester_t { GLS_MEAS_CTX_TESTER_SELF = 0x01, GLS_MEAS_CTX_TESTER_PRO, GLS_MEAS_CTX_TESTER_LAB, GLS_MEAS_CTX_TESTER_NOT_AVAIL = 0x0f }
| Glucose measurement context tester. More...
enum | gls_meas_ctx_health_t { GLS_MEAS_CTX_HEALTH_MINOR = 0x01, GLS_MEAS_CTX_HEALTH_MAJOR, GLS_MEAS_CTX_HEALTH_MENSES, GLS_MEAS_CTX_HEALTH_STRESS, GLS_MEAS_CTX_HEALTH_NONE, GLS_MEAS_CTX_HEALTH_NOT_AVAIL = 0x0f }
| Glucose measurement context health. More...
enum | gls_meas_ctx_medic_id_t { GLS_MEAS_CTX_MED_RAPID = 0x01, GLS_MEAS_CTX_MED_SHORT, GLS_MEAS_CTX_MED_INTERMED, GLS_MEAS_CTX_MED_LONG, GLS_MEAS_CTX_MED_PREMIX }
| Glucose measurement context medication ID. More...
enum | gls_evt_type_t { GLS_EVT_INVALID = 0x00, GLS_EVT_MEAS_NOTIFICATION_ENABLED, GLS_EVT_MEAS_NOTIFICATION_DISABLED, GLS_EVT_CTX_NOTIFICATION_ENABLED, GLS_EVT_CTX_NOTIFICATION_DISABLED, GLS_EVT_CTRL_INDICATION_ENABLED, GLS_EVT_CTRL_INDICATION_DISABLED, GLS_EVT_CTRL_WRITE }
| Glucose Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ gls_evt_type_t

enum gls_evt_type_t

Glucose Service event type.

Enumerator
GLS_EVT_INVALID | Invalid event.
GLS_EVT_MEAS_NOTIFICATION_ENABLED | Glucose Measurement notification enabled event.
GLS_EVT_MEAS_NOTIFICATION_DISABLED | Glucose Measurement notification disabled event.
GLS_EVT_CTX_NOTIFICATION_ENABLED | Glucose Measurement Context notification enabled event.
GLS_EVT_CTX_NOTIFICATION_DISABLED | Glucose Measurement Context notification disabled event.
GLS_EVT_CTRL_INDICATION_ENABLED | Record Access Control Point indication enabled event.
GLS_EVT_CTRL_INDICATION_DISABLED | Record Access Control Point indication disabled event.
GLS_EVT_CTRL_WRITE | Record Access Control Point write.

Definition at line 252 of file gls.h.

## ◆ gls_meas_ctx_carb_id_t

enum gls_meas_ctx_carb_id_t

Glucose measurement context carbohydrate ID.

Enumerator
GLS_MEAS_CTX_CARB_BREAKFAST | Breakfast
GLS_MEAS_CTX_CARB_LUNCH | Lunch
GLS_MEAS_CTX_CARB_DINNER | Dinner
GLS_MEAS_CTX_CARB_SNACK | Snack
GLS_MEAS_CTX_CARB_DRINK | Drink
GLS_MEAS_CTX_CARB_SUPPER | Supper
GLS_MEAS_CTX_CARB_BRUNCH | Brunch

Definition at line 200 of file gls.h.

## ◆ gls_meas_ctx_health_t

enum gls_meas_ctx_health_t

Glucose measurement context health.

Enumerator
GLS_MEAS_CTX_HEALTH_MINOR | Minor health issues
GLS_MEAS_CTX_HEALTH_MAJOR | Major health issues
GLS_MEAS_CTX_HEALTH_MENSES | During menses
GLS_MEAS_CTX_HEALTH_STRESS | Under stress
GLS_MEAS_CTX_HEALTH_NONE | No health issues
GLS_MEAS_CTX_HEALTH_NOT_AVAIL | Health value not available

Definition at line 231 of file gls.h.

## ◆ gls_meas_ctx_meal_t

enum gls_meas_ctx_meal_t

Glucose measurement context meal.

Enumerator
GLS_MEAS_CTX_MEAL_PREPRANDIAL | Preprandial (before meal)
GLS_MEAS_CTX_MEAL_POSTPRANDIAL | Postprandial (after meal)
GLS_MEAS_CTX_MEAL_FASTING | Fasting
GLS_MEAS_CTX_MEAL_CASUAL | Casual (snacks, drinks, etc.)
GLS_MEAS_CTX_MEAL_BEDTIME | Bedtime

Definition at line 212 of file gls.h.

## ◆ gls_meas_ctx_medic_id_t

enum gls_meas_ctx_medic_id_t

Glucose measurement context medication ID.

Enumerator
GLS_MEAS_CTX_MED_RAPID | Rapid acting insulin
GLS_MEAS_CTX_MED_SHORT | Short acting insulin
GLS_MEAS_CTX_MED_INTERMED | Intermediate acting insulin
GLS_MEAS_CTX_MED_LONG | Long acting insulin
GLS_MEAS_CTX_MED_PREMIX | Pre-mixed insulin

Definition at line 242 of file gls.h.

## ◆ gls_meas_ctx_tester_t

enum gls_meas_ctx_tester_t

Glucose measurement context tester.

Enumerator
GLS_MEAS_CTX_TESTER_SELF | Self
GLS_MEAS_CTX_TESTER_PRO | Health care professional
GLS_MEAS_CTX_TESTER_LAB | Lab test
GLS_MEAS_CTX_TESTER_NOT_AVAIL | Tester value not available

Definition at line 222 of file gls.h.

## ◆ gls_meas_loc_t

enum gls_meas_loc_t

Glucose measurement location.

Enumerator
GLS_MEAS_LOC_FINGER | Finger
GLS_MEAS_LOC_AST | Alternate Site Test (AST)
GLS_MEAS_LOC_EAR | Earlobe
GLS_MEAS_LOC_CONTROL | Control solution
GLS_MEAS_LOC_NOT_AVAIL | Sample Location value not available

Definition at line 190 of file gls.h.

## ◆ gls_meas_type_t

enum gls_meas_type_t

Glucose measurement type.

Enumerator
GLS_MEAS_TYPE_CAP_BLOOD | Capillary whole blood
GLS_MEAS_TYPE_CAP_PLASMA | Capillary plasma
GLS_MEAS_TYPE_VEN_BLOOD | Venous whole blood
GLS_MEAS_TYPE_VEN_PLASMA | Venous plasma
GLS_MEAS_TYPE_ART_BLOOD | Arterial whole blood
GLS_MEAS_TYPE_ART_PLASMA | Arterial plasma
GLS_MEAS_TYPE_UNDET_BLOOD | Undetermined whole blood
GLS_MEAS_TYPE_UNDET_PLASMA | Undetermined plasma
GLS_MEAS_TYPE_FLUID | Interstitial fluid (ISF)
GLS_MEAS_TYPE_CONTROL | Control solution

Definition at line 175 of file gls.h.