Patch for Timeout Issue when Importing Phonebook

Guo, Young young.guo at intel.com
Wed Aug 5 23:59:44 PDT 2009


Is this conflict with our design philosophy which is "small and fast"? :)

-----Original Message-----
From: ofono-bounces at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf Of Gu, Yang
Sent: Thursday, August 06, 2009 2:47 PM
To: ofono at ofono.org
Subject: Patch for Timeout Issue when Importing Phonebook

It often needs a long time (more than default timeout of D-Bus) to retrieve all the entries from phonebook. This patch is to set the timeout to 100 seconds so that the operation has enough time to get the result. 

Regards,
-Yang


>-----Original Message-----
>From: ofono-bounces at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf
>Of Gu, Yang
>Sent: Thursday, August 06, 2009 12:10 AM
>To: ofono at ofono.org
>Subject: RE: light test report for ofono v0.2
>
>>4) timeout when reading records at the first time
>Reading records from SIM card requires more time than default timeout of
>D-Bus, so you will get timeout error when you invoke the method via D-Bus
>for the first time. The result will be cached once oFono gets all the records,
>thus you may get the records very quickly for the second, third, .., time.
>I will try to update the test case to retrieve the records in an asynchronous
>way.
>
>Regards,
>-Yang
>_______________________________________________
>ofono mailing list
>ofono at ofono.org
>http://lists.ofono.org/listinfo/ofono


More information about the ofono mailing list