Send long sms via Opensmpp

2.3k Views Asked by At

I use opensmpp library for sending sms, but I cannot find documentation or example of sending long messages. I want to send long messages by splitting and using UDH (because it's sms gate requirement). Where can I find documentation or example for Opensmpp java library?

1

There are 1 best solutions below

0
On BEST ANSWER

Good to hear it worked! As a short summary, this would be the way to add additional header information for multipart/concatenated SMS delivery using OpenSmpp:

SubmitSM smRequest = new SubmitSM();
smRequest.setEsmClass((byte)Data.SM_UDH_GSM);

The above code was taken from this article about multi-part SMS that includes sample code and extended technical details.