ts_51_011: EF_CMI: Decoder the alpha_id string

Change-Id: I45efe29ab98972945b4257229a995815f5632536
This commit is contained in:
Harald Welte 2022-02-13 11:33:21 +01:00
parent 1e73d228f4
commit 540adb0ee6
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ class EF_CMI(LinFixedEF):
desc='Comparison Method Information', **kwargs):
super().__init__(fid, sfid=sfid, name=name, desc=desc, rec_len=rec_len, **kwargs)
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):