laforge submitted this change.
pySim.cat: More spec references + explanations in comments
Change-Id: I4a89156075ae225594740451b33c3dec8983cf04
---
M pySim/cat.py
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/pySim/cat.py b/pySim/cat.py
index d2f39f7..d2a3a66 100644
--- a/pySim/cat.py
+++ b/pySim/cat.py
@@ -499,9 +499,10 @@
class BufferSize(COMPR_TLV_IE, tag = 0xB9):
_construct = Int16ub
-# TS 31.111 Section 8.56
+# TS 102 223 Section 8.56 + TS 31.111 Section 8.56
class ChannelStatus(COMPR_TLV_IE, tag = 0xB8):
# complex decoding, depends on out-of-band context/knowledge :(
+ # for default / TCP Client mode: bit 8 of first byte indicates connected, 3 LSB indicate channel nr
_construct = HexAdapter(GreedyBytes)
# TS 102 223 Section 8.58
To view, visit change 37488. To unsubscribe, or for help writing mail filters, visit settings.