Open GoogleCodeExporter opened 8 years ago
Dear Kelvin,
I hope the following helps:
/**
* byte 0 UDH length
* byte 1 Information Element Identifier
* byte 2 Information Element Identifier Data length
* byte 3 SAR reference
* byte 4 SAR number of fragments
* byte 5 SAR sequence number
*/
byte[] shortMessage = deliverSm.getShortMessage();
int sarRefNum = shortMessage[3];
int sarMaxNum = shortMessage[4];
int sarSeqNum = shortMessage[5];
/**
* get the short message
*/
shortMessage = Arrays.copyOfRange(shortMessage, 6, shortMessage.length);
Cheers,
Ayman
Original comment by ayman...@gmail.com
on 7 Mar 2010 at 11:44
jsmpp contains an example, you can look it up in
SubmitMultipartMultilangualExample.java
Original comment by imqi...@gmail.com
on 14 Jun 2013 at 6:49
Original issue reported on code.google.com by
kelvinch...@gmail.com
on 5 Feb 2010 at 8:20