Open mayeranalytics opened 1 year ago
Inside get_long()
is this:
objType, objInstance = self.get_tuple()
# pack the components together
return ((objType << 22) + objInstance)
So this error is (a) the object instance is greater than 4294967295, or (b) the object type is greater than 1023.
Yeah.... the dear user switched object instance and object type 🤨 - safety measures added. Thanks for the pointer!
Hi Joel,
I'm getting a very strange error in apdu.encode(xpdu):
get_long
returns a number that is too large to pack into ">L" (32 bits). I have no clue what's going on. Do you have any ideas?Many thanks