mirror of https://gerrit.osmocom.org/pysim
ts_51_011: EF_CMI: Decoder the alpha_id string
Change-Id: I45efe29ab98972945b4257229a995815f5632536
This commit is contained in:
parent
1e73d228f4
commit
540adb0ee6
|
@ -472,7 +472,7 @@ class EF_CMI(LinFixedEF):
|
||||||
desc='Comparison Method Information', **kwargs):
|
desc='Comparison Method Information', **kwargs):
|
||||||
super().__init__(fid, sfid=sfid, name=name, desc=desc, rec_len=rec_len, **kwargs)
|
super().__init__(fid, sfid=sfid, name=name, desc=desc, rec_len=rec_len, **kwargs)
|
||||||
self._construct = Struct(
|
self._construct = Struct(
|
||||||
'alpha_id'/Bytes(this._.total_len-1), 'comparison_method_id'/Int8ub)
|
'alpha_id'/GsmStringAdapter(Rpad(Bytes(this._.total_len-1))), 'comparison_method_id'/Int8ub)
|
||||||
|
|
||||||
|
|
||||||
class DF_TELECOM(CardDF):
|
class DF_TELECOM(CardDF):
|
||||||
|
|
Loading…
Reference in New Issue