Skip to content
Snippets Groups Projects
Commit 838c5443 authored by jkerdreu's avatar jkerdreu
Browse files

Added a fix for Maël strange KNX datagram



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2147 b32b6428-25c9-4566-ad07-03861ab6144f
parent 92a353f4
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ class KNXcEMI:
if self.service != bytearray([0x05,0x30]): raise KNXcEMIException("Wrong service")
if self.msg_code != 0x29 : raise KNXcEMIException("Wrong msg_code")
if self.ctr_field1 != 0xbc : raise KNXcEMIException("Wrong ctr_field1")
if self.ctr_field2 not in [0xe0,0xd0]: raise KNXcEMIException("Wrong ctr_field2 0x%x" % self.ctr_field2)
if self.ctr_field2 not in [0xe0,0xd0,0xc0]: raise KNXcEMIException("Wrong ctr_field2 0x%x" % self.ctr_field2)
#if self.npdu_lenght != 0x01 : raise KNXcEMIException("Wrong npdu_lenght")
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment