diff options
author | Dennis Wehrle <dennis.wehrle@rz.uni-freiburg.de> | 2011-07-24 20:14:13 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-24 20:14:13 +0200 |
commit | 291e61346bb55d0462c07bf078cab3bb7eec2241 (patch) | |
tree | 7ad60ee02aa3cd494b92d1c8362320d1cf4dfd47 /src/gsm/lapdm.c | |
parent | c0dbe0be056df7992800276cee01e106272ccd2b (diff) |
sms: SMS where cropped (from VTY), concatenation of SMS where not possible
Additionally it wasn't possible to send concatenated sms from the vty.
To send multiple sms, it is necessary to use padding bits and add a user_data_header.
Therefore the gsm_7bit_encode function was splitted to gsm_7bit_encode and gsm_septets2octets.
gsm_septets2octets: this is the old gsm_7bit_encode function + additional padding parameter
Additionally the gsm_7bit_decode function was modified to take account for the user_data_header.
With the new gsm_get_octet_len function you can get the octet length for a given septet length.
I also added several sms tests.
Diffstat (limited to 'src/gsm/lapdm.c')
0 files changed, 0 insertions, 0 deletions