From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFC PATCH 1/5] simfs: retrieve only EF-info without EF-contents
Date: Fri, 22 Oct 2010 12:19:46 -0500 [thread overview]
Message-ID: <4CC1C7B2.5000506@gmail.com> (raw)
In-Reply-To: <1287673093-3022-2-git-send-email-petteri.tikander@ixonos.com>
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
Hi Petteri,
On 10/21/2010 09:58 AM, Petteri Tikander wrote:
> ---
> include/sim.h | 5 ++++
> src/simfs.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
> src/simfs.h | 4 +++
> 3 files changed, 70 insertions(+), 3 deletions(-)
I applied this patch but did some evil amending, see my comments below:
>
> diff --git a/include/sim.h b/include/sim.h
> index 7860e24..15e1ea0 100644
> --- a/include/sim.h
> +++ b/include/sim.h
> @@ -102,6 +102,11 @@ typedef void (*ofono_sim_file_read_cb_t)(int ok, int total_length, int record,
> const unsigned char *data,
> int record_length, void *userdata);
>
> +typedef void (*ofono_sim_fs_read_info_cb_t)(int ok,
> + unsigned char file_status,
> + int total_length,
> + int record_length, void *userdata);
> +
I actually wanted this completely out of the public API and limited to
simfs.h. The reason is that only sim.c will be accessing this one, so
no need to expose it to the rest of the system.
> - if (!imsi)
> + if (!imsi || !op->info_only)
This introduced a bug with the caching which I had to fix separately.
Regards,
-Denis
prev parent reply other threads:[~2010-10-22 17:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1287673093-3022-1-git-send-email-petteri.tikander@ixonos.com>
2010-10-21 14:58 ` [RFC PATCH 1/5] simfs: retrieve only EF-info without EF-contents Petteri Tikander
2010-10-21 14:58 ` [RFC PATCH 2/5] sim: add function for retrieving only EF-info Petteri Tikander
2010-10-21 14:58 ` [RFC PATCH 3/5] sim: check if Fixed Dial is enabled in SIM-card Petteri Tikander
2010-10-21 14:58 ` [RFC PATCH 4/5] modem: some debugs added for indicating modem state change Petteri Tikander
2010-10-21 14:58 ` [RFC PATCH 5/5] sim: check existence of imsi-code Petteri Tikander
2010-10-22 17:22 ` Denis Kenzior
2010-10-22 17:22 ` [RFC PATCH 4/5] modem: some debugs added for indicating modem state change Denis Kenzior
2010-10-22 17:22 ` [RFC PATCH 3/5] sim: check if Fixed Dial is enabled in SIM-card Denis Kenzior
2010-10-22 17:20 ` [RFC PATCH 2/5] sim: add function for retrieving only EF-info Denis Kenzior
2010-10-22 17:19 ` Denis Kenzior [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=4CC1C7B2.5000506@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.