Hi,

Pierre Chehwan wrote:
> 
> Hi,
> 
> I'm facing some problems understanding the WAP spec, OTA-WSP for the SMS
> connectionless push.
> 
> Why my SMS do not activate the PUSH on the phone (Ericsson T68 over GSM) ?
> 
> MY SMS PDU is the Following :
> 
>         -----------
>         WDP header
>         -----------
> 
> 0B
> 05
> 04
> 0B84    -- destination port = 2948
> C0
> 02
> 00
> 03
> 04
> 01      -- just one SMS
> 01

Because there is only one sm, you need only port UDH:

06
05
04
0b
84
c0
02

>         -----------
>         WSP header
>         -----------
> 
> 01                      -- Push ID / TID
> 06                      -- Push PDU
> 01                      -- Headers + content type length
> 2D                      -- content type = text/vnd.wap.si

You must code 2d as a short integer, it is, turn on first bit:

01
06
01
ad

> 
>         -----------
>         Push Data
>         -----------
> 02                      -- Complied SI content, ex of SI
> 05                      --              
<?xml    version="1.0"encoding="ISO-8859-1"?>
> 6A                      --              
<!DOCTYPE si PUBLIC> "-//WAPFORUM//DTD SI 1.0//EN"
> 00                      --
> "http://www.wapforum.org/DTD/si.dtd";>
> 45                      --                              <si>
> ...                     --  <indication action="signal-high"
> href="http://wap.pushtest.com/";
>                         -- created="2001-12-12T14:05:30Z"
> si-expires="2001-12-31T14:05:30Z">
> ...                     -- Push Test
> 01                      --  </indication>
> 01                      -- </si> SI end

Parts shown seems to be rigth
> 
> Where did I go wrong ?
> 
> The PUSH PDU in the Wap specs "WAP-230-WSP-20010705-a" sec 8.2.4.1 :
> 
> "Push and ConfirmedPush
> 
> HeadersLen
> ContentType
> Headers
> DATA "

See same spec, 8.4.2.1 and 8.4.2.6.

Aarno

Reply via email to