summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
diff options
context:
space:
mode:
authorunknown <XSLOSHO@.seavus-dev2.com>2011-11-07 10:14:35 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:38:13 +0200
commite5812923ee1ae1298cb9ebf8a095cc62367a399c (patch)
tree5879aa1d44cc4a7704c86e1efb58059a7b39255b /lcmodule/source/cnh1606344_ldr_communication_module/source/communication_service.c
parentc60e5c40802a7f14e9005eb9f462c6f741b1e839 (diff)
Add LCD/LCM compatibility check
LCD/LCM compatibility check added to determine whether PC-LCM is compatible with the LCD. Error handling in LCM is added. Depends-On: I6ad7dc8807cb8c407379fe448f06816904253520 ST-Ericsson ID: 362575 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: If5b3c993739f93276e2a76b012a1852d687ad746 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36378 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
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_