This commit is contained in:
awe
2026-02-18 18:41:19 +03:00
parent 662a42776f
commit 71e5eb9ecb
2 changed files with 4 additions and 4 deletions

View File

@ -76,8 +76,8 @@ def make_valid_response(
for w in crc_words[1:]:
crc_val ^= int(w, 16)
# Replace CRC word
hex_str = hex_str[:56] + _flipfour(_int_to_hex4(crc_val))
# Replace CRC word (stored in wire order, no flipfour)
hex_str = hex_str[:56] + _int_to_hex4(crc_val)
return bytes.fromhex(hex_str)