Wap Push ( Question And Summary ) with HTTP and SMS

Wap Push ( Question And Summary ) with HTTP and SMS SearchSearch
Author Message
Nicolas P
Unregistered guest
Posted on Wednesday, May 12, 2004 - 10:56 am:   

I a (french) newbie with WAP, i want send an WAP Push Message!
I read some specification about PAP, SI, SL, PPG but some question persist as if i read this forum!
=> ' It could be long but it's a good summary of some topics... '
... some question could be answer with a simple Yes or No ...

So i can send Push WAP from my serveur with PAP on HTTP to an Push Proxy (Gateway)...
(http://www.thozie.de/english/wap/push.htm)
1 -- But where can i find a Push Proxy ?
1.0 -- should i create it with a software Or could i use an operator ppg?
1.0.0 -- a Proxy Gateway (define in WAP 2.0), is it just a WAP gateway (define in WAP 1.2)?

#Remember# A Push WAP... look like that whit HTTP!
----
POST / HTTP/1.1
Host: localhost
Content-Type: multipart/related; boundary=asdlfkjiurwghasf; type="application/xml"
--asdlfkjiurwghasf
Content-Type: application/xml
...
<pap>
<push-message push-id="00000@pi.com">
<address address-value="WAPPUSH=+330123456789/TYPE=USER@ppg.operator.com" />
</push-message>
</pap>
--asdlfkjiurwghasf
Content-Type: text/vnd.wap.si
...
<si>
<indication si-id="11111@si.com" href="http://www.azerty.fr/message.wml">
You've got new Mail!
</indication>
</si>
--asdlfkjiurwghasf
Content-Type: application/xml
<!-- Third Section: (optional) Client Capabilities -->
--asdlfkjiurwghasf--


i read the PAP specification but i dont understand what is:
1.1 -- push-id: it is an id, to identify and therefore get it 'delivered status'
1.2 -- ppg.operator.com: it is only my PPG server... it don't use after??
1.3 -- si-id: ??? what is

1.4 -- In this case, a Push WAP is it free (if i don't use you software) ?


----------------------------------------------
2 -- is there an other method to send a Push WAP? with a modem GSM ... ? ...
2.0 -- in this case, a Push WAP isn't free?
2.1 -- Push WAP it is only a SMS?

2.2 -- In this case, i connect with my GSM modem to a SMSC and i send a SMS

2.4 -- So a SMS contain a UDH.
A UDH is SMS headers required to implement WDP over GSM SMS.

2.5 -- In most example, the UDH is the same : 0605040B8423F0 -> is it normal?


--------------
Now WSP encode! i want code this Push WAP message:
(http://support.nowsms.com/discus/messages/132/518.h tml AND
http://support.nowsms.com/discus/messages/132/2672. html)

<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd">
<si>
<indication si-id="11111@si.com" href="http://www.azerty.fr/message.wml">
You've got new Mail!
</indication>
</si>

| I encode this TO...
\_/ :-)


// UDH -> SMS -see point 2.5-
06
05
04
0B84 destination port (9200) //It could be the contrary... Origin Port And
23F0 origin port //after Destination Port... it isn't important...

// WSP Push Wap message...
// see Appendice A and B of WSP specification docuement to encode WSP parameter...
// see point 8 of SI specification docuement to encode Push WAP parameter...
DC Transaction ID (Push ID) //3.2 -- what i put here? is it important? Can i put 34 for example?
06 PDU type (Push PDU)
01 Header Length (just leave it at 01)
AE Content Type=application/vnd.wap.sic //3.3 -- That describe this encoded SI (Push WAP message) !
02 Version of WBXML v1.2 !!
05 Version of SI v1.0
6A <charset=utf-8>
00 <string>
45 <si>
C6 <indication>
0C http://
03 start string
// now i encode the URL (to encode a string use http://www.asciitable.com/)
//w w w . a z e r t y . f r / m e s s a g e . w m l
7777772E617A657274792E66722F6D6573736167652E776D6C
00 terminate string
01 <indication>
03 start string
// now i encode the message
//Y o u ' v e g o t n e w M a i l !
596F7527766520676F74206E6577204D61696C21
00 terminate string
01 <indication>
01 <si>


3.4 -- SO if want send my push message, i send this in my SMS???
0605040B8423F0DC0601AE02056A0045C60C037777772E617A657274792E66722F6D657373616765 2E776D6C000103596F7527766520676F74206E6577204D61696C21000101

Am I right ???


3.4 -- Could you explain me what is the diférence between signal-low / signal-medium / signal-high ?



Thanks,
Regards,

Nicolas...
Anonymous
 
Posted on Thursday, May 13, 2004 - 09:38 am:   

Allé vous faire foutre...

--- easy
1.4 - isn't free...
2/2.0/2.1/2.4/3.3 => YES
2.5 => probably

--- arf! i don't know!!
1/1.0/1.00/1.1/1.2/1.3 => ???
2.3 => ??? probably
3.2 => ???
3.4 => ??? probably
3.4 bis => ???


Thanks in advance...