-
Hi Oran,
We are developing SMPP application.So We want to pick operator ID relevant to delivery_sm is sent .MBLOX is used for our mobile application.
Could you please advice me to sort out this issue.
Thanks,
Susantha.
2009-11-18 07:36:56 UTC by rsusasene
-
The UDH does not prepend the entire packet...the UDH is part of the message payload..if the esm class indicates the presence of a UDH, then the first bytes of the message payload should be interpreted as the UDH.
Therefore, using a UDH reduces the total number of bytes available to you in your message payload.
2009-11-17 12:27:48 UTC by orank
-
the bytes I set in setMessage includes UDH and PDU.
try it and let me know.
2009-11-17 11:32:42 UTC by hananbercu
-
Hi Hanan,
Thanks again for replying.
I'm afraid that the problem is still there... Using the setMessage funcion only allows us to set the body of the PDU. So the content of the message in HEX is this one:
0000000 00 00 00 5a 00 00 00 04 00 00 00 00 00 00 00 02
0000020 00 05 00 53 65 6e 64 65 72 00 00 00 33 34 36 33
0000040 35 39 36 36 39 35 35 00 40 00 00 00 00 00 00 00.
2009-11-17 11:02:09 UTC by hasumedic
-
Hi,
Maybe this sample will help you
The bytes in submitSm.setMessage(bytes) includes the udh and the msg
your dcs and ems are ok.
SubmitSM submitSm = (SubmitSM) smppConnector.newInstance(SMPPPacket.SUBMIT_SM);
Address senderAddr = new Address(SOURCE_TON, SOURCE_NPI, sender);
submitSm.setSource(senderAddr);
Address recipientAddr = new Address(DEST_TON...
2009-11-17 10:03:07 UTC by hananbercu
-
Hi Hanan,
Thanks for responding.
Unfortunately, your solution does not seems to work... The problem is still the same. The UDH has not been prepended in front of the PDU. Instead, it's inserted in between the Body part of the PDU.
You know how can I achieve prepend the UDH at the start of the PDU?
Thanks!
2009-11-17 09:32:31 UTC by hasumedic
-
Hi,
I can see you have set the dest. port to 16000
try setting the source port as well to 16000
I.e. your header should look like 06 05 04 3e 80 3e 80
Let me know how it goes,
Hanan.
2009-11-15 22:17:14 UTC by hananbercu
-
Nobody??
Please, I need to achieve this in order to run correctly the message system of the handset application.
Anyone can help me at least to prepend the UDH at the beggining of the message instead of inside the body?
I would really appreciate some help!
Thanks in advance.
2009-11-13 12:09:22 UTC by hasumedic
-
hi.I need help about wap push can anyone here help me with some part of code or links explaining how to do that usin smpp api.
2009-10-29 14:15:07 UTC by kratesms
-
hi .im trying to develop i have an application sending text SMS to an smsc and it works fine.Now i'd like to send wap push sms ,i lookin for suggestions for that .Is there some specific classes in this API for encoding this kind of message.
waitin for ur help guys .Piece of code would be helpful.
2009-10-29 13:54:30 UTC by kratesms