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...
|
|
Detailed Description
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 .
Function Documentation
| ret_code_t cgms_racp_char_add | ( | nrf_ble_cgms_t * | p_cgms | ) |
Function for adding a characteristic for the Record Access Control Point.
- Parameters
-
[in] p_cgms Instance of the CGM Service.
- Return values
-
NRF_SUCCESS If the characteristic was successfully added. NRF_ERROR_NULL If any of the input parameters are NULL.
- Returns
- If functions from other modules return errors to this function, the SoftDevice Global Error Codes are propagated.
| 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.
- Parameters
-
[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.
- Parameters
-
[in] p_cgms Instance of the CGM Service.