GATT Continuous Glucose Monitoring Service (CGMS)

Overview

This library implements the Continuous Glucose Monitoring Service with the corresponding set of characteristics defined in the Continuous Glucose Monitoring Service Specification.

Supported features

All the mandatory CGMS features are supported.

Configuration

Set the maximum number of glucose measurement records stored in the device using the CONFIG_BT_CGMS_MAX_MEASUREMENT_RECORD Kconfig option. The value should be large enough to hold all records generated in a session.

Set the logging level of the CGMS library using the CONFIG_BT_CGMS_LOG_LEVEL_CHOICE Kconfig option.

Usage

To use CGMS in your application, call the bt_cgms_init() function. Then, call the bt_cgms_measurement_add() function to pass the measurement result of glucose concentration to CGMS.

API documentation

Header file: include/bluetooth/services/cgms.h
Source files: subsys/bluetooth/services/cgms
Continuous Glucose Monitoring Service API