Hi, all
I am porting ril in android. Now, the phone call is fine, but I can't
send the sms.
In ril/reference-ril/atchannel.c, at_send_command_full_nolock
writeline("AT+CMGS=19") to the modem, and pthread_cond_wait
(&s_commandcond, &s_commandmutex).
I think it is waiting for the unsolicited "< " in readerLoop.
After that, it will go to processLine("< "), writeCtrlZ(s_smsPDU);
I don't know why it can't get "< ", just stop there.
any idea?
my log:
D/RILJ ( 77): [0053]> SEND_SMS
D/RIL ( 29): onRequest: SEND_SMS
D/AT ( 29): AT> AT+CMGS=19
D/AT ( 29): send sms, s_smsPDU != NULL
D/AT ( 29): pthread_cond_wait(&s_commandcond, &s_commandmutex)
D/RILJ ( 77): [0052]< SIGNAL_STRENGTH {22, 99}
D/RILJ ( 77): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=2
D/RILJ ( 77): 0: [17] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ ( 77): 1: [53] SEND_SMS
D/RILJ ( 77): [0054]> SIGNAL_STRENGTH
D/RILJ ( 77): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=3
D/RILJ ( 77): 0: [17] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ ( 77): 1: [53] SEND_SMS
D/RILJ ( 77): 2: [54] SIGNAL_STRENGTH
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting