aboutsummaryrefslogtreecommitdiff
path: root/test/mm-send-sms.py
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-01-18 15:26:12 -0600
committerDan Williams <dcbw@redhat.com>2012-01-18 15:26:12 -0600
commit5c561995aacdab2b29f8eabf38ad8703eec75cab (patch)
tree0fc65e9f005883587c5896d129616ca7254b0b36 /test/mm-send-sms.py
parentd51ff9ac07973701ee790f57c82a99cc25d92ab1 (diff)
gsm: fix CMGS PDU mode length calculation
The first byte of the PDU is the SMSC length, but it's not the padded SMSC length. So we need to subtract the actual byte index of the start of the message from length of the PDU, and since the PDU creation function knows all about where the SMSC address stops and the message begins, just have it return that length instead of making the callers calculate it.
Diffstat (limited to 'test/mm-send-sms.py')
0 files changed, 0 insertions, 0 deletions