CGM Simulator  0.1.3
A CGM simulator to demonstrate the BLE CGM profile v1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
CGM Specific Control Point (CGMCP)

This group contains modules falling into the CGMCP. More...

Collaboration diagram for CGM Specific Control Point (CGMCP):

Modules

 Calibration Feature
 This is a group of constants, variables, functions related to the calibration feature.
 
 Patient Defined High/Low Alert Feature
 This is a group of constants, variables, functions related to the patient defined high value alert.
 
 Hyperglycemia Alert Feature
 This is a group of constants, variables, functions related to the patient defined hyperglycemia alert.
 
 Hypoglycemia Alert Feature
 This is a group of constants, variables, functions related to the patient defined hypoglycemia alert.
 
 Rate of Change Alert Feature
 This is a group of constants, variables, functions related to the rate of increase/ decrease alert.
 

Data Structures

struct  cgmCtlPntMsg_t
 The container for receiving CGMCP data message from the CGM service layer. More...
 

Functions

static void cgmProcessCtlPntMsg (cgmCtlPntMsg_t *pMsg)
 Process Control Point messages. More...
 
static void cgmCtlPntResponse (uint8 opcode, uint8 *roperand, uint8 roperand_len)
 Send a record control point response. More...
 

Variables

static attHandleValueInd_t cgmCtlPntRsp
 

Detailed Description

This group contains modules falling into the CGMCP.

Function Documentation

static void cgmCtlPntResponse ( uint8  opcode,
uint8 *  roperand,
uint8  roperand_len 
)
static

Send a record control point response.

Parameters
opcode- response opcode
roperand- address of the array storing the response operand
roperand_len- the length of the response operand array
Returns
none

Here is the call graph for this function:

Here is the caller graph for this function:

static void cgmProcessCtlPntMsg ( cgmCtlPntMsg_t pMsg)
static

Process Control Point messages.

Parameters
pMsg- The input CGM control point message data structure
Returns
none

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

attHandleValueInd_t cgmCtlPntRsp
static

Container for holding CGMCP response indication message, which would be passed down to the GATT service layer