Long URL Wap Push Via SMS

Long URL Wap Push Via SMS SearchSearch
Author Message
wilsonkeong
New member
Username: Wilsonkeong

Post Number: 1
Registered: 07-2004
Posted on Thursday, July 29, 2004 - 05:17 am:   

HI

I would like to send a long url wap push via sms.
The URL is too long, so i have to segment it and send to the mobile user. I have follow what bryce said in the thread - http://support.nowsms.com/discus/messages/1/1.html

What mistake have i made?
Any comments and helps is very appreciated.
Thanks in advance.

The First PDU
0B05040B8423F00003840201DC0601AE02056A0045C60C037761702E7961686F6F2E636F6D2F6464 64646464646464646464646464646464646464646464646464646464646464646464646464646464 64646464646464646464646464646464646464646464646464646464646464646464646464646464 646464646464646464646464000103706B000101

The second PDU
0B05040B8423F00003840202DC0601AE02056A0045C60C0364646464646464646464646464646464 64646464646464646464646464646464646464646464646464646464646464646464646464646464 64646464646464000103706B000101

The sample URL
http://wap.yahoo.com/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd dddddddddddddddddd

The sample Text
pk
wilsonkeong
New member
Username: Wilsonkeong

Post Number: 2
Registered: 07-2004
Posted on Thursday, July 29, 2004 - 05:24 am:   

The SMS was deliver successfully as indicated by the delivery report. However my phone was not receive anything.

When I shorten the URL to fits in one sms. It works fine. Howerver when i try a longer sms that exceed 140bytes (280 hex code) then it is not working.

And one more thing, when i send a wap push that fits in one sms, the URL that contains '&' characters will not be display properly. Meaning when i sent and URL below

wap.yahoo.com/username=abc&password=abc

then when the service msg received in the user hp. It will display

wap.yahoo.com/username=abc

and anything behind the '&' sign will not display. What cause this?

wilsonkeong
New member
Username: Wilsonkeong

Post Number: 3
Registered: 07-2004
Posted on Friday, July 30, 2004 - 03:29 am:   

I managed to solve the '&' problem. I UrlEncode the url and text msg before convert it to the hex code. It works fine in a single sms. However, the segmentation and reassembly still not working. Help me please. Thanks in advance. Anyone can point me to some webpage that talk about SAR? Thanks in advance.
cjk
Unregistered guest
Posted on Monday, September 13, 2004 - 05:10 pm:   

Anybody out there that can answer the above query? I'm struggling with the same problem ...
zeihor
Unregistered guest
Posted on Thursday, September 16, 2004 - 01:32 pm:   

Hi!
I'm trying to find out how to encode an xml-push into binary to send to SMSC. I think I need to know what and how to encode and what part to put in the User Data Header and what part into the User Data (the body). Could you please tell me how you encode your message?

Thanks!
Anonymous
 
Posted on Friday, September 17, 2004 - 01:56 pm:   

The second SMS PDU is wrong.
Do not need the WSP header in the concatenated SMS. Remove the "DC0601AE02056A0045C60C03" in the 2nd SMS.

1st SMS
[WSP] + [Concatenated SMS] + [WAP SI Data]
Total length = 140 bytes

2nd SMS
[WSP] + [Concatendated SMS} + [Continue SI Data]

Cheers
-----------------------------------
vbmms sdk
http://www.geocities.com/rongkh2004