Wap push via SMS (yes, I read other posts)

Wap push via SMS (yes, I read other posts) SearchSearch
Author Message
zeihor
Unregistered guest
Posted on Thursday, September 16, 2004 - 04:25 pm:   

Hi. I'm one of those thickheaded people that read all the documentation available 10 times and still don't get it. I have complete wap-specification which I read at the same time as browsing noumerous sites and forums. I've come as far as successfully sending the encoded sms and recieving it. The only thing is that it isn't displayed (I've checked on computer-connected simcard that doesn't have wap so it only recieves it as sms, but my wap-enabled phone doesn't show any life-signs at all).

What I'm trying to send is a simple notification like "you have email" (starting small). The xml would then look like this:

<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd">
<si><indication>You have email</indication></si>


I try to encode it in binary xml and get the following:

00060002056A0005060103You have email000101

Decoding:
00 = Push-id (could be anything, no?)
06 = content type: Push
00 = headers lenght (can it be 0? what headers should be there if not?)
02 = version numbers (WBXML version 1.2)
05 = SI 1.0 PUblic Identifier
6A = Charset = UTF-8(MIBEnum 106)
00 = String table length (what's this?)
05 = start of si-element (why 45 in specification?)
06 = start of indication-element (why C6 in spec?)
01 = end of indication attributes
03 = inline string
string
00 = end of string
01 = end of indication
01 = end of si

For headers (UDH), I have this:

0605040B8423F0

This seems to be the same for all pushes I've seen so I just ripped it. I understand some of it, though:
06 = ???
05 = ???
04 = address lenght
0B84 = dest address (push port)
23F0 = source address (?)

Any idea what I'm doing wrong?
Thanks!
Anonymous
 
Posted on Friday, September 17, 2004 - 02:07 pm:   

Your WSP header length cannot be 00.
Use 01 AE.

Meaning
01=Length 1 byte
AE=application/vnd.wap.sic

The other questions
06=Length of WDP header
05=IEI 16bit Addressing
04=Address len
.......

Cheers
-----------------------------------
vbmms SDK
http://www.geocities.com/rongkh2004
Ras
Unregistered guest
Posted on Saturday, December 18, 2004 - 03:46 am:   

Just to let you know there are some sites that do all the work, i.e. all the coding for you e.g. sms.jc-mobile.net

All you have to do is type in the address and the WAp Push is sent.

Hope that helps
abiodun ogunlabi
New member
Username: Abioduog

Post Number: 1
Registered: 02-2006
Posted on Monday, February 13, 2006 - 07:13 pm:   

Hi
Please can someone advise me on what application to use in forwarding SMS landing on a SIM card to a computer application eg excel spreadsheet. Would like the SMS to be emptied off the SIM so that other incoming SMS can land
Thanks
Anonymous
 
Posted on Monday, March 06, 2006 - 06:52 pm:   

deleted by admin 65