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. Java Source/APIs to create a Fourm

Hi All,

I would like to create a forum in my application, I would like to know
available source code/APIs through which i can create it in less time/effort

Thanks for your comments.

-Buzz

2. WebView Help

Hi,

I was wondering if there is a way to select or highlight or focus at
text from a webview's content.

Or even select and copy text to the clipboard? (just like the default
browser)

Or even access the emulateShiftHeld() function?

I'm working on an browser and am trying to add accelerators but I can
really only focus on links and buttons.

Thanks.

-- 

3. How to use the key event to emulate the acceleration sensor to let the screen change orientation.

4. Changing power button behavior

5. I want to make a Toast to prompt again and again on screen after every 5minutes.

6. How to delete applications from the Android simulator.

7. Expose kernel logs to user environment