Is there any available SMS Pdu parser in Java?

2.8k views Asked by At

Anyone knows a available Pdu Parser in Java from byte[] array, my main concern is to get the User Data Header (UDH) complying to the GSM standard. I mean getting it properly.

2

There are 2 answers

2
Matt Aldridge On BEST ANSWER

smsLib is relatively mature. You could also make use of the parser built into Android.

2
Bombe On

As I was in need of an SMS-PDU parser/creator a couple of years ago I could not find one and had to write my own. Grab a copy of GSM 03.40, brush up on your bit-fiddling skills, and get going. :)