Re: sending a wap-push (service-load)

"Andrea Viscovich" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Here is an SI example, taken from the sendsms.php
Don't use SL.

udh="%06%05%04%0B%84%23%F0"
text = "%01%06%04%03%AE%81%EA%02%05%6A%00%45%C6%0b%03" &site& "%00%11%03" &
random(1,9) &"@vodafone.it%00%08%01%03" &title&"%00%01%01"

The simbol & means concat.
random(1,9) means a random number between 1 and 9.
Title is what the user will see in the display, site is the url
(http://foo.com/j2meapplication.jad for you)
It works for me.
Andrea

----- Original Message -----
From: "Dominik Simon" <[email protected]>
To: "Juan Enrique Gómez" <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Friday, October 31, 2003 1:57 PM
Subject: Re: sending a wap-push (service-load)


Hi Juan,
hi kannel-list,

I only have to convert the xml to hex and send it as text? But how about
create the udh? Can you give me more information?

I've made a J2ME-application and want to send the wap-push to the user, so
they can download the application. My wap-URL looks like:

http://foo.com/j2meapplication.jad

Do you think the ServiceLoad is the right way to "download" the
J2ME-application? Or is there any other, I should choose?

Im very happy, if someobody can give me a example for testing!

Thanks for your help!

Best regards,
Dominik.

Am 31.10.2003 13:38 Uhr, "Juan Enrique Gómez" schrieb :

> El vie, 31-10-2003 a las 12:57, Dominik Simon escribió:
>
> You can construct the WAP push within a XML document and post it to the
> wapbox on kannel works great. Be sure your mobiles support SL, a very
> small number of mobiles support SL, however a lot support SI.
>
> Best,
>
>> Hi list,
>>
>> I want to send a wap-push to my mobilephone. I found this example to test
>> it:
>>
>> TEXT:
>>
%01%06%1B%1Aapplication%2Fvnd.wap.slc%00%81%EA%02%06%6A%00%85%0b%08%03wap.ki
>> cker.de%00%01
>>
>> UDH:
>> %06%05%04%0B%84%23%F0
>>
>> The kannel-gateway accepts and delievers the shortmessage via my
gsm-modem.
>> But a Nokia 6800 or Siemens S45i dont show anything :(
>>
>> Can anybody give me an other example? Is there any docu, where I can find
>> more about converting a wap-url for sending with kannel?
>>
>> Because, in kannels userguide I only find an example for SI (service
>> inidcation):
>>
>> TEXT:
>> 3D%02%06%17%AE%96localhost%3A8080%00%AF%80%8D%CF%B4
>>
%80%02%05j%00E%C6%0C%03wap.iobox.fi%00%11%031%40wiral.com%00%07%0A%C3%07%19%
>> 99%06%25%15%23%15%10%C3%04+%02%060%01%03Want+to+test+a+fetch%3F%00%01%01&
>>
>> UDH:
>> %06%05%04%0B%84%23%F0
>>
>> But the same - it doesnt work, too :(
>>
>> Best regards,
>> Dominik Simon.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.