MM 1.14.2: Question about bearer disconnect

Girish Mahadevan girish_mahadevan at trimble.com
Fri Oct 30 21:34:41 UTC 2020


Hi

We're running 1.14.2 on a Cinterion (PLS62W) module.

The modem is connected for a while and suddenly loses registration
causing MM to start a forced disconnect of the bearer, but the attempt
at disconnection fails.

Oct 29 22:11:24.709516 ModemManager[530]: <info>  [1604009484.709151]
[modem0] state changed (connected -> disconnecting)
Oct 29 22:11:24.768445 ModemManager[530]: <debug> [1604009484.768058]
[modem0/bearer0] sending PDP context deactivation in primary port...
Oct 29 22:11:24.772352 ModemManager[530]: <debug> [1604009484.771977]
[modem0/ttyACM1/at] device open count is 2 (open)
Oct 29 22:11:24.777015 ModemManager[530]: <debug> [1604009484.776642]
[modem0/ttyACM1/at] --> 'AT+CGACT=0,1<CR>'
Oct 29 22:11:24.966486 ModemManager[530]: <debug> [1604009484.965979]
[modem0/ttyACM1/at] <-- '<CR><LF>+CME ERROR: 202<CR><LF>'
Oct 29 22:11:24.968238 ModemManager[530]: <debug> [1604009484.967858]
[modem0/ttyACM1/at] invalid mobile equipment error code: 202
Oct 29 22:11:24.970829 ModemManager[530]: <debug> [1604009484.970446]
[modem0/ttyACM1/at] operation failure: 100 (Unknown error)
Oct 29 22:11:24.971581 ModemManager[530]: <debug> [1604009484.971142]
[modem0/bearer0] PDP context deactivation failed (not fatal): Unknown
error
Oct 29 22:11:24.973145 ModemManager[530]: <debug> [1604009484.972774]
[modem0/bearer0] reopening data port ttyACM0...
Oct 29 22:11:24.973759 ModemManager[530]: <debug> [1604009484.973331]
[modem0/ttyACM0/at] reopening port (1)
Oct 29 22:11:24.974182 ModemManager[530]: <debug> [1604009484.973840]
[modem0/ttyACM0/at] device open count is 0 (close)
Oct 29 22:11:24.974661 ModemManager[530]: <debug> [1604009484.974316]
[modem0/ttyACM0/at] closing serial port...

Subsequent attempts to connect the bearer fails with this error:
GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Bearer
currently being disconnected

My question is if the bearer disconnect fails (AT+CGACT) fails then
does that leave the bearer state machine in "Disconnecting" state ?
Hence preventing future attempts to connect the bearer ?
If so, how does one get out of this state ?

Best Regards
Girish




-- 
--
Girish Mahadevan
Firmware Engineer
10368 Westmoor Drive | Westminster, CO 80021


More information about the ModemManager-devel mailing list