36 #define GLPS_RACP_MIN_WRITE_LEN 2 39 #define GLPS_RACP_RSP_LEN 4 42 #define GLPS_RACP_NUM_REC_RSP_LEN 4 45 #define GLPS_OPERAND_MAX ((CH_RACP_GLS_FILTER_TIME_LEN * 2) + 1)
Glucose measurement record.
uint8_t carbId
Carbohydrate ID.
uint8_t glpsDbGetNumRecords(uint8_t oper, uint8_t *pFilter, uint8_t *pNumRec)
Get the number of records matching the filter parameters.
uint16_t seqNum
Sequence number.
uint8_t glpsDbDeleteRecords(uint8_t oper, uint8_t *pFilter)
Delete records that match the given filter parameters.
uint8_t medicationId
Medication ID.
Application framework hardware interfaces.
uint16_t medication
Medication (SFLOAT)
uint8_t typeSampleLoc
Sample type and sample location.
void glpsDbInit(void)
Initialize the glucose record database.
void glpsDbToggleMedicationUnits(void)
For conformance testing only. Toggle the sample data record number 2's medication quantity unit flag ...
uint8_t glpsDbGetNextRecord(uint8_t oper, uint8_t *pFilter, glpsRec_t *pCurrRec, glpsRec_t **pRec)
Get the next record that matches the given filter parameters that follows the given current record...
Glucose measurement structure.
glpsGlm_t meas
Glucose measurement.
void glpsDbGenerateRecord(void)
Generate a new record.
uint16_t seqNum
Sequence number.
uint16_t carb
Carbohydrate (SFLOAT)
uint8_t exerIntensity
Exercise Intensity.
glpsGlmc_t context
Glucose measurement context.
Glucose measurement context structure.
uint16_t concentration
Glucose concentration (SFLOAT)
appDateTime_t baseTime
Base time.
unsigned short uint16_t
Unsigned 16-bit value.
uint16_t sensorStatus
Sensor status annunciation.
uint8_t testerHealth
Tester and health.
uint16_t exerDuration
Exercise Duration.
int16_t timeOffset
Time offset.
uint8_t extFlags
Extended Flags.
unsigned char uint8_t
Unsigned 8-bit value.
signed short int16_t
Signed 16-bit value.