Skip to content

Commit

Permalink
The validity period for a submit_sm is variable length
Browse files Browse the repository at this point in the history
See SMPP v3.4 specification section 4.4.1.
  • Loading branch information
SimonStJG committed Feb 29, 2016
1 parent 157bb66 commit 28daa30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smpp/pdu.py
Expand Up @@ -71,7 +71,7 @@
{'name': 'protocol_id', 'min': 1, 'max': 1, 'var': False, 'type': 'integer', 'map': None},
{'name': 'priority_flag', 'min': 1, 'max': 1, 'var': False, 'type': 'integer', 'map': None},
{'name': 'schedule_delivery_time', 'min': 1, 'max': 17, 'var': False, 'type': 'string', 'map': None},
{'name': 'validity_period', 'min': 1, 'max': 17, 'var': False, 'type': 'string', 'map': None},
{'name': 'validity_period', 'min': 1, 'max': 17, 'var': True, 'type': 'string', 'map': None},
{'name': 'registered_delivery', 'min': 1, 'max': 1, 'var': False, 'type': 'integer', 'map': None},
{'name': 'replace_if_present_flag', 'min': 1, 'max': 1, 'var': False, 'type': 'integer', 'map': None},
{'name': 'data_coding', 'min': 1, 'max': 1, 'var': False, 'type': 'integer', 'map': None},
Expand Down

0 comments on commit 28daa30

Please sign in to comment.