Page 1 of 1

how to decode PDU

Posted: Thu Sep 23, 2021 6:06 am
by msnleon
would like to understand how to decode pdu like
https://www.diafaan.com/sms-tutorials/g ... u-decoder/.

tried

byte[] byteArray = System.Text.Encoding.ASCII.GetBytes("0791448720003023240DD0E474D81C0EBB010000111011315214000BE474D81C0EBB5DE3771B");
var a = Inetlab.SMPP.PDU.PduExtension.Deserialize<DeliverSm>(byteArray, EncodingMapper.Default);

but got error: Inetlab.SMPP.Common.SmppReaderException: 'Command 875837495 is not supported'

i saw api document said TPdu, but sorry, did not find reference of TPdu.
would you please help clarify.

thanks

Re: how to decode PDU

Posted: Thu Sep 23, 2021 5:54 pm
by alt
This format is GSM PDU . The Inetlab.SMPP library supports only SMPP PDU.