cinterion: modification to fetching unlock retries

Colin Helliwell colin.helliwell at ln-systems.com
Mon Oct 9 09:30:43 UTC 2017


> On 09 October 2017 at 10:20 Aleksander Morgado <aleksander at aleksander.es> wrote:
> 
> > > Some Cinterion modems support AT^SPIC to fetch the 'unlock retries', but
> > > some don't. Another method possibly available is to used AT+CSIM (as per
> > > Telit plugin).
> > > This aims to allow either method to be tried - if the first step of the
> > > first method fails (e.g. SPIC not supported), then try again using the
> > > alternate.
> > > I did wonder about a single array of commands but that would have meant
> > > hard-coding in a 'goto' to get from A to B, hence prone to future changes
> > > breaking it.
> > > 
> > > Bit more checking required yet, but at first glance it looks like basically
> > > works.
> > > I'm not sending this as a patch here, but just to get views on (or
> > > objections to!) the general approach.
> > 
> > https://lists.freedesktop.org/archives/modemmanager-devel/2017-April/004550.html
> > 
> > Hi, I just wondered if there was any appetite for re-visiting this issue. The latest 'GTask' rework to the plugin means I'll need to redo accordingly the patch I've been using - but thought I'd enquire before embarking on that.
> 
> You're talking about the parallel enables issue, or using AT^SPIC to
> fetch unlock retries?
> What patch are you currently using, could you share it somewhere?
> 

Sorry - pasted the wrong URL! See instead: https://lists.freedesktop.org/archives/modemmanager-devel/2017-April/004485.html
I didn't get to a point where I thought my patch would be mainstream-acceptable (it just 'works for me'), but I can post in entirety if necessary. It's essentially as per my original post in the thread.


More information about the ModemManager-devel mailing list