Text to 7-bit PDU string converter
Being honest I forgot why I had written this code some time ago. I put it here
from my another small blog page hosted on blogpost
(engnick.blogpost.com).
Now I remember how was it and decided to bring this piece of code, as maybe
it might be useful for somebody. I wrote this code when I was working in
MegaFon as part of automated testing tool for
doing some tests against SMS handling billing solutions.
Using this you can encode messages for variety of modem devices working in
PDU mode for sending SMS and USSD requests to GSM network
(PDU mode).
As example, this code coverts text hellohello
into E8329BFD4697D9EC37
.
Or this can be used even for converting of MSISDN
numbers.
|
|