laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/37488?usp=email )
Change subject: pySim.cat: More spec references + explanations in comments
......................................................................
pySim.cat: More spec references + explanations in comments
Change-Id: I4a89156075ae225594740451b33c3dec8983cf04
---
M pySim/cat.py
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/88/37488/1
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
https://gerrit.osmocom.org/c/pysim/+/37488?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I4a89156075ae225594740451b33c3dec8983cf04
Gerrit-Change-Number: 37488
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange