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.Rodrigues<at>Litux.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'
>

Reply via email to