any idea? please

On Wed, Sep 30, 2009 at 10:18 AM, simon <[email protected]> wrote:

> hi, all experts:
> my log:
> D/AT      (   29): AT< +CREG: 1, "247C", "0E26", 0
> D/RIL     (   29): in onUnsolicited *********reference-ril.c***
> D/RIL     (   29): unsol_response_network_state_changed
> D/RILC    (   29): sendResponseRaw in ril.cpp************
> D/RILC    (   29): s_fdCommand socket number = -1*******
> D/RILC    (   29): in internalRequestTimedCallback**************
> D/RILC    (   29): ******fd = -1 in ril_event_set********
> D/RILC    (   29): *************initialize an event in
> ril_event_set,ril_event.cpp in libril
> D/RILC    (   29): fd is -1, in internalRequestTimedCallback
> D/RILC    (   29): *********triggerEvLoop in
> ril.cpp*****s_fdWakeupWrite=7
> D/RIL     (   29): out onUnsolicited*****************
> D/RILJ    (   77): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=0
>
> focused on this log, it received the CREG unsolicited response. It
> will write datas to the socket-- s_fdCommand, then the application
> will get it.
> That's my idea!
> But s_fdCommand is -1. I traced the code, and found that,
> in ril.cpp, listenCallback func:
> s_fdCommand = accept(s_fdlisten, (sockaddr *)&peeraddr, &socklen);
>
> this code doesn't run at any time!!!!!!
> And, in my opinion, listenCallback is the func of the event
> s_listen_event.
> Is s_listen_event not triggered????? Or others?????
> any idea???
> Thanks & regards
>
> simon

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to