Well I was wondering if some one could hook me up with a link to any document that would provide me with the EMS message format. What I really need to know is how to divide a long SMS into many parts, and how to recognize a multipart SMS.
The reason behind this is I work with a content providing company that wants to make an email system over SMS. The version the team is developing now can handle single SMS. But when it comes to multipart SMS it fails because of the first 6 bytes.
Let me tell you that we do not have access to SMSC, the peoples at the Operator END has a program which they refer to as 'Transport Agent', captures incoming SMS from a SHORT CODE via (SMPP I guess) and then they dump it in to our DATABASE. So the DATABASE gets the raw binary SMS (?? There is no point in that though, it’s like that just to handle the NULL), we convert it to ASCII then work on it.
I have noticed that the First 6 bytes are something like this when the SMS is multipart:
Byte 1: 0x05
Byte 2: 0x00
Byte 3: 0x03
Byte 4: This change, don’t know why!
Byte 5: Total Number of Parts
Byte 6: Current part number
That’s my observation could you guys please help me out on this?