From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Waiting "PB DONE" message before create the phonebook
Date: Tue, 15 Sep 2015 08:05:30 -0500 [thread overview]
Message-ID: <55F8179A.5030101@gmail.com> (raw)
In-Reply-To: <55F7F0AD.4000901@syscom-instruments.com>
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
Hi Anthony,
On 09/15/2015 05:19 AM, Viallard Anthony wrote:
> Hi,
>
> My module (SIMCOM5216) sends "PB DONE" when the phonebook is ready. So,
> I would like to wait for this message before instantiated the phonebook
> interface in ofono.
>
> In the phonebook AT driver, there is a quirk for ifx vendor. So, I try
> to do the same thing, not with the "+PBREADY" message, but with "PB
> DONE" and it doesn't work.
>
> I don't known where to put my quirk. Can you give me some hints ?
>
A quirk setting is usually done in two places:
1. The atom driver itself. e.g. drivers/atmodem/phonebook.c
2. The modem driver. Instead of passing 0 as the second argument, you
pass in the vendor quirk. e.g.:
ofono_phonebook_create(modem, VENDOR_QUIRK, "atmodem", ...);
Hope this helps.
Regards,
-Denis
prev parent reply other threads:[~2015-09-15 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-15 10:19 Waiting "PB DONE" message before create the phonebook Viallard Anthony
2015-09-15 13:05 ` 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=55F8179A.5030101@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox