We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c4d88 commit 39da2deCopy full SHA for 39da2de
scapy/contrib/automotive/bmw/hsfz.py
@@ -70,11 +70,12 @@ class HSFZ(Packet):
70
71
def _hasaddrs(self):
72
# type: () -> bool
73
- # Address present in diagnostic_req_res, acknowledge_transfer and
74
- # two byte length alive_check frames.
+ # Address present in diagnostic_req_res, acknowledge_transfer,
+ # two byte length alive_check and incorrect_tester_address frames.
75
return self.control == 0x01 or \
76
self.control == 0x02 or \
77
- (self.control == 0x12 and self.length == 2)
+ (self.control == 0x12 and self.length == 2) or \
78
+ self.control == 0x40
79
80
def _hasidstring(self):
81
0 commit comments