LTE attach settings - CFUN
Aleksander Morgado
aleksander at aleksander.es
Thu Jul 23 06:16:35 UTC 2020
> > > > I will have to run the following sequence:
> > > > - go in AT+CFUN=4 (airplane mode with SIM connected). This is
> > > > necessary because the CID might be locked or not taken into account
> > > > immediately (in case there is an attach attempt ongoing).
> > > > - set AT+CGDCONT for the right CID (normally 1)
> > > > - set AT^SGAUTH for the same CID
> > > > - go back to AT+CFUN=1.
> > > >
>
> I am implementing this sequence, and will submit soon (I hope), but I
> am stepping into a problem with CFUN:
>
> ModemManager[2541]: <debug> [1595452432.501830] [modem0/ttyACM0/at]
> --> 'AT+CFUN=1<CR>'
> ModemManager[2541]: <debug> [1595452432.533882] [modem0/ttyACM0/at]
> <-- '<CR><LF>OK<CR><LF><CR><LF>^SYSSTART<CR><LF>'
> ModemManager[2541]: <debug> [1595452452.512543] [modem0] (cinterion)
> error in step = 5
Maybe you should add a regex to ignore the ^SYSSTART URC. But it's a
bit strange I must say, would need to look at the code, because the
kind of errors we get with URCs is when the URCs get interleaved
before the OK.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list