Detect RGN-in-RGN structure.

This commit is contained in:
2019-10-12 17:55:16 +02:00
parent 3545d2b12e
commit 9d9dc3671b
2 changed files with 48 additions and 7 deletions
+2
View File
@@ -9,6 +9,8 @@ from struct import unpack
# RGN = outside hull
# BIN = firmware + hwid + checksum
END_PATTERN = b"\xff\xff\x5a\xa5\xff\xff\xff\xff"
class ParseException(Exception):
pass