Converting UCP to SMPP ?

Converting UCP to SMPP ? SearchSearch
Author Message
Deepak Angeswar
New member
Username: Angeshwar

Post Number: 3
Registered: 09-2006
Posted on Wednesday, October 11, 2006 - 12:15 pm:   

hello,

i am developing a mocule that shld convert UCP to SMPP and vice versa.

i am able to extract most of the data which needs to be mapped into SMPP, i am a bit confused abt the actual message.

if UCP message type: 2 - is for numeric data, i just copy the data to SMPP and set the data_coding field in smpp to 1

if UCP message type: 3 - is for alphanumeric data, i decode hexpair into single octets and copy into smpp as octets, and set the data_coding field in smpp to 1

if UCP message type: 4 - is for binary data(ringtone etc...)
I set the data_coding field in smpp to 4 (8 bit binary)
but what do I do for decoding the message?
how do i know what type of encoding is done?
or how do i store the binary data received in UCP into SMPP?

regards,
Deepak.