On Wednesday, March 19, 2003, at 10:18 AM, Bas A. Schulte wrote:
Hi Aarno,
On Wednesday, March 19, 2003, at 09:53 AM, Aarno Syv�nen wrote:
I've been toying with using Kannel as a PPG to do WAP push. I'm quite new to WAP push so I have this quick question: what is the format/contents of the sms message that the ppg pushes to the phone?
PPG creates the sm message. You must send it a http multipart, containing push control and content documents (these are xml
documents and easier to understand the binary sm). User guide contains examples, and test/test_ppg.c is an example push initi-
ator.
It is being sent as a regular sms over my existing sms-c connection but how is that message formatted?
It is a normal binary message sent to a specific port. It contains tokenized (essentially compressed) push content document.
Ah. I thought the message that's being pushed merely contains a reference (url?) to the content. That message would trigger the phone to fetch it (if the user allows it) from the specified url on a regular webserver.
Yes, it is called a document and its main content is the url. But there is a possibility to send message to the user, explaining the
the push he is receiving.
If I deliver this message to a non-WAP phone, nothing ends up on there. Would that be the expected behaviour?
Phone just ignore it. But there is ppg sm delivery report patch sent to the list. (I commit it if people like it) With this, the phone >> will
always send sm dlr, and so you can test did the phone understand the push.
Just sent one to a Samsung A300, which supposedly has WAP 1.2.1 (not sure) but it didn't understand the message either, guess I need to do some more research ;)
Using Kannel ?
Aarno
