summaryrefslogtreecommitdiff
path: root/lcmodule
diff options
context:
space:
mode:
authorXVLANAU <vlatko.naumovski@seavus.com>2011-11-21 10:26:12 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:39:27 +0200
commit802fb4fd7bb51a929ec72d6d64a907a5da836330 (patch)
treeafc3b8899c989f536253587e56d2d93b19bc23f0 /lcmodule
parentcd7cf159f607fc4e9e0d62eec70de0f892c367ea (diff)
OTP Handling on u4500
Add De-Authentication command Add new error codes for permanent and persistent authentication ST-Ericsson ID: 255603 ST-Ericsson FOSS-OUT: NA Change-Id: Ib80d54f56d6be1b9aaf64e29b3f9e3cffb748faf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31753 Tested-by: Vlatko STENKOSKI Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com> Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule')
-rw-r--r--lcmodule/source/LCM.rc10
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml12
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml4
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/source/lcm_version.c2
4 files changed, 22 insertions, 6 deletions
diff --git a/lcmodule/source/LCM.rc b/lcmodule/source/LCM.rc
index 34fffa4..16c2409 100644
--- a/lcmodule/source/LCM.rc
+++ b/lcmodule/source/LCM.rc
@@ -69,15 +69,15 @@ BEGIN
BEGIN
BLOCK "040904b0"
BEGIN
- VALUE "Comments", "Build date: 2011-11-17"
+ VALUE "Comments", "Build date: 2011-11-18"
VALUE "CompanyName", "STEricsson AB"
- VALUE "FileDescription", "LCDriver Dynamic Link Library"
+ VALUE "FileDescription", "LCM Dynamic Link Library"
VALUE "FileVersion", "1, 0, 0, 1"
- VALUE "InternalName", "Loader Communication Driver"
+ VALUE "InternalName", "Loader Communication Module"
VALUE "LegalCopyright", "Copyright (C) STEricsson AB 2011"
- VALUE "PrivateBuild", "Change-Id: I90074ddf7bca008f8f34777b749dc5bb44346d24"
+ VALUE "PrivateBuild", "Change-Id: Ib80d54f56d6be1b9aaf64e29b3f9e3cffb748faf"
VALUE "ProductName", "CXA1104507 Loader Communication Module"
- VALUE "ProductVersion", "PX1"
+ VALUE "ProductVersion", "PX2"
END
END
BLOCK "VarFileInfo"
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
index 4c60f44..4d32f14 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
@@ -388,6 +388,18 @@
<value ref=" VeryLimitedProductionModeLevel"/>
</permissions>
</command>
+
+ <command number="16" name="System Deauthenticate" ADbg="false" source="PC"> supportedcmdtype="longrunning">
+ <interface type="loader" name="Deauthenticate"/>
+ <documentation>
+ This command is used by the Loader to deauthenticates the ME from prior authentications to prevent unauthorized access.
+ </documentation>
+ <input>
+ <value type="uint32" name="Type">Deauthentication type: 1 = permanent deauthentication, 0 = deauthenticate until next reboot of the ME.</value>
+ </input>
+ <output>
+ </output>
+ </command>
</group>
<group number="02" name="Flash application" supportedcmdtype="longrunning,shortrunning">
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
index 1c2bb7e..af1048f 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
@@ -16,6 +16,7 @@
<value number="51" name="E_INVALID_INPUT_PARAMETERS" fatal="false" short="The expected value into the function was incorrect."> Check the input parameters in the command that you try to execute. Repeat operation. Report if problem is not solved.</value>
<value number="52" name="E_INVALID_CURRDATE_STRING_LENGTH" fatal="false" short="Indicate that the currdate string array variable has invalid length."> Try to reset the loader and if problem still exist, report this error.</value>
<value number="53" name="E_UNALIGNED_DATA" fatal="false" short="Indicate that a variable is not aligned."> Try to reset the loader and if still exist the problem, report this error.</value>
+ <value number="54" name="E_COPS_DEAUTHENTICATION_FAILED" fatal="false" short="Indicate that ME De-Authentication failed."> Try to reset the loader and if still exist the problem, report this error.</value>
<!--
* IO Fatal 100-150
@@ -113,6 +114,9 @@
<value number="602" name="E_UNDEFINED_AUTHENTICATION_TYPE" fatal="true" short="Undefined authentication type.">Check the authentication type. The loader supports authentication with CA certificate and control keyes.Repeat authentiacton. Report if problem still exist.</value>
<value number="651" name="E_RTC_TIME_NOT_ACCURATE" fatal="false" short="System Time is not properly set."> Default system time is used.Set the Time properly. Report if problem still exist.</value>
<value number="652" name="E_RTC_INTIALIZATION_FAILED" fatal="false" short="Hardware error ocure during initialization of RTC."> Report this problem</value>
+ <value number="653" name="E_UNDEFINED_DEAUTHENTICATION_TYPE" fatal="false" short="Undefined deauthentication type."> Check input parameters and repeat operation. Report if problem still exist.</value>
+ <value number="654" name="E_COPS_DEVICE_STATE_FULL" fatal="false" short="Indicate that ME is in full security mode,Full authentication is needed prior to use COPS functionalities."> Perform RSA or SIMLOCK authentication prior to use COPS functionalities.</value>
+ <value number="655" name="E_COPS_DEVICE_STATE_RELAXED" fatal="false" short="Indicate that ME is in authenticate security mode, Permanent type authentication is needed prior to use COPS functionalities."> Perform permanent authentication prior to use COPS functionalities.</value>
<!--
* Flash Fatal 700-750
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/source/lcm_version.c b/lcmodule/source/cnh1606344_ldr_communication_module/source/lcm_version.c
index 3806e59..8ef2ff3 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/source/lcm_version.c
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/source/lcm_version.c
@@ -11,6 +11,6 @@
* brief ASCII string variable holding the LCM version/build time/product number..
*/
-char LCM_CurrentVersion[] = "R1V";
+char LCM_CurrentVersion[] = "PX2";
/** @} */