Hi Aleksander,

> >
> > > 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
ModemManager[2541]: <debug> [1595452452.512754] [modem0/ttyACM0/at]
device open count is 0 (close)
ModemManager[2541]: <debug> [1595452452.512789] [modem0/ttyACM0/at]
closing serial port...
ModemManager[2541]: <debug> [1595452452.514960] [modem0/ttyACM0/at]
serial port closed

MM doesn't seem to get the OK if it is immediately followed by an URC,
and this is the case for both CFUN=4 and CFUN=1.
What can I do to fix it?

> > >
> > > Instead of CFUN=4/1 also COPS=2/0 could be used, but I prefer the former.
> > >

I have also tried this, except that the modem I am using is annoying,
because on AT+CFUN=0 takes a lot of time.
I would therefore prefer to use AT+CFUN.

Regards,
Giacinto
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to