Issue with Data service

Hi,
I am using Vodafone postpaid sim (APN : internet) in mangOH, no issue with network registration but data service is not working although data service is active and working good in my cellular mobile.
below i am sharing cm tool response:
root@swi-mdm9x15:~# cm radio status
Power: ON
Current Network Operator: TATA DOCOMO
RAT: UMTS network (LE_MRC_RAT_UMTS)
Status: Registered to a roaming network (LE_MRC_REG_ROAMING)
Signal: Good signal strength (3)

root@swi-mdm9x15:~# cm radio status
Power: ON
Current Network Operator: TATA DOCOMO
RAT: UMTS network (LE_MRC_RAT_UMTS)
Status: Registered to a roaming network (LE_MRC_REG_ROAMING)
Signal: Good signal strength (3)

root@swi-mdm9x15:~# cm data connect
no response and below is Legato trace
Sep 19 11:22:42 | Legato | modemDaemon[486]/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]
Sep 19 11:22:43 | Legato | modemDaemon[486]/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]
Sep 19 11:22:43 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1686 | Data connection failure Call End provided 7, Code 10
Sep 19 11:22:43 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1697 | Data connection failure Verbose Call End provided Type 6, Verbose 29
Sep 19 11:22:43 | Legato | modemDaemon[486]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 797 | Get Connection failure 7, 10, 6, 29
Sep 19 11:22:57 | Legato | modemDaemon[486]/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]
Sep 19 11:22:57 | Legato | modemDaemon[486]/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]
Sep 19 11:22:59 | Legato | modemDaemon[486]/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]
Sep 19 11:22:59 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1686 | Data connection failure Call End provided 7, Code 10
Sep 19 11:22:59 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1697 | Data connection failure Verbose Call End provided Type 6, Verbose 29
Sep 19 11:22:59 | Legato | modemDaemon[486]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 797 | Get Connection failure 7, 10, 6, 29
Sep 19 11:23:12 | Legato | modemDaemon[486]/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]
Sep 19 11:23:12 | Legato | modemDaemon[486]/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]
Sep 19 11:23:13 | Legato | modemDaemon[486]/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]
Sep 19 11:23:13 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1686 | Data connection failure Call End provided 7, Code 10
Sep 19 11:23:13 | Legato | modemDaemon[486]/le_pa T=main | pa_mdc_qmi.c StartSession() 1697 | Data connection failure Verbose Call End provided Type 6, Verbose 29
Sep 19 11:23:13 | Legato | modemDaemon[486]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 797 | Get Connection failure 7, 10, 6, 29

Please help me to find the issue.

Thanks

Hi Nila,

Seems like there is an authentication failure. Can you confirm whether the SIM allows data roaming?

cheers,
Ashish

Thanks Ashish. Yes you are correct. This is m2m sim and have private APN. this required CHAP authentication and i have configure the same using cm tool. Now it is working fine.

Thanks
Niladri

Hi,
facing an issue with data re-connection. It is happening every now and then. when the data connection break due to poor signal it is not recovering back even though i am trying to reconnect using le_data_Request api. below is the log which is repeating. After power cycle it will work good for a while. Please let me know what is the issue

Feb 7 07:37:38 | Legato | dcsDaemon[466]/dataConnectionService T=Data Thread | dcsServer.c TryStartDataSession() 998 | Could not save the default gateway
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]
Feb 7 07:37:38 | Legato | dcsDaemon[466]/dataConnectionService T=Data Thread | dcsServer.c AddNameserversToResolvConf() 653 | Set DNS ‘125.22.47.102’ '59.144.144.46’
Feb 7 07:37:38 | Legato | modemDaemon[469]/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]

Hi all,

I have also seen this problem, and the same error messages, very rarely but it has happened, so I’m also interested in the answer, and also I have a more general question which is, apart from using the le_data_Request() call, is there any other way of creating (and closing) a data connection ?

Hi Nila,

I’ll have to open a ticket on this item.

Regards,
Ashish

Hi Happytuna,
le_data_request() call would be your best for creating and closing the data connection.

regards,
Ashish

Hi all,

I too am experiencing the occasional data connection issue.
They are seemingly random - sometimes after a few minutes, though most often occurs after a number of days.

Firmware Version: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Framework Version: 16.10.1_aaeaccf56a618be69da2be9aad4a2a04_modified
Linux Version: 3.14.29ltsi-a00e464379_b0ce579abb #2 PREEMPT Wed Dec 7 20:56:58 PST 2016
Module: WP85

Unfortunately, I haven’t been able to capture a system log of when the issue first begins but what I do know is that my app releases the data connection but the interface never actually disconnects. When I connect to the system the log is continually updating with the messages as shown below:

