Functions
Functions
BLE Services » Continuous Continuous Glucose Monitoring Monitoring Service Record Access Control Point (CGMS_RACP)
Collaboration diagram for Functions:

## 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

## Function Documentation

## ◆ cgms_racp_req_decode()

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.

Parameters

  [in] | p_data | Pointer to data.
  [in] | length | Length of data.
  [out] | p_racp_req | Potnter to buffer saved decode result.

Returns
  Record access control point request decode result.

## ◆ cgms_racp_rsp_encode()

uint16_t cgms_racp_rsp_encode | ( | cgms_racp_rsp_t * | p_racp_rsp,
|  | uint8_t * | p_encoded_buffer
| ) |  |

Encode record access control point response.

Parameters

  [in] | p_racp_rsp | Pointer to buffer saved response.
  [out] | p_encoded_buffer | Pointer to buffer where the encoded data will be written.

Returns
  Length of encode data.