mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-22 05:18:33 +03:00
cat: Fix SMS/ENVELOPE related IE tag definitions
Change-Id: I7ed4d78479b6ff75cde20cb5b0bd1672035806ff
This commit is contained in:
@@ -52,7 +52,7 @@ class CommandDetails(COMPR_TLV_IE, tag=0x01):
|
|||||||
'command_qualifier'/Int8ub)
|
'command_qualifier'/Int8ub)
|
||||||
|
|
||||||
# TS 102 223 Section 8.7
|
# TS 102 223 Section 8.7
|
||||||
class DeviceIdentities(COMPR_TLV_IE, tag=0x02):
|
class DeviceIdentities(COMPR_TLV_IE, tag=0x82):
|
||||||
DEV_IDS = bidict({
|
DEV_IDS = bidict({
|
||||||
0x01: 'keypad',
|
0x01: 'keypad',
|
||||||
0x02: 'display',
|
0x02: 'display',
|
||||||
@@ -126,8 +126,8 @@ class Result(COMPR_TLV_IE, tag=0x03):
|
|||||||
|
|
||||||
|
|
||||||
# TS 102 223 Section 8.13 + TS 31.111 Section 8.13
|
# TS 102 223 Section 8.13 + TS 31.111 Section 8.13
|
||||||
class SMS_TPDU(COMPR_TLV_IE, tag=0x0B):
|
class SMS_TPDU(COMPR_TLV_IE, tag=0x8B):
|
||||||
pass
|
_construct = Struct('tpdu'/HexAdapter(GreedyBytes))
|
||||||
|
|
||||||
# TS 102 223 Section 8.15
|
# TS 102 223 Section 8.15
|
||||||
class TextString(COMPR_TLV_IE, tag=0x0d):
|
class TextString(COMPR_TLV_IE, tag=0x0d):
|
||||||
|
|||||||
Reference in New Issue
Block a user