RIL problem: cannot reach RIL_register

by simon » Thu, 24 Sep 2009 01:00:14 GMT


Sponsored Links
 hi, all
I am playing with the RIL, and have a problem.
It is just running at mainLoop function in reference-ril.c.
It goes across initializeCallback, but can't go through waitForClose
();

2020         RIL_requestTimedCallback(initializeCallback, NULL,
&TIMEVAL_0);
2021
2022         // Give initializeCallback a chance to dispatched, since
2023         // we don't presently have a cancellation mechanism
2024         sleep(1);
2025
2026         waitForClose();
2027         LOGI("Re-opening after close");

my log :
D/AT      (  166): AT> ATE0Q0V1
D/AT      (  166): AT< OK
D/AT      (  166): AT> ATS0=0
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CMEE=1
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CREG=2
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CGREG=1
D/AT      (  166): AT< ERROR
D/AT      (  166): AT> AT+CCWA=1
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CMOD=0
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CMUT=0
D/AT      (  166): AT< ERROR
D/AT      (  166): AT> AT+CSSN=0,1
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+COLP=0
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CSCS="IRA"
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CUSD=1
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CGEREP=1,0
D/AT      (  166): AT< ERROR
D/AT      (  166): AT> AT+CMGF=0
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CFUN?
D/AT      (  166): AT< +CFUN: 1
D/AT      (  166): AT< OK
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT> AT+CPIN?
D/AT      (  166): AT< +CPIN: READY
D/AT      (  166): AT< OK
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT> AT+CSMS=1
D/AT      (  166): AT< +CSMS: 1, 1, 1
D/AT      (  166): AT< OK
D/AT      (  166): AT> AT+CNMI=1,2,2,1,1
D/AT      (  166): AT< OK
D/RIL     (  166): out the initializeCallback
D/RIL     (  166): enter waitForClose**********
D/RIL     (  166): mutex lock s_closed = 0
D/AT      (  166): AT< +CREG: 1, "247C", "0E57", 0
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT< +CREG: 1, "247C", "0E26", 0
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT< +CREG: 1, "247C", "0E57", 0
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT< +CREG: 1, "247C", "0E4D", 0
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril
D/AT      (  166): AT< +CREG: 1, "247C", "0E57", 0
D/RILC    (  166): *************initialize an event in
ril_event_set,ril_event.cpp in libril

any idea is appreciated!! : )
Thanks $ Regards

Simon

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Content Provider General Questions For a Newbie

Hi there,

I am having a hard time understanding content providers.

In the notepad example and others, the content provider never even
declares its CONTENT_URI anywhere inside itself, yet the docs say to
publicly declare this.  It's declared in a different class.  So when
an activity queries a content provider with a CONTENT_URI, how does
Android know which one I want.  I see no link between a content
provider and its CONTENT_URI declared in another class.

I also don't how to think about intents and content providers.  I know
that you don't call an intent on a content provider.  But an activity
queries a content provider without an intent, and an activity has a
mimetype attribute in the manifest that would seem to tie it to a
content provider.

Can someone please help?

-- 

2. cant workout why a NullPointerException occuring !! :0

> E/AndroidRuntime( 682): Caused by: java.lang.NullPointerException

What is happening at/around this line in your file?

--

3. Can't access layout views from inside parent view

4. STATISTICAL COMPONENT

5. mp4,gif,flash animated wallpaper for android 2.1 for HTC nexus one?

6. I don't understand URIMatcher

7. Open all sites that blocked in your country from here