How to use smack to get the raw received data?

Hi all,

I am using su-smack to pub/sub data. I found that the format of the message coming from pub/sub protocol is not supported by the packet class in smack. By using the debugger I can see the raw received data is correct but the packet is different. Can I use smack to only get the raw received data, instead of the packet? Thank you very much!

Best wishes,