This group contains modules falling into glucose measurement preparation and reporting.
More...
|
static void | cgmMeasSend (void) |
| Send the most current record stored in cgmCurrentMeas as a GATT notification to the CGM measurement characteristic. More...
|
|
static void | cgmNewGlucoseMeas (cgmMeasC_t *pMeas) |
| Update with the lastest reading while updating the internal database. More...
|
|
bStatus_t | CGM_MeasSend (uint16 connHandle, attHandleValueNoti_t *pNoti, uint8 taskId) |
| Send a CGM measurement via the CGM measurement notification. More...
|
|
This group contains modules falling into glucose measurement preparation and reporting.
#define DEFAULT_NOTI_PERIOD 1000 |
Notification period in ms
bStatus_t CGM_MeasSend |
( |
uint16 |
connHandle, |
|
|
attHandleValueNoti_t * |
pNoti, |
|
|
uint8 |
taskId |
|
) |
| |
Send a CGM measurement via the CGM measurement notification.
- Parameters
-
connHandle | - connection handle |
pNoti | - pointer to notification structure |
taskId | - the task id of the CGM application |
- Returns
- Success or Failure
static void cgmMeasSend |
( |
void |
| ) |
|
|
static |
Send the most current record stored in cgmCurrentMeas as a GATT notification to the CGM measurement characteristic.
- Returns
- none
static void cgmNewGlucoseMeas |
( |
cgmMeasC_t * |
pMeas | ) |
|
|
static |
Update with the lastest reading while updating the internal database.
- Parameters
-
pMeas | - address to store the generated cgm measurement. |
- Returns
- none
uint16 cgmCommInterval =1000 |
|
static |
The glucose measurement update interval in ms
UTCTime cgmCurrentTime_UTC |
|
static |
The UTC format of the current system time. Appear as the number of seconds from 2000-01-01-00:00:00.
attHandleValueNoti_t CGMMeas |
|
static |
Container for holding CGM measurement notification message, which would be passed down to the GATT service layer
The time offset from the session start time.