Commit
144bae3f37333cd30f1479d67d7e10641f76f46e
by laforge
pySim.tlv: Correctly parse COMPREHENSION-TLV without comprehension bit
The uppermost bit of COMPREHENSION-TLV tags indicates whether the recipient is required to "comprehend" that IE or not. So every IE actually has two tag values: one with and one without that bit set.
As all our existing TLV definitions of COMPR_TLV_IE have that bit set, let's assume this is the default, but use the same definition also for the situation where that bit is not set.
Commit
cdf661b24cfebb63b57405c2b55b3c42a8f277c8
by laforge
pySim.tlv.COMPR_TLV_IE: Patch comprehension bit if derived class misses it
Our current implementation assumes that all COMPR_TLV_IE are created with a raw tag value that has the comprehension bit set. Check for this during the class __new__ method and print a warning if we have to fix it up
Commit
3b4a673de4f79f5a5be0bd413b8991c1b12697cb
by laforge
add contrib/saip-tool.py
This is a tool to work with eSIM profiles in SAIP format. It allows to dump the contents, run constraint checkers as well as splitting of the PE-Sequence into the individual PEs.
So far we only implemented command encoding and response decoding. Let's also add command decoding, which is useful for example when decoding protocol traces.