Change-Id: If7a0d6fb5e0a823530a1e24062712615fc414ce5
This commit is contained in:
Harald Welte
2024-07-13 16:52:51 +02:00
parent dd2dc510d3
commit e707a2fe0b
2 changed files with 28 additions and 0 deletions

View File

@@ -30,6 +30,13 @@ from smpp.pdu import pdu_types, operations
BytesOrHex = typing.Union[Hexstr, bytes]
# 07
# 00 03 000201 # part 01 of 02 in reference 00
# 70 00
# 05
# 00 03 000202
class UserDataHeader:
# a single IE in the user data header
ie_c = Struct('iei'/Int8ub, 'length'/Int8ub, 'value'/Bytes(this.length))