May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 45, Code 1
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 2, Verbose 210
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 919 | Get Connection failure 45, 1, 2, 210
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
May 11 06:36:32 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c SetDefaultGateway() 1010 | Default gateway or interface is empty
May 11 06:36:32 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c LoadSelectedTechProfile() 786 | No value set for 'SSID'!
May 11 06:36:32 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStartWifiSession() 1633 | Impossible to use Wifi profile, result -1 (LE_NOT_FOUND)
May 11 06:36:32 | Legato |  DBUG | wifiService[633]/daemon T=main | le_wifiClient.c le_wifiClient_Disconnect() 1198 | Disconnect
May 11 06:36:32 | Legato |  INFO | modemDaemon[623]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
May 11 06:36:32 | Legato |  INFO | wifiService[633] | WIFICLIENT_DISCONNECT
May 11 06:36:32 | Legato | =ERR= | wifiService[633] | Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory
May 11 06:36:32 | Legato | =ERR= | wifiService[633]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Disconnect() 1041 | WiFi Client Command Failed: (24832)wlan0 WIFICLIENT_DISCONNECT
May 11 06:36:32 | Legato |  DBUG | wifiService[633]/framework T=main | le_wifiClient_server.c Handle_le_wifiClient_Disconnect() 1228 | Sending response to client session 0x27dcc : 4 bytes sent
May 11 06:36:32 | Legato | =ERR= | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStopWifiSession() 1851 | Impossible to disconnect wifi client
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 14, Code 2
May 11 06:36:32 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 3, Verbose 2000
May 11 06:36:35 | Legato | -WRN- | app[5175]/appCtrl T=main | appCtrl.c PrintedAppInfoFile() 744 | No /legato/systems/current/apps/wifiWebAp/info.properties file for app wifiWebAp.
May 11 06:36:37 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:37 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 45, Code 1
May 11 06:36:37 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 2, Verbose 210
May 11 06:36:37 | Legato | =ERR= | modemDaemon[623]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 919 | Get Connection failure 45, 1, 2, 210
May 11 06:36:37 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
May 11 06:36:37 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c SetDefaultGateway() 1010 | Default gateway or interface is empty
May 11 06:36:37 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c LoadSelectedTechProfile() 786 | No value set for 'SSID'!
May 11 06:36:37 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStartWifiSession() 1633 | Impossible to use Wifi profile, result -1 (LE_NOT_FOUND)
May 11 06:36:37 | Legato |  DBUG | wifiService[633]/daemon T=main | le_wifiClient.c le_wifiClient_Disconnect() 1198 | Disconnect
May 11 06:36:37 | Legato |  INFO | modemDaemon[623]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
May 11 06:36:37 | Legato |  INFO | wifiService[633] | WIFICLIENT_DISCONNECT
May 11 06:36:37 | Legato | =ERR= | wifiService[633] | Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory
May 11 06:36:37 | Legato | =ERR= | wifiService[633]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Disconnect() 1041 | WiFi Client Command Failed: (24832)wlan0 WIFICLIENT_DISCONNECT
May 11 06:36:37 | Legato |  DBUG | wifiService[633]/framework T=main | le_wifiClient_server.c Handle_le_wifiClient_Disconnect() 1228 | Sending response to client session 0x27dcc : 4 bytes sent
May 11 06:36:37 | Legato | =ERR= | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStopWifiSession() 1851 | Impossible to disconnect wifi client
May 11 06:36:38 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:38 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 14, Code 2
May 11 06:36:38 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 3, Verbose 2000
May 11 06:36:42 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:42 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 45, Code 1
May 11 06:36:42 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 2, Verbose 210
May 11 06:36:42 | Legato | =ERR= | modemDaemon[623]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 919 | Get Connection failure 45, 1, 2, 210
May 11 06:36:42 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
May 11 06:36:42 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c SetDefaultGateway() 1010 | Default gateway or interface is empty
May 11 06:36:42 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c LoadSelectedTechProfile() 786 | No value set for 'SSID'!
May 11 06:36:42 | Legato | -WRN- | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStartWifiSession() 1633 | Impossible to use Wifi profile, result -1 (LE_NOT_FOUND)
May 11 06:36:42 | Legato |  DBUG | wifiService[633]/daemon T=main | le_wifiClient.c le_wifiClient_Disconnect() 1198 | Disconnect
May 11 06:36:42 | Legato |  INFO | modemDaemon[623]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
May 11 06:36:42 | Legato |  INFO | wifiService[633] | WIFICLIENT_DISCONNECT
May 11 06:36:42 | Legato | =ERR= | wifiService[633] | Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory
May 11 06:36:42 | Legato | =ERR= | wifiService[633]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Disconnect() 1041 | WiFi Client Command Failed: (24832)wlan0 WIFICLIENT_DISCONNECT
May 11 06:36:42 | Legato |  DBUG | wifiService[633]/framework T=main | le_wifiClient_server.c Handle_le_wifiClient_Disconnect() 1228 | Sending response to client session 0x27dcc : 4 bytes sent
May 11 06:36:42 | Legato | =ERR= | dcsDaemon[615]/dataConnectionService T=main | dcsServer.c TryStopWifiSession() 1851 | Impossible to disconnect wifi client
May 11 06:36:43 | Legato | =ERR= | modemDaemon[623]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 11 06:36:43 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 14, Code 2
May 11 06:36:43 | Legato | =ERR= | modemDaemon[623]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 3, Verbose 2000
...and so on

