mirror of https://gerrit.osmocom.org/pysim
The TLV_IE.from_tlv() method is part of a base class that is inherited by more specific classes. The official way to obtain the tag is the inherited-class-provided self._compute_tag() method, and *not* a direct reference to the self.tag member. This allows for some more obscure TLV parsers, such as the upcoming one for Proactive Commands in the CAT/OTA context. Change-Id: I0cd70e31567edc5a0584336efcb5e4282734f6ddchanges/62/28962/1
parent
f56b6b2a1c
commit
7d8029eb23
Loading…
Reference in new issue