Skip to content

Changes

Summary

  1. pySim.tlv: Correctly parse COMPREHENSION-TLV without comprehension bit (details)
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.

Change-Id: I58d04ec13be0c12d9fb8cb3d5a0480d0defb6c95
The file was modified pySim/tlv.py