All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Randomly SMS sent passes or fails
Date: Thu, 28 Mar 2013 13:05:47 -0500	[thread overview]
Message-ID: <5154867B.5000506@gmail.com> (raw)
In-Reply-To: <51546FEA.7070501@syscom-instruments.com>

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

Hi Anthony,

>
> Errr, ok :P
>
> How do you known this ? I looked on AT documentation for my modem, on
> 3GPP TS 27.007 V3.13.0, I saw nothing...

You really do not want to know.  But if you do, see 3GPP 51.011 or ETSI 
102.221 for details.

>
> I added some logs and each time ofono does AT+CRSM commands, there a
> call to "sim_fs_op_error" function ...
>
> I've got two kind of answers on AT+CRSM commands :
>
>
> ofonod[12357]: Data: < \r\n+CRSM: 106,130,""\r\n\r\nOK\r\n

I'm guessing you have a 3G sim.  Refer to 'Table 10.14: Status byte 
coding - wrong parameters' in ETSI 102.221.  Literally 106 means '6A', 
130 means '82' -> File Not Found.

>
> or
>
> ofonod[6859]: Data: < \r\n+CRSM: 144,0,""\r\n\r\nOK\r\n
>
> It means all the CRSM commands fails ???
>

Actually, this is peculiar, the CRSM command is not failing and the 
result is fine.  Just that it is empty.  Perhaps you need to quirk the 
CRSM behavior in this case.  Does adding your modem to the list in 
at_sim_read_info()

                 /* Maximum possible length */
                 len += sprintf(buf + len, ",0,0,255");
                 break;

make it work properly?

Regards,
-Denis

  reply	other threads:[~2013-03-28 18:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 15:27 Randomly SMS sent passes or fails Viallard Anthony
2013-03-05 20:43 ` Denis Kenzior
2013-03-06  9:23   ` Viallard Anthony
2013-03-11 14:53     ` Viallard Anthony
2013-03-12 18:13       ` Denis Kenzior
2013-03-13 16:11         ` Viallard Anthony
2013-03-28  9:02   ` Viallard Anthony
2013-03-28 14:24     ` Denis Kenzior
2013-04-12 13:08       ` Viallard Anthony
2013-05-02 16:40         ` Viallard Anthony
2013-05-02 18:36           ` Denis Kenzior
2013-05-21 14:20             ` Viallard Anthony
2013-03-28 14:29     ` Viallard Anthony
2013-03-28 14:42       ` Denis Kenzior
2013-03-28 16:29         ` Viallard Anthony
2013-03-28 18:05           ` Denis Kenzior [this message]
2013-04-02 13:49             ` Viallard Anthony
2013-04-02 15:08               ` Denis Kenzior
2013-04-02 15:25                 ` Viallard Anthony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5154867B.5000506@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.