summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c')
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c b/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
index e7ccd73..3db459b 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
@@ -34,6 +34,10 @@
#include "r_z_transport.h"
#endif
+
+extern char LCM_CurrentVersion[];
+
+
/*******************************************************************************
* File scope types, constants and variables
******************************************************************************/
@@ -463,6 +467,18 @@ ErrorExit:
return ReturnValue;
}
+/*
+ * Function used to get the LCM version.
+ *
+ * LCM version string for the current version is placed in lcm_version.c file
+ *
+ * @retval char LCM_CurrentVersion[] After successful execution.
+ */
+char *Do_Communication_GetVersion()
+{
+ return LCM_CurrentVersion;
+}
+
void Do_CommunicationInternalErrorHandler(const ErrorCode_e IntError)
{
#ifndef PRINT_A_