[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smsc_timeout, is it possible to turn it off ?
From: |
Roberto Verzola |
Subject: |
Re: smsc_timeout, is it possible to turn it off ? |
Date: |
Thu, 17 May 2007 07:02:45 +0800 |
User-agent: |
KMail/1.7.2 |
Have you actually asked the telcos if they actually implement message
confirmation originating from the receiving end? Here in the Philippines, an
insider tells me they don't.
Roberto Verzola
Philippines
On Thursday 17 May 2007 4:35 am, Daniele Forsi wrote:
> Krzysztof Śniadoch wrote:
> > as I've noticed, it's quite rare when message isn't send, so the
> > confirmation only confirms something that is almost always true.
>
> only you can decide the tradeoff between speed and reliability
>
> > All errors except timeout are important.
>
> changing the way this timeout works is too difficult, but you could remove
> the piece of code that starts waiting for smsc answer
>
> for the nk6510 driver that you are using this would be (untested):
>
> --- common/phones/nk6510.c.orig 2007-05-16 22:12:29.000000000 +0200
> +++ common/phones/nk6510.c 2007-05-16 22:13:12.000000000 +0200
> @@ -1489,10 +1489,7 @@
>
> dprintf("Sending SMS...(%d)\n", pos + 9);
> if (sm_message_send(pos + 9, NK6510_MSG_SMS, req, state)) return
> GN_ERR_NOTREADY; - do {
> - error = sm_block_no_retry_timeout(NK6510_MSG_SMS,
> state->config.smsc_timeout, data, state); - } while
> (!state->config.smsc_timeout && error == GN_ERR_TIMEOUT); - return
> error;
> + return GN_ERR_NONE;
> }
>
> /*****************/
Re: smsc_timeout, is it possible to turn it off ?, Pawel Kot, 2007/05/15