NSData(CGMCommands) Category Reference

Declared in NSData+CGMCommands.h

Overview

NSData+CGMCommands constructs CGM commands or values in NSDate format to be sent is a CGM sensor

+ cgmCurrentTimeValue

Constructs the current time value to be sent to the CGM Session Start Time characteristic

+ (NSData *)cgmCurrentTimeValue

Return Value

Current time value in NSData format

Declared In

NSData+CGMCommands.h

+ joinFluidType:sampleLocation:

Joins the fluid type with the sample location into a single octet

+ (NSData *)joinFluidType:(GlucoseFluidTypeOption)type sampleLocation:(GlucoseSampleLocationOption)location

Parameters

type

The fluid type. See UHNCGMConstants for CGMTypeOption definition

location

The sample location. See UHNCGMConstants for CGMLocationOption definition

Return Value

A sample type/location octet NSData format

Declared In

NSData+CGMCommands.h