Re: Get PDU

Aarno Syvänen <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Wednesday, September 18, 2002, at 11:54 AM, Nigar Sultana wrote:

> I downloaded the source code from the Kannel site.
> I have some doubt regarding the code for the test.
>
> In the /test/fakewap.c , the WSP_Get PDU is declared as
>
> WSP_Get[ ] = { 0x0E , 0x00 , 0x00 , 0x02 , 0x40 }
>
> The last byte represents the encoded value for the GET
> Method. The fakewap.c is a test program, which is working
> in the connection oriented mode.

Fakewap checks only method, because this is only thing common
with *all* pdus.

> According to "WSP 230"  document , GET PDU shoud start
> with binary value for GET and since this is connection oriented
> mode of data transfer, there is no "Transaction-ID"
>
> What are the values before 0x40
> i.e( 0x0E , 0x00 , 0x00 , 0x02 )

This is wtp invoke pdu.

Aarno
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.