Continuous Glucose Monitoring Service SOCP module. More...
Data Structures | |
struct | ble_cgms_socp_value_t |
Specific Operation Control Point value. More... | |
Functions | |
ret_code_t | cgms_socp_char_add (nrf_ble_cgms_t *p_cgms) |
Function for adding a characteristic for the Specific Operations Control Point. More... | |
void | cgms_socp_on_rw_auth_req (nrf_ble_cgms_t *p_cgms, ble_gatts_evt_rw_authorize_request_t *p_auth_req) |
Function for handling BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST events. More... | |
void | cgms_socp_on_tx_complete (nrf_ble_cgms_t *p_cgms) |
Function for handling BLE_GATTS_EVT_HVN_TX_COMPLETE events. More... | |
Continuous Glucose Monitoring Service SOCP module.
This module implements parts of the Continuous Glucose Monitoring that relate to the Specific Operations Control Point. Events are propagated to this module from Continuous Glucose Monitoring Service using cgms_socp_on_rw_auth_req and cgms_socp_on_tx_complete.
ret_code_t cgms_socp_char_add | ( | nrf_ble_cgms_t * | p_cgms | ) |
Function for adding a characteristic for the Specific Operations Control Point.
[in] | p_cgms | Instance of the CGM Service. |
NRF_SUCCESS | If the characteristic was successfully added. |
void cgms_socp_on_rw_auth_req | ( | nrf_ble_cgms_t * | p_cgms, |
ble_gatts_evt_rw_authorize_request_t * | 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_socp_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. |