My App uses a cellular connection and I’ve explicitly set the technology ranks as follows:

le_data_SetTechnologyRank(0, LE_DATA_CELLULAR);
le_data_SetTechnologyRank(1, LE_DATA_WIFI);

However, from the system logs, it would appear as though the wifiService plays a part in the problem. My thought is it that at some point the dataConnectionService decides to fall-back and try the WiFi connection (which is not configured) and ends up in the perpetual state as seen in the system logs?

It prevents my app from establishing a data connection from here forth. I’ve tried checking for an active data connection, removing registration handlers and releasing the connection before requesting a new one but that doesn’t seem to work. Restarting the App resolves the issue. Also, stopping the running wifiService app causes my app to fault and restart which also resolves the issue.

I’ve tried removing the cellular antenna, SIM card in an attempt to instigate the fall-back to the second rank technology (WiFi) to no avail.

I wasn’t able to find the source code for the wifiService. I’ve noticed these occasional system log entries when the system is running without issue:

May 12 03:21:17 | Legato |  INFO | wifiService[558] | WIFICLIENT_DISCONNECT
May 12 03:21:17 | Legato | =ERR= | wifiService[558] | Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory
May 12 03:21:17 | Legato | =ERR= | wifiService[558]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Disconnect() 1041 | WiFi Client Command Failed: (24832)wlan0 WIFICLIENT_DISCONNECT
May 12 03:21:17 | Legato |  DBUG | wifiService[558]/framework T=main | le_wifiClient_server.c Handle_le_wifiClient_Disconnect() 1228 | Sending response to client session 0x27dcc : 4 bytes sent
May 12 03:21:17 | Legato | =ERR= | dcsDaemon[523]/dataConnectionService T=main | dcsServer.c TryStopWifiSession() 1851 | Impossible to disconnect wifi client
May 12 03:21:18 | Legato |  INFO | modemDaemon[527]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 45, Code 1
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 2, Verbose 204

Any thoughts on what could be causing this? Perhaps there’s a race conditon when the system is sevicing whatever is causing those system log messages to appear while my app is requesting a connection or is already connected?

Cheers,
Raf

Hey Raf,
I am having the same error as ours when I try to connect my module:

May 12 03:21:18 | Legato | INFO | modemDaemon[527]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/le_pa T=main | pa_mdc_qmi.c StartSession() 1690 | Data connection failure Call End provided 45, Code 1
May 12 03:21:20 | Legato | =ERR= | modemDaemon[527]/le_pa T=main | pa_mdc_qmi.c StartSession() 1701 | Data connection failure Verbose Call End provided Type 2, Verbose 204

Did you manage to solve the problem? It was working before but suddenly I am getting this error.
cheers,
Bob

Hi @BOB.

Is there anything else in your system log occurring before or after those entries you posted? There might some other clues in there.

Some other considerations:

  • How often are you attempting the data connections?
  • Has anything changed physically in your setup?
  • Did the errors start appearing after a change in any software running on the module?
  • How long do estimate your system runs (continuously) before you notice these errors?
  • How are you powering the mangOH board? Via the DC-in connector (CN1200) or solely via USB? I remember reading of connection issues when powering the module via USB.
  • What is the signal strength of your module? - Could be worth checking this periodically and writing to the system log.

As far as solving the problem goes, it’s still a little early to be certain but I haven’t logged a single connection error over the past 6-7 days on my test system.

However, a few things have changed since my last post:

  1. Moved from the mangOH board to a custom PCB. Antenna type changed to a right-angle stub penta-band SMA, 0dB gain. Signal strength is still reported as ‘Good’ (3) - no change here.
  2. Re-enabled autosleep and stopped devMode. Module now enters USB-SS mode. Previously I had disabled this.
  3. Stopped wifiService by setting the config tree parameter startManual: true
  4. Set the modem PDP context to IPv4 only (was IPv4 and IPv6)

Cheers,
Raf

Do you remember what the command for this is? I can find it anywhere and I keep getting the “Default gateway or Interface is empty” message.

Hi @angus1357

The command is cm data pdp IPV4

Thanks for the guidance its really knowledgeable discussion.