[PATCH] telit: add error_code recognition to +CSIM parser

Colin Helliwell colin.helliwell at ln-systems.com
Tue Apr 18 14:32:07 UTC 2017


> On 18 April 2017 at 15:05 Carlo Lobrano <c.lobrano at gmail.com> wrote:
> 
> Hi Aleksander,
> 
> see below my reply
> 
> Il giovedì 6 aprile 2017, Aleksander Morgado <aleksander at aleksander.es> ha scritto:
> 
> > Hey Carlo,
> > 
> >  On 04/04/17 14:55, Carlo Lobrano wrote:
> > > - Refactored mm_telit_parse_csim_response in order to correctly recognize the
> > >   following +CSIM error codes:
> > >
> > >     * 6300 - Verification failed
> > >     * 6983 - Authentication method blocked
> > >     * 6984 - Reference data invalidated
> > >     * 6A86 - Incorrect parameters
> > >     * 6A88 - Reference data not found
> > >
> > > - Updated correspondent tests.
> > > - Finally, some minor changes in other files for better error logging
> > >
> > > Fixes: [https://bugs.freedesktop.org/show_bug.cgi?id=100374](https://bugs.freedesktop.org/show_bug.cgi?id=100374)
> > >
> > > ---
> > >
> > > As a side note, I observed that sometimes the modem replies with error
> > > code
> > >
> > >     6A86 - Incorrect parameters
> > >
> > > when #QSS: 3 has not been received yet. This seems to be a modem's bug
> > > because the very same request is accepted as correct when issued later,
> > > namely when the SIM is ready.
> > >
> > 

On my list of things to log further, but I've also seen (probably, I think, with SIM PIN enabled) those kind of +CSIM errors


More information about the ModemManager-devel mailing list