Hi....I'm trying to send a long sms ( > 160 chars), and currently having problem as the received messages contain some junk characters. I managed to receive one long message, which was sent in 2 parts previously, but the text I received was not the same as the one I wrote. I suspect my mistake may lay in the text conversion. My question is :
1. When sending text ( less than 160 chars ), the message is converted into 7 bit, then packed into 8 bit. What about sending long message ( > 160 chars ), do I follow the same precedure ie converting the message into 7 bit, then packing it into 8 bit ?
2. Supposing I use the procedure of converting the message into 7 bit then packing it into 8 bit, do I encode the long message first , then split into few parts, and embed each part with appropriate UDH; or split the long message into few parts, encode each part, and embed each part with appropriate UDH ?
3. When splitting the long messages into few parts, what is the length of each part ? I 'm aware that SMS can contain the maximum of 140bytes data. When using UDH, the 'concatenation header' takes up 5 bytes of the data. The remaining of 135 bytes is equal to how my characters ??
4. Is there any particular encoding method for sending long message ? (other than converting the message into 7 bit then packing it into 8 bit ) Currently , I always treat sending short message is the same as sending the long message, except for the UDH existence in long message.
ps: please don't refer me to Smart Messaging FAQ , as I already went through that, and the coverage of sending long message wasn't adequate.