diff options
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module')
-rw-r--r-- | lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_c.xsl | 8 | ||||
-rw-r--r-- | lcmodule/source/cnh1606344_ldr_communication_module/source/r15_family.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_c.xsl b/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_c.xsl index 4ab37c4..20025c4 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_c.xsl +++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_c.xsl @@ -17,13 +17,19 @@ <variable name="group" select="../@number" />
<variable name="command" select="@number" />
<if test='$target="lcm" or $supported_commands/group[@number=$group]/command[@number=$command]'>
-<if test='contains(@supportedcmdtype, "longrunning")'>
+<if test='contains(@supportedcmdtype, "longrunning")'>
+<if test='$group=2 and $command=5'>
+#ifdef DISABLE_SECURITY
+</if>
<text> </text>{
<text> </text>NULL,
<text> </text><value-of select="../interface/@name"/>_<value-of select="interface/@name"/>Repeat,
<text> </text><call-template name="commandid"/>,
<text> </text>1
<text> </text>},
+<if test='$group=2 and $command=5'>
+#endif
+</if>
</if>
</if>
</template>
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/source/r15_family.c b/lcmodule/source/cnh1606344_ldr_communication_module/source/r15_family.c index baf1d7a..bf9c24a 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/source/r15_family.c +++ b/lcmodule/source/cnh1606344_ldr_communication_module/source/r15_family.c @@ -45,11 +45,13 @@ ErrorCode_e R15_Family_Init(Communication_t *Communication_p) #ifndef CFG_ENABLE_LOADER_TYPE Communication_p->CurrentFamilyHash = HASH_NONE; #else -#ifdef DISABLE_SECURITY + +#ifdef SKIP_PAYLOAD_VERIFICATION Communication_p->CurrentFamilyHash = HASH_NONE; #else Communication_p->CurrentFamilyHash = HASH_SHA256; #endif + #endif R15_NETWORK(Communication_p)->Inbound.StopTransfer = FALSE; |