* Waiting "PB DONE" message before create the phonebook
@ 2015-09-15 10:19 Viallard Anthony
2015-09-15 13:05 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Viallard Anthony @ 2015-09-15 10:19 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
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 ?
Regards,
Anthony Viallard.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Waiting "PB DONE" message before create the phonebook
2015-09-15 10:19 Waiting "PB DONE" message before create the phonebook Viallard Anthony
@ 2015-09-15 13:05 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2015-09-15 13:05 UTC (permalink / raw)
To: ofono
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-15 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 10:19 Waiting "PB DONE" message before create the phonebook Viallard Anthony
2015-09-15 13:05 ` Denis Kenzior
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.