Device: Move structure revision notes next to the structures

This commit is contained in:
rlaphoenix 2022-07-25 00:13:33 +01:00
parent f63b94c31d
commit fc9a290482
1 changed files with 2 additions and 4 deletions

View File

@ -30,6 +30,7 @@ class _Structures:
"version" / Int8ub
)
# - Removed vmp and vmp_len as it should already be within the Client ID
v2 = Struct(
"signature" / magic,
"version" / Const(Int8ub, 2),
@ -48,6 +49,7 @@ class _Structures:
"client_id" / Bytes(this.client_id_len)
)
# - Removed system_id as it can be retrieved from the Client ID's DRM Certificate
v1 = Struct(
"signature" / magic,
"version" / Const(Int8ub, 1),
@ -74,10 +76,6 @@ class Device:
Structures = _Structures
supported_structure = Structures.v2
# == Bin Format Revisions == #
# Version 2: Removed vmp and vmp_len as it should already be within the Client ID
# Version 1: Removed system_id as it can be retrieved from the Client ID's DRM Certificate
def __init__(
self,
*_: Any,