Hello,
In DataCause, I find this snippet of code:
"General32" : Bytes(4),
"General40" : Bytes(4),
"General48" : Bytes(4),
In Data, I find this snipprt of code:
"General32" : Bytes(4),
"General40" : Bytes(4),
"General48" :
Switch(FindAttributeID, {
"FirmwareVersion" : Struct(
"Major" / Int8ub,
"Minor" / Int8ub,
"Revision" / Int8ub,
"Build" / Int24ub,
)
}, default = "Bytes" / BytesTostrHex),
Both of which seem to indicate that both General40 and General48 are using 4 bytes whereas their names clearly stipulate they should span over respectively 40 (5bytes) and 48 (6bytes) bits. Is that an error? And if not, why is that?
Thanks
Hello,
In DataCause, I find this snippet of code:
In Data, I find this snipprt of code:
Both of which seem to indicate that both General40 and General48 are using 4 bytes whereas their names clearly stipulate they should span over respectively 40 (5bytes) and 48 (6bytes) bits. Is that an error? And if not, why is that?
Thanks