Thank you for your reply.

>From my logcat messages, it seems that whenever any API under
com.android.internal.telephony is used, an exception will be thrown.
This is why I was not able to update the SMS center number and my SMS
cannot work.

Is this a permission problem? Below is what I did in devices.c

        { "/dev/ttyS0",         0660,   AID_RADIO,      AID_RADIO,      0 },
        { "/dev/ttyS1",         0660,   AID_RADIO,      AID_RADIO,      0 },
        { "/dev/ttyS2",         0660,   AID_RADIO,      AID_RADIO,      0 },
        { "/dev/ttyS3",         0660,   AID_RADIO,      AID_RADIO,      0 },

Did I miss out anything else?

On Dec 1, 10:41 pm, Hubert <[email protected]> wrote:
> On Nov 30, 9:32 am, Lay <[email protected]> wrote:
>
>
>
> > Dear Android porting experts,
>
> > I am able to get my Android device to make outgoing calls and accept
> > incoming calls. However, there are still problems sending sms
> > messages. The log messages are below;
>
> > D/SMS     (  908): SMS send size=0time=946684942056
>
> > D/RILJ    (  908): [0026]> SEND_SMS
>
> > D/RIL     (  812): onRequest: SEND_SMS
>
> > D/AT      (  812): AT> AT+CMGS=18
>
> > D/AT      (  812): AT< >
>
> > D/AT      (  812): AT> 000100088179989786000007d4f29c9e769f01^Z
>
> > D/AT      (  812): AT< PS: 0,2,"52505"
>
> > I/RIL     (  812): !!!!!!!!!!!!!!!!!!!!!!  reference-ril.c
> > onUnsolicited !!!!!!!!!!!!!!!!!!!!!!1
>
> > D/AT      (  812): AT< +CMS ERROR: 515
>
> > D/RILJ    (  908): [0026]< SEND_SMS error:
> > com.android.internal.telephony.CommandException: GENERIC_FAILURE
>
> > D/SMS     (  908): SMS send failed
>
> > From the log messages, does it look like it is some permission
> > problem?
>
> Your GSM modem returns an error with code 515:
> CMS ERROR: 515  Device busy or Invalid Character in string
> (fromhttp://www.smssolutions.net/tutorials/gsm/gsmerrorcodes/)
>
> Please check your GSM hardware documentation how to solve this.
>
> Regards,
> Hubert

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

Reply via email to