/* Function for processing the BLE_GAP_EVT_AUTH_STATUS event from the SoftDevice.  */
static void auth_status_process(ble_gap_evt_t *p_gap_evt)
/* Function for processing the BLE_GAP_EVT_AUTH_STATUS event from the SoftDevice.  */
static void auth_status_process(ble_gap_evt_t *p_gap_evt)
{
    switch (p_gap_evt->params.auth_status.auth_status)
    {
        case BLE_GAP_SEC_STATUS_SUCCESS:
            auth_status_success_process(p_gap_evt);
            break;
        default:
            auth_status_failure_process(p_gap_evt);
            break;
    }
}