laforge submitted this change.
ts_51_011: Fix bit-order in EF.VGCSS and EF.VBSS
Those files contain a bit-mask of active group IDs stored at the
respective positions in EV.VGCS and EF.VBS. However, the bit-order
of each byte is reversed.
Change-Id: I77674c23823aae71c9504b1a85cd75266edadc6f
Related: OS#5784
---
M pySim/ts_51_011.py
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index bb49f13..a353101 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -714,8 +714,8 @@
def __init__(self, fid='6fb2', sfid=None, name='EF.VGCSS', size=(7, 7),
desc='Voice Group Call Service Status', **kwargs):
super().__init__(fid, sfid=sfid, name=name, desc=desc, size=size, **kwargs)
- self._construct = BitStruct(
- 'flags'/Bit[50], Padding(6, pattern=b'\xff'))
+ self._construct = BitsSwapped(BitStruct(
+ 'flags'/Bit[50], Padding(6, pattern=b'\xff')))
# TS 51.011 Section 10.3.24
class EF_eMLPP(TransparentEF):
To view, visit change 31064. To unsubscribe, or for help writing mail filters, visit settings.