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. I have made new application - Calculator for android

I have made the new application - Calculator for android...
and I don't know where can I upload it !!
Please help.
Calculator is called "Computer", Developer is me Minos.
my Site: http://www.newnauka.com

programs are here:
rus: http://www.newnauka.com/android/compute_rus.zip
eng: http://www.newnauka.com/android/compute_eng.zip

Program spread under GPL.
Good luck.
--~--~---------~--~----~------------~-------~--~----~

2. gallery issues

Whoever answers these questions first gets a free gPhone* courtesy of
me.

1) My gallery is an element in a list view right now... but once I
scroll down to select the gallery in the list, I can't scroll up and
down the list anymore (the gallery hijacks the "up" and "down" keys).

2) When I implement the gallery's onItemSelected listener, the gallery
stops doing its default animation when switching between images.  How
do I get the animation back?

3) I want to override my keys such that the "left" and "right"
softkeys switch the selected images in the gallery, even while the
gallery is not the selected view in the list.

Thanks!

*Offer valid until Google actually decides to release a real gPhone.
--~--~---------~--~----~------------~-------~--~----~

3. Title bar color and style

4. relative layout is not working at all?

5. How to control the image size in a ListView?

6. Database with Andriod

7. HTTPS GET/POST Methods don't work with HttpClient(4) - Bug or my fault?