How to send a long message over EMS? | ![]() |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through August 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
Robinson Wang New member Username: Grayrabbit Post Number: 3 Registered: 06-2004 |
hi,all! How to send a long message (longer than 140 bytes) over EMS? Fellow is my data hex dump: Message #1: 06 (UDH len) 0003FE0201 (concatenation header, msg 1 of 2) 61616161616161...616161616161 (data 'a',134 bytes) Message #2: 06 (UDH len) 0003FE0202 (concatenation header, msg 2 of 2) 626262626262...6262626262(data 'b',66 bytes) i send it, but failed. all phone(Siemens/nokia/Moto/Samusang) can't show it. (Siemens notic me receive a data message, nokia can't show it) pls give me some advise.The better give me some example, thanks a lot. Robinson Wang. Best regards. | |||
Robinson Wang New member Username: Grayrabbit Post Number: 5 Registered: 06-2004 |
i change my bin data( follow code show the change), i hope the dest mobile can receive a EMS(long message), it's content is 264 bytes string, first of it's half is 'a'(134 bytes), and others is 'b'(134 bytes). but failed again. ![]() // Codes: // Message #1 byte szbuf[141] = { 0x05, // UDHL 0x00, // IEI 0x03, // IEDL 0xFE, // Message ref 0x02, // Total num 2 0x01 // current is first }; memset(szbuf+6,'a',134); // message content is a string of 134 'a'. // Message #2 byte szbuf[141] = { 0x05, // UDHL 0x00, // IEI 0x03, // IEDL 0xFE, // Message ref 0x02, // Total num 2 0x02 // current is second }; memset(szbuf+6,'b',134); // message content is a string of 134 'b'. | |||
Vitaliy N. Kravchenko New member Username: Kvn Post Number: 15 Registered: 10-2003 |
Your binary looks like OK What esm_class/data_coding parameters are you use then sending SAR(concatenated) message? |