From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: RFC: Supporting STK without PDUs
Date: Fri, 10 Sep 2010 18:21:55 -0500 [thread overview]
Message-ID: <4C8ABD93.7010307@gmail.com> (raw)
In-Reply-To: <97D5E1BB8FC13D4EA3B34BAE8E6898C901145BEDBE@orsmsx508.amr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]
Hi Waldo,
On 09/10/2010 05:33 PM, Bastian, Waldo wrote:
>> We have already had a discussion on this one when designing the current
>> stk modem API. The bottom line is that oFono tries to keep its core <->
>> modem interfaces minimal and exposing the entirety of stkutil.h as
>> official API is definitely too much.
>>
>> So right now you will need to re-encode into PDU form to support such
>> modems (or ask the vendor to give the raw pdus) While this is a bit of
>> a performance hit, it isn't too bad as the PDUs are always smaller than
>> 256 bytes.
>
> In that case we would still want to use functionality from stkutil.c to do the actual re-encoding. So in my mind it is a trade-off between forking stkutil.c for one or more modem-plugins or exporting stkutil.h Given that the type definitions in stkutil.h are a relative straightforward mapping of TS 102.223 and friends, it may not qualify as a "minimal" API but it will be a rather stable API. So I would like to ask to reconsider exposing the type definitions as part of the official oFono modem API.
>
Unfortunately the answer is still no at this time. stkutil is simply
too big to make into public API.
Please keep in mind that you don't have to 'fork' anything if your modem
driver is builtin. You can still use that file to perform the encoding.
However, oFono does not mandate the use of only builtin drivers, and
hence our need to keep the public API minimal and stable.
Regards,
-Denis
next prev parent reply other threads:[~2010-09-10 23:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 20:14 RFC: Supporting STK without PDUs Bastian, Waldo
2010-09-10 21:38 ` Denis Kenzior
2010-09-10 22:33 ` Bastian, Waldo
2010-09-10 23:08 ` Marcel Holtmann
2010-09-10 23:21 ` Denis Kenzior [this message]
2010-09-10 21:48 ` Marcel Holtmann
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=4C8ABD93.7010307@gmail.com \
--to=denkenz@gmail.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.