cat: Fix SMS/ENVELOPE related IE tag definitions
Change-Id: I7ed4d78479b6ff75cde20cb5b0bd1672035806ff
diff --git a/pySim/cat.py b/pySim/cat.py
index fd99c36..b8756e2 100644
--- a/pySim/cat.py
+++ b/pySim/cat.py
@@ -52,7 +52,7 @@
'command_qualifier'/Int8ub)
# TS 102 223 Section 8.7
-class DeviceIdentities(COMPR_TLV_IE, tag=0x02):
+class DeviceIdentities(COMPR_TLV_IE, tag=0x82):
DEV_IDS = bidict({
0x01: 'keypad',
0x02: 'display',
@@ -126,8 +126,8 @@
# TS 102 223 Section 8.13 + TS 31.111 Section 8.13
-class SMS_TPDU(COMPR_TLV_IE, tag=0x0B):
- pass
+class SMS_TPDU(COMPR_TLV_IE, tag=0x8B):
+ _construct = Struct('tpdu'/HexAdapter(GreedyBytes))
# TS 102 223 Section 8.15
class TextString(COMPR_TLV_IE, tag=0x0d):