10#include <zephyr/types.h>
11#include <zephyr/bluetooth/conn.h>
bt_cgms_feat_loc
CGMS Feature characteristic Sample Location field.
Definition: cgms.h:49
@ BT_CGMS_FEAT_LOC_SUB_TISSUE
Definition: cgms.h:59
@ BT_CGMS_FEAT_LOC_CONTROL
Definition: cgms.h:57
@ BT_CGMS_FEAT_LOC_NOT_AVAIL
Definition: cgms.h:61
@ BT_CGMS_FEAT_LOC_AST
Definition: cgms.h:53
@ BT_CGMS_FEAT_LOC_EAR
Definition: cgms.h:55
@ BT_CGMS_FEAT_LOC_FINGER
Definition: cgms.h:51
int bt_cgms_measurement_add(struct bt_cgms_measurement measurement)
Submit glucose concentration measurement to CGM service.
int bt_cgms_init(struct bt_cgms_init_param *init_params)
Initialize Continuous Glucose Monitoring service.
bt_cgms_feat_type
CGMS Feature characteristic Type field.
Definition: cgms.h:25
@ BT_CGMS_FEAT_TYPE_UNDET_BLOOD
Definition: cgms.h:39
@ BT_CGMS_FEAT_TYPE_FLUID
Definition: cgms.h:43
@ BT_CGMS_FEAT_TYPE_CONTROL
Definition: cgms.h:45
@ BT_CGMS_FEAT_TYPE_VEN_PLASMA
Definition: cgms.h:33
@ BT_CGMS_FEAT_TYPE_CAP_BLOOD
Definition: cgms.h:27
@ BT_CGMS_FEAT_TYPE_ART_PLASMA
Definition: cgms.h:37
@ BT_CGMS_FEAT_TYPE_ART_BLOOD
Definition: cgms.h:35
@ BT_CGMS_FEAT_TYPE_CAP_PLASMA
Definition: cgms.h:29
@ BT_CGMS_FEAT_TYPE_VEN_BLOOD
Definition: cgms.h:31
@ BT_CGMS_FEAT_TYPE_UNDET_PLASMA
Definition: cgms.h:41
void(* session_state_changed)(const bool session_state)
Callback when the state of session changes.
Definition: cgms.h:82
Continuous Glucose Monitoring service callback structure.
Definition: cgms.h:73
uint16_t session_run_time
Definition: cgms.h:94
enum bt_cgms_feat_loc sample_location
Definition: cgms.h:91
uint16_t initial_comm_interval
Definition: cgms.h:97
enum bt_cgms_feat_type type
Definition: cgms.h:88
struct bt_cgms_cb * cb
Definition: cgms.h:100
Continuous Glucose Monitoring service initialization structure.
Definition: cgms.h:86
struct sfloat glucose
Definition: cgms.h:69
Continuous Glucose Monitoring service measurement record structure.
Definition: cgms.h:65
SFLOAT type.
Definition: sfloat.h:45