Click here to Skip to main content
15,938,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

i am developing a software application to send sms. I have been successfull in sending small sms. but when comes to large sms (i.e)larger than 160 characters i have to break sms in segments. But i am not finding what segment codes to insert in each segment of the original sms so that it can be reassembeled at destination handset.

I will be thankfull to any reply.
Posted

1 solution

You would need to add an user data header (UDH) to the sms to do this. Have a look at these links:
http://www.activexperts.com/xmstoolkit/sms/multipart/[^]

http://www.activexperts.com/xmstoolkit/sms/smsdatasmpp/[^]

Another solution could be to send it as an MMS instead of an SMS if the message is over 160 characters. This might even be cheaper because you send a single message.

Good luck!
 
Share this answer
 
Comments
Santoshshrest 16-Apr-11 2:54am    
how about sending e-mail to sms..
in fact i tried too... is it really necessary to gsm modem to send sms to mobile...??
E.F. Nijboer 18-Apr-11 6:18am    
Yes, by my knowledge it is necessary to have a gsm modem or some sort of sms server/gateway that delivers this service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900