Classes | Macros | Enumerations | Functions
cgms_racp.h File Reference

Continuous Continuous Glucose Monitoring Monitoring Service Record Access Control Point API. More...

`#include "gr_includes.h"`
Include dependency graph for cgms_racp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | cgms_racp_req_t
| Continuous Glucose Monitoring Recoerd Access Control Point request value. More...
struct | cgms_racp_rsp_t
| Continuous Glucose Monitoring Recoerd Access Control Point response value. More...

## Macros
#define | CGMS_RACP_FILTER_TIME_OFFSET_LEN 2

## Enumerations
enum | cgms_racp_op_code_t { CGMS_RACP_OP_RESERVED, CGMS_RACP_OP_REP_STRD_RECS, CGMS_RACP_OP_DEL_STRD_RECS, CGMS_RACP_OP_ABORT_OP, CGMS_RACP_OP_REP_NB_OF_STRD_RECS, CGMS_RACP_OP_NB_OF_STRD_RECS_RSP, CGMS_RACP_OP_RSP_CODE }
| Continuous Glucose Monitoring Recoerd Access Control Point Operation Codes. More...
enum | cgms_racp_operator_t { CGMS_RACP_OPERATOR_NULL, CGMS_RACP_OPERATOR_ALL_RECS, CGMS_RACP_OPERATOR_LE_OR_EQ, CGMS_RACP_OPERATOR_GT_OR_EQ, CGMS_RACP_OPERATOR_WITHIN_RANGE_OF, CGMS_RACP_OPERATOR_FIRST_REC, CGMS_RACP_OPERATOR_LAST_REC }
| Continuous Glucose Monitoring Recoerd Access Control Point Operator. More...
enum | cgms_racp_operand_t { CGMS_RACP_RSP_RESERVED, CGMS_RACP_RSP_SUCCESS, CGMS_RACP_RSP_OP_CODE_NOT_SUP, CGMS_RACP_RSP_INVALID_OPERATOR, CGMS_RACP_RSP_OPERATOR_NOT_SUP, CGMS_RACP_RSP_INVALID_OPERAND, CGMS_RACP_RSP_NO_RECS_FOUND, CGMS_RACP_RSP_ABORT_UNSUCCESSFUL, CGMS_RACP_RSP_PROCEDURE_NOT_COMPLETED, CGMS_RACP_RSP_OPERAND_NOT_SUP, CGMS_RACP_RSP_VALID_DECODE = 0xff }
| Continuous Glucose Monitoring Recoerd Access Control Point Response codes. More...
enum | cgms_racp_filter_type_t { CGMS_RACP_FILTER_RESERVED, CGMS_RACP_FILTER_TIME_OFFSET }
| Continuous Glucose Monitoring Recoerd Access Control Point filter types. More...

## Functions
cgms_racp_operand_t | cgms_racp_req_decode (const uint8_t *p_data, uint16_t length, cgms_racp_req_t *p_racp_req)
| Decode record access control point request. More...
uint16_t | cgms_racp_rsp_encode (cgms_racp_rsp_t *p_racp_rsp, uint8_t *p_encoded_buffer)
| Encode record access control point response. More...

## Detailed Description

Continuous Continuous Glucose Monitoring Monitoring Service Record Access Control Point API.

Attention

  ##### Copyright (c) 2019 GOODIX

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file cgms_racp.h.