laforge has submitted this change. (
https://gerrit.osmocom.org/c/pysim/+/27185 )
Change subject: ts_51_011: EF_CMI: Decoder the alpha_id string
......................................................................
ts_51_011: EF_CMI: Decoder the alpha_id string
Change-Id: I45efe29ab98972945b4257229a995815f5632536
---
M pySim/ts_51_011.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index 890b85b..5e430ea 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -472,7 +472,7 @@
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):
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/27185
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I45efe29ab98972945b4257229a995815f5632536
Gerrit-Change-Number: 27185
Gerrit-PatchSet: 4
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged