Cordio Stack and Cordio Profiles  r2p3-02rel0
glpc_api.h File Reference

Glucose profile collector. More...

#include "att_api.h"
Include dependency graph for glpc_api.h:

Go to the source code of this file.

Data Structures

struct  glpcFilter_t
 Glucose service RACP filter type. More...
 

Enumerations

enum  {
  GLPC_GLS_GLM_HDL_IDX,
  GLPC_GLS_GLM_CCC_HDL_IDX,
  GLPC_GLS_GLMC_HDL_IDX,
  GLPC_GLS_GLMC_CCC_HDL_IDX,
  GLPC_GLS_GLF_HDL_IDX,
  GLPC_GLS_RACP_HDL_IDX,
  GLPC_GLS_RACP_CCC_HDL_IDX,
  GLPC_GLS_HDL_LIST_LEN
}
 Glucose service enumeration of handle indexes of characteristics to be discovered. More...
 

Functions

void GlpcGlsDiscover (dmConnId_t connId, uint16_t *pHdlList)
 Perform service and characteristic discovery for Glucose service. Parameter pHdlList must point to an array of length GLPC_GLS_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList. More...
 
uint8_t GlpcGlsValueUpdate (uint16_t *pHdlList, attEvt_t *pMsg)
 Process a value received in an ATT read response, notification, or indication message. Parameter pHdlList must point to an array of length GLPC_GLS_HDL_LIST_LEN. If the ATT handle of the message matches a handle in the handle list the value is processed, otherwise it is ignored. More...
 
void GlpcGlsRacpSend (dmConnId_t connId, uint16_t handle, uint8_t opcode, uint8_t oper, glpcFilter_t *pFilter)
 Send a command to the glucose service record access control point. More...
 
void GlpcGlsSetLastSeqNum (uint16_t seqNum)
 Set the last received glucose measurement sequence number. More...
 
uint16_t GlpcGlsGetLastSeqNum (void)
 Get the last received glucose measurement sequence number. More...
 

Description

Glucose profile collector.

Copyright (c) 2012-2018 Arm Ltd. All Rights Reserved. Arm Ltd. confidential and proprietary.

IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact Arm Ltd. prior to any use, copying or further distribution of this software.

Definition in file glpc_api.h.