Re: Kannel wap limits ?

2003-02-19 Thread Aarno Syvänen
If the phone really supports ESAR, it should send number of groups tpi. 
Otherwise it is just sending content
SAR could not handle.

Aarno

On Tuesday, February 18, 2003, at 11:56 AM, Bruno Rodrigues wrote:

Citando Igor Ivoilov <[EMAIL PROTECTED]>:


I have to fix wpt layer to do not panic if psn is going to be > 255
but this is a limit of SAR and can be overcome with ESAR.
Does 3650 support ESAR? I don't have such a phone to check it by 
myself

So it seems altough kannel's only relevant information is the 350K sdu.

--
Davi / Bruno.RodriguesLitux.Org
Litux.org: 10:54:26 up 87 days, 12:10,  8 users,  load average: 0.03, 
0.05, 0.01
'Linus?  Whose that?
	-- clueless newbie on #Linux'






RE: Kannel wap limits ?

2003-02-18 Thread Bruno Rodrigues
Citando Igor Ivoilov <[EMAIL PROTECTED]>:

> I have to fix wpt layer to do not panic if psn is going to be > 255
> but this is a limit of SAR and can be overcome with ESAR.
> Does 3650 support ESAR? I don't have such a phone to check it by myself

So it seems altough kannel's only relevant information is the 350K sdu. 

-- 
Davi / Bruno.RodriguesLitux.Org
Litux.org: 10:54:26 up 87 days, 12:10,  8 users,  load average: 0.03, 0.05, 0.01
'Linus?  Whose that?
-- clueless newbie on #Linux'




Re: Kannel wap limits ?

2003-02-18 Thread Stipe Tolj
> I'm trying to force kannel to let a mobile download realplayer.sis file
> (584.720bytes) through it.
> I know that I'm crazy to try it, but I just need to know the limits of kannel
> and see if we can do better than CMG ;)

we definetly sould do better :)

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




RE: Kannel wap limits ?

2003-02-18 Thread Igor Ivoilov
Title: RE: Kannel wap limits ?





I have to fix wpt layer to do not panic if psn is going to be > 255
but this is a limit of SAR and can be overcome with ESAR.
Does 3650 support ESAR? I don't have such a phone to check it by myself


> -Original Message-
> From: Bruno Rodrigues [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 5:27 AM
> To: [EMAIL PROTECTED]
> Subject: Kannel wap limits ?
> 
> 
> Hi.
> 
> I'm trying to force kannel to let a mobile download 
> realplayer.sis file
> (584.720bytes) through it.
> I know that I'm crazy to try it, but I just need to know the 
> limits of kannel
> and see if we can do better than CMG ;)
> 
> First problem is that Nokia 3650 sends a SDU of 357.000 bytes 
> and kannel simply
> refuses to send the file back. 
> It's a good start relativly to CMG, because I will get a 
> reply quickly (altough
> it could be a nice wap page saying something meanfull instead 
> of a rude gateway
> error). CMG tries to do something and only breaks after 
> something like 10 seconds.
> 
> Then I've removed SDU checks from kannel >:), adding a "0 &&"
> gw/wap-appl.c line 654:
> /*
>  * If the response is too large to be sent to the client,
>  * suppress it and inform the client.
>  */
> if (0 && octstr_len(content.body) > sdu_size && sdu_size > 0) {
> 
> Now the mobile goes having fun downloading the file:
> Kannel logs starts with a:
> 2003-02-18 02:52:12 [5] DEBUG: WTP: begin_sar_result(): data 
> len = 584867
> 
> then a,
> 2003-02-18 02:52:14 [5] DEBUG: WTP: continue_sar_result(): 
> lsegm=2, nsegm=1015,
> csegm=-1
> 
> until it gets to:
> 2003-02-18 02:54:24 [5] DEBUG: WTP: resp_machine 2, state 
> RESULT_RESP_WAIT,
> event RcvAck.
> 2003-02-18 02:54:24 [5] DEBUG: WTP: continue_sar_result(): lsegm=254,
> nsegm=1015, csegm=251
> 2003-02-18 02:54:24 [5] DEBUG: WTP: dispath_to_wdp(): psn = 255
> 2003-02-18 02:54:24 [5] PANIC: gwlib/octstr.c:1677: 
> octstr_set_bits: Assertion
> `value <= mask' failed.
> 
> This means what ? are we assuming that psn is a unsigned byte ? 
> 
> To reach the Nokia3650 SDU, we would need to send 620 
> "psn"'s, so I think
> something is broken in kannel. :(
> 
> 
> Any idea ?
> 
> 
> 
> 
> -- 
> Davi / Bruno.RodriguesLitux.Org
> Litux.org: 02:58:48 up 87 days,  4:14, 10 users,  load 
> average: 0.18, 0.10, 0.05
> 'OK, enough hype.
>  -- Larry Wall in the perl man page'
> 





RE: Kannel wap limits ?

2003-02-18 Thread Damir Salantic

> This means what ? are we assuming that psn is a unsigned byte ?
>
> To reach the Nokia3650 SDU, we would need to send 620
> "psn"'s, so I think
> something is broken in kannel. :(
>
>
> Any idea ?

PSN is unsigned byte according to WAP specifications. To send larger number
of packets you need ESAR feature in Kannel, but this is not yet implemented
I'm afraid :-(.

Damir