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. How to support multiple language key character mapping

Abhinayak, thanks a lot for your reply.

But I don't think the document is very helpful.

Since the sample code is more like a keyboard driver, but not for layout
mapping or character mapping.

I wanna my Android like a PC can connect 88/104 keys keyboards.

The Window manager maps scancode to keycode. It happens in framework.
suppose we should modify something in the framework.

please refer to /cupcake/frameworks/base/libs/ui/eventhub.cpp

Best regards,
Miller Fu











--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Determining Who Passed an Intent to You

I was wondering if there is a way to determine who passed an intent to
my application.  For example, I have a service, that I want to act
differently depending on who passed the intent (for security
reasons).  I'm trying to sandbox each calling application, so they
only have access to their data stored in my application.

For it to be secure, I cannot trust any application to be truthful
about the identifying data it is passing into my service.  Therefore,
I need some system way of identifying who sent the intent in a way
that the calling application cannot change that information.  I don't
know if it is possible, but I can't find anything in the Intent class,
and I was wondering if there may be another structure which does what
I want it to.  If it is not possible, I would like to get some type of
mechanism to do this in the roadmap.

Thanks,
Jonathan Herriott
--~--~---------~--~----~------------~-------~--~----~

3. How to place an ImageView to a specific location on the screen ?

4. Video with MediaRecorder

5. Android SDK 2.0?

6. Setting background for CheckBox causes a problem

7. Why can't I use Parcel in aidl?