Cm data connect - no response

Hi, I have a MangOH green with 16.04. It has an active SIM (checked using cm radio) and correct apn (checked using cm data)…

however when I try can connect using cm data connect it just never responds. The legato Console shows the following message. How do I go about interpreting these?

I have also changed pdp to IPV4 only.

[quote]Jul 26 12:45:13 | Legato | =ERR= | modemDaemon[479]/le_pa T=main | pa_mdc_qmi.c StartSession() 1697 | Data connection failure Verbose Call End provided Type 6, Verbose 33
Jul 26 12:45:13 | Legato | =ERR= | modemDaemon[479]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 797 | Get Connection failure 11, 1018, 6, 33
Jul 26 12:45:27 | Legato | =ERR= | modemDaemon[479]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 768 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
Jul 26 12:45:27 | Legato | =ERR= | modemDaemon[479]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 768 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
Jul 26 12:45:28 | Legato | =ERR= | modemDaemon[479]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 768 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
Jul 26 12:45:28 | Legato | =ERR= | modemDaemon[479]/le_pa T=main | pa_mdc_qmi.c StartSession() 1686 | Data connection failure Call End provided 11, Code 1018
Jul 26 12:45:28 | Legato | =ERR= | modemDaemon[479]/le_pa T=main | pa_mdc_qmi.c StartSession() 1697 | Data connection failure Verbose Call End provided Type 6, Verbose 33
Jul 26 12:45:28 | Legato | =ERR= | modemDaemon[479]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 797 | Get Connection failure 11, 1018, 6, 33[/quote]

Thanks,
Karl

Never mind… my APN was wrong after all :open_mouth:

But is there a reference for all these error codes and messages anywhere to help debug things in the future?

Not really, but here the error that you’re getting is simply a timeout when the MDC ask the modem to connect to the network.
Luckily you found the problem which was the APN, but a weak or busy network connection, or a problem with the subscription, would likely have had the exact same effects.

You can get more details about error codes from Legato source code.

Example, from your log we can see the following error message:
le_mdc.c le_mdc_StartSession() 797 | Get Connection failure [color=#FF0000]11[/color], 1018, 6, 33

From “le_mdc.c” source file, in “le_mdc_StartSession()” function, we can see that the first value (“11” in this example) is defined in the “le_mdc_DisconnectionReason_t” enum:
legato.io/legato-docs/latest/le_ … ource.html

LE_MDC_DISC_REQUESTED_SERVICE_OPTION_UNSUBSCRIBED = 11, ///< cf. 3GPP 24.008 Annex I1
So, you have been disconnected from network due to “requested service option not subscribed” (this is the reason returned by the network).


Jay