From 388bb28fc5f8acded4561516b2e2463534d5fec7 Mon Sep 17 00:00:00 2001 From: Pavel Perestoronin Date: Mon, 24 Apr 2023 18:51:12 +0200 Subject: [PATCH 1/2] Fix: correct UCS2 part length following #184, fixes #216 --- smpplib/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smpplib/consts.py b/smpplib/consts.py index 2987354..8218d93 100644 --- a/smpplib/consts.py +++ b/smpplib/consts.py @@ -6,7 +6,7 @@ # SMPP 3.4, 2.2.1.2 SEVENBIT_LENGTH = 160 EIGHTBIT_LENGTH = 140 -UCS2_LENGTH = 70 +UCS2_LENGTH = 140 MULTIPART_HEADER_SIZE = 6 From 031b54538200eaee50848b10bfa8871174b0f4ff Mon Sep 17 00:00:00 2001 From: Pavel Perestoronin Date: Mon, 24 Apr 2023 18:53:25 +0200 Subject: [PATCH 2/2] Cut `2.2.3` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 51f188d..36420e9 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='smpplib', - version='2.2.1', + version='2.2.3', url='https://github.com/python-smpplib/python-smpplib', description='SMPP library for python', packages=find_packages(),