Continuous Glucose Monitoring Service RACP module. More...
Functions | |
ret_code_t | cgms_racp_char_add (nrf_ble_cgms_t *p_cgms) |
Function for adding a characteristic for the Record Access Control Point. More... | |
void | cgms_racp_on_rw_auth_req (nrf_ble_cgms_t *p_cgms, ble_gatts_evt_rw_authorize_request_t const *p_auth_req) |
Function for handling BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST events. More... | |
void | cgms_racp_on_tx_complete (nrf_ble_cgms_t *p_cgms) |
Function for handling BLE_GATTS_EVT_HVN_TX_COMPLETE events. More... | |
Continuous Glucose Monitoring Service RACP module.
This module implements parts of the Continuous Glucose Monitoring that relate to the Record Access Control Point. Events are propagated to this module from Continuous Glucose Monitoring Service using cgms_racp_on_rw_auth_req and cgms_racp_on_tx_complete.
ret_code_t cgms_racp_char_add | ( | nrf_ble_cgms_t * | p_cgms | ) |
Function for adding a characteristic for the Record Access Control Point.
[in] | p_cgms | Instance of the CGM Service. |
NRF_SUCCESS | If the characteristic was successfully added. |
NRF_ERROR_NULL | If any of the input parameters are NULL. |
void cgms_racp_on_rw_auth_req | ( | nrf_ble_cgms_t * | p_cgms, |
ble_gatts_evt_rw_authorize_request_t const * | p_auth_req | ||
) |
Function for handling BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST events.
[in] | p_cgms | Instance of the CGM Service. |
[in] | p_auth_req | Authorize request event to be handled. |
void cgms_racp_on_tx_complete | ( | nrf_ble_cgms_t * | p_cgms | ) |
Function for handling BLE_GATTS_EVT_HVN_TX_COMPLETE events.
[in] | p_cgms | Instance of the CGM Service. |