All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: Re: [PATCH] sms: Add delay before submitting multiple SMS to modem
Date: Fri, 24 Aug 2012 10:16:46 +0200	[thread overview]
Message-ID: <5037386E.6090806@linux.intel.com> (raw)
In-Reply-To: <5036694F.7030805@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2514 bytes --]

Hi Denis,

On 23/08/2012 19:33, Denis Kenzior wrote:
> Hi Guillaume,
>
> On 08/23/2012 09:26 AM, Guillaume Zajac wrote:
>> Hi Denis,
>>
>> On 23/08/2012 15:48, Denis Kenzior wrote:
>>> Hi Guillaume,
>>>
>>> <snip>
>>>
>>>> Unfortunately I come to the conclusion that if I want to send one same
>>>> SMS to 3/4/5/... recipients with an application using oFono 
>>>> middleware,
>>>> I will not be able to send them through the same RRC channel, unless I
>>>> queue them offline.
>>>>
>>>
>>> If such a feature is important, then you do have a point. However,
>>> implementing _anything_ by introducing an arbitrary delay is simply
>>> wrong. I believe they teach the reasons for that in Operating Systems
>>> 101. You are introducing a race condition that will break things at
>>> the most inopportune time.
>>
>> I agree that it is not the most elegant/cleanest solution.
>>
>
> Then please refrain from sending patches which contain 'not the most 
> elegant/cleanest' solution in the future.  oFono has a very high 
> standard of quality, and the standard is even higher in the core than 
> the driver code.
>
> You are better off starting a discussion on IRC or describing the 
> problem in detail on the mailing list asking for possible solutions.
>
>>>
>>> If we really require multi-recipient SMS to go on the same RRC
>>> channel, then the best way to do so would be to introduce a new API
>>> specifically for this use case.
>>
>> Having a new API for multi-recipient SMS would be indeed the best 
>> solution.
>> With current implementation the test is passing with multi-segment SMS
>> using script but GCF test description is mentioning 3 different SMS.
>> During device certification (with applications), the tester will try to
>> send an SMS to 3 recipients but it will fail.
>> Another solution would be to remove multi-SMS support from the PICS.
>
> Our current goal is just the baseline.  That means if we're missing a 
> feature, then we need to note that down and continue on.
>
> This is where the TODO file comes in.  If you see features that are 
> missing, then send a patch to the TODO file describing the feature and 
> the preferred approach (after the relevant discussions on IRC/mailing 
> list).  The feature priority assignment / implementation can then 
> proceed with the well-established workflow.
>

Ok I will send a RFC about this new feature, this will be the new thread 
to discuss on it.

Kind regards,
Guillaume

      reply	other threads:[~2012-08-24  8:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22  9:29 [PATCH] sms: Add delay before submitting multiple SMS to modem Guillaume Zajac
2012-08-22 22:57 ` Denis Kenzior
2012-08-23  9:04   ` Guillaume Zajac
2012-08-23 13:48     ` Denis Kenzior
2012-08-23 14:26       ` Guillaume Zajac
2012-08-23 17:33         ` Denis Kenzior
2012-08-24  8:16           ` Guillaume Zajac [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5037386E.6090806@linux.intel.com \
    --to=guillaume.zajac@linux.intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.