Receiving multi part message

.NET library for SMPP protocol
Locked
xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Receiving multi part message

Post by xhide » Thu Jul 02, 2020 7:01 am

Hi,

I need help on receiving multipart messages with leading header.

I've set the ESMClass to 64 but the UserDataPdu header is empty.

Appreaciate any help.

Thank you.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Re: Receiving multi part message

Post by alt » Thu Jul 02, 2020 3:42 pm

xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Re: Receiving multi part message

Post by xhide » Fri Jul 03, 2020 1:26 am

HI Admin,

Thank you for the reply.

The issue I am currently facing is the OnFullMessageReceived is triggered when I received the 1st message.

Here the sample of the message in hex code.

1st part - 050003520201412077696b69206973206120687970657274657874207075626c69636174696f6e20636f6c6c61626f7261746976656c792065646974656420616e64206d616e6167656420627920697473206f776e2061756469656e6365206469726563746c79207573696e672061207765622062726f777365722e2041207479706963616c2077696b6920636f6e7461696e73206d756c7469706c652070
2nd part -
0500035202026167657320666f7220746865207375626a65637473206f722073636f7065206f66207468652070726f6a6563
xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Re: Receiving multi part message

Post by xhide » Fri Jul 03, 2020 3:07 am

I've got it to work.

Thank you very much.
Locked