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 --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---