> On 09 October 2017 at 10:30 Colin Helliwell wrote: > > > > On 09 October 2017 at 10:20 Aleksander Morgado 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. > > > > > > 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.
I've modified my patch for a later 'gtask oriented' Master version of MM (66dce6dacc440d8bfe4270562ef5a840c87e5a04 - Dec 5), which I'd like to re-offer for review/comment? (and inclusion?) As I write, it's almost working except two of the queries are sometimes returning "reference data not found" errors: AT+CSIM=10,"0020000100" -> 63C3 AT+CSIM=10,"002C000100" -> 63CA AT+CSIM=10,"0020008100" -> 6A88 AT+CSIM=10,"002C008100" -> 6A88 It seems to be some sort of timing issue (on the Cinterion EHS5) - sometimes I get all four responses successfully, sometimes one/other/both of the last two fail. I'll try to seek out any telling differences in the logs, but any thoughts as to what sequence/timing might cause this in the modem....? (varying registration time? SIM not fully initialized?) _______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
