summaryrefslogtreecommitdiffstats
path: root/positioning/server/src/ServiceInterface/DiagSrvIf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'positioning/server/src/ServiceInterface/DiagSrvIf.cpp')
-rw-r--r--positioning/server/src/ServiceInterface/DiagSrvIf.cpp77
1 files changed, 1 insertions, 76 deletions
diff --git a/positioning/server/src/ServiceInterface/DiagSrvIf.cpp b/positioning/server/src/ServiceInterface/DiagSrvIf.cpp
index f5c45192..195555e3 100644
--- a/positioning/server/src/ServiceInterface/DiagSrvIf.cpp
+++ b/positioning/server/src/ServiceInterface/DiagSrvIf.cpp
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,6 @@
* Include Files *
*---------------------------------------------------------------------------------*/
#include <vehicle_service/positioning_base_library.h>
-//#include <stub/DiagCodeAPI.h>
#include "DiagSrvIf.h"
/*---------------------------------------------------------------------------------*
@@ -63,77 +62,3 @@ void DiagSrvIfSetRegistrationPermission(BOOL b_is_true) {
return;
}
-
-/**
- * @brief
- * Registering DiagSrv Services IF-Diag Codes
- *
- * @param[in] err_id Diag code definition name
- * @param[in] positioning_code Positioning Code-Defined Names
- * @return eFrameworkunifiedStatusOK
- * @return eFrameworkunifiedStatusFail
- */
-EFrameworkunifiedStatus DiagSrvIfDiagPutDiagCode(uint64_t err_id, uint16_t positioning_code) {
- EFrameworkunifiedStatus estatus = eFrameworkunifiedStatusFail;
-// HANDLE happ;
-// DGCODE_RET_API dc_ret_api;
-//
-// if (g_registration_permission == TRUE) {
-// happ = _pb_GetAppHandle();
-// if (happ != NULL) {
-// /* Dialog code registration */
-// dc_ret_api = Diag_PutDiagCode(happ, err_id, positioning_code);
-// if (dc_ret_api != DGCODE_RET_NORMAL) {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__,
-// "Diag_PutDiagCode ERROR!! [ret=%d, positioning_code=%u]", dc_ret_api, positioning_code);
-// } else {
-// estatus = eFrameworkunifiedStatusOK;
-// FRAMEWORKUNIFIEDLOG(ZONE_INFO, __FUNCTION__,
-// "Diag_PutDiagCode CALL [ret=%d, positioning_code=%u]", dc_ret_api, positioning_code);
-// }
-// } else {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__, "_pb_GetAppHandle ERROR!! [happ=%p]", happ);
-// }
-// } else {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__, "g_registration_permission=FALSE");
-// }
-
- return estatus;
-}
-
-/**
- * @brief
- * Deleting DiagSrv Services IF-Diag Codes
- *
- * @param[in] err_id Diag code definition name
- * @param[in] positioning_code Positioning Code-Defined Names
- * @return eFrameworkunifiedStatusOK
- * @return eFrameworkunifiedStatusFail
- */
-EFrameworkunifiedStatus DiagSrvIfDiagDeleteDiagCode(uint64_t err_id, uint16_t positioning_code) {
- EFrameworkunifiedStatus estatus = eFrameworkunifiedStatusFail;
-// HANDLE happ;
-// DGCODE_RET_API dc_ret_api;
-//
-// if (g_registration_permission == TRUE) {
-// happ = _pb_GetAppHandle();
-// if (happ != NULL) {
-// /* Diag code deletion */
-// dc_ret_api = Diag_DeleteDiagCode(happ, err_id, positioning_code);
-// if (dc_ret_api != DGCODE_RET_NORMAL) {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__,
-// "Diag_DeleteDiagCode ERROR!! [ret=%d, positioning_code=%u]", dc_ret_api, positioning_code);
-// } else {
-// estatus = eFrameworkunifiedStatusOK;
-// FRAMEWORKUNIFIEDLOG(ZONE_INFO, __FUNCTION__,
-// "DiagSrvIfDiagDeleteDiagCode CALL [ret=%d, positioning_code=%u]", dc_ret_api, positioning_code);
-// }
-// } else {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__, "_pb_GetAppHandle ERROR!! [happ=%p]", happ);
-// }
-// } else {
-// FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__, "g_registration_permission=FALSE");
-// }
-
- return estatus;
-}