How to get TLV's when receiving a message

Nov 2, 2016 at 3:46 PM

At my job we are using the SMPP without problems. The thing is one of our projects requires to be able to send and receive data as TLV's because the SMPP server for that project sends application data in those tags.

I was able to figure how to include TLV's in when sending a message thanks to this old post on this forum

For the receiving part I'm not sure how I should do it. Taking a look at the code, when building a TextMessage instance and populate it with the PDU data, this TextMessage instance does not include the TLV's. Is there a way to include them without modifying the source code or is it the only way?

Wish you could point me in the right direction.