nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
cgms.h File Reference
#include <zephyr/types.h>
#include <zephyr/bluetooth/conn.h>
#include <sfloat.h>

Go to the source code of this file.

Data Structures

struct  bt_cgms_measurement
 Continuous Glucose Monitoring service measurement record structure. More...
 
struct  bt_cgms_cb
 Continuous Glucose Monitoring service callback structure. More...
 
struct  bt_cgms_init_param
 Continuous Glucose Monitoring service initialization structure. More...
 

Enumerations

enum  bt_cgms_feat_type {
  BT_CGMS_FEAT_TYPE_CAP_BLOOD = 0x01 , BT_CGMS_FEAT_TYPE_CAP_PLASMA = 0x02 , BT_CGMS_FEAT_TYPE_VEN_BLOOD = 0x03 , BT_CGMS_FEAT_TYPE_VEN_PLASMA = 0x04 ,
  BT_CGMS_FEAT_TYPE_ART_BLOOD = 0x05 , BT_CGMS_FEAT_TYPE_ART_PLASMA = 0x06 , BT_CGMS_FEAT_TYPE_UNDET_BLOOD = 0x07 , BT_CGMS_FEAT_TYPE_UNDET_PLASMA = 0x08 ,
  BT_CGMS_FEAT_TYPE_FLUID = 0x09 , BT_CGMS_FEAT_TYPE_CONTROL = 0x0A
}
 CGMS Feature characteristic Type field. More...
 
enum  bt_cgms_feat_loc {
  BT_CGMS_FEAT_LOC_FINGER = 0x01 , BT_CGMS_FEAT_LOC_AST = 0x02 , BT_CGMS_FEAT_LOC_EAR = 0x03 , BT_CGMS_FEAT_LOC_CONTROL = 0x04 ,
  BT_CGMS_FEAT_LOC_SUB_TISSUE = 0x05 , BT_CGMS_FEAT_LOC_NOT_AVAIL = 0x0F
}
 CGMS Feature characteristic Sample Location field. More...
 

Functions

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.