<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style></head>
<body>
<font size="2"><div class="PlainText">Hi Aleks,<br>
<br>
Thank you for your support .<br>
<br>
Given that our client uses various modems from different vendors, we believe using mbimcli for all configurations could be the best solution.<br>
<br>
We plan to propose this approach to our client and appreciate your ongoing guidance.<br>
<br>
Best regards<br>

<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL">
<TABLE style="WIDTH: 700px; MARGIN: 1px" cellSpacing=1 cellPadding=1>
  <TBODY>
  <TR>
    <TD 
    style="FONT-SIZE: 11pt; HEIGHT: 25px; FONT-FAMILY: Arial; WIDTH: 700px; PADDING-BOTTOM: 0px" 
    vAlign=top><FONT color=#c51e88><FONT style="FONT-SIZE: 11pt" 
      face=Roboto>Borja Gabella</FONT><BR></FONT><SPAN 
      style="FONT-SIZE: 10pt"><FONT color=#525252><SPAN 
      style="FONT-FAMILY: Roboto">Technical Manager</SPAN></FONT></SPAN></TD></TR>
  <TR>
    <TD style="FONT-SIZE: 9pt; HEIGHT: 25px; FONT-FAMILY: Arial" 
      vAlign=top><SPAN style="FONT-FAMILY: Roboto"><FONT color=#bababa><FONT 
      style="FONT-SIZE: 9pt" color=#c51e88>M:</FONT> <FONT 
      color=#9a9a9a>+34 600533175</FONT> <FONT style="FONT-SIZE: 9pt" 
      color=#c51e88>T:</FONT> <FONT color=#9a9a9a>+34 932633354</FONT> <FONT 
      style="FONT-SIZE: 9pt" color=#c51e88>D:</FONT> </FONT><FONT 
      color=#9a9a9a>Francesc Moragas, 74 Nave 4 y 5, L'Hospitalet de Llobregat 08907<SPAN 
      style="FONT-SIZE: 9pt"></SPAN></FONT></SPAN></TD></TR>
  <TR>
    <TD style="FONT-SIZE: 9pt; HEIGHT: 26px; FONT-FAMILY: Arial" vAlign=top><A 
      href="https://www.vencoel.com/?utm_source=codetwo&utm_medium=email&utm_campaign=web&utm_term=venco&utm_content=enlace" 
      target=_blank><FONT title="" color=#9a9a9a><SPAN 
      style="FONT-FAMILY: Roboto"><SPAN style="FONT-SIZE: 8pt"><SPAN 
      style="FONT-SIZE: 10pt"><SPAN title="" 
      style="FONT-SIZE: 9pt">www.vencoel.com</SPAN></SPAN></SPAN></SPAN></FONT></A><STRONG> <FONT 
      color=#c51e88>|</FONT> </STRONG><FONT color=#c51e88><SPAN 
      style="FONT-FAMILY: Roboto"><A 
      href="https://www.vencoel.com/blog/?utm_source=codetwo&utm_medium=email&utm_campaign=blogandvolts&utm_term=venco&utm_content=enlace"><FONT 
      title="" color=#9a9a9a>www.vencoel.com/blog/</FONT></A><STRONG> | 
      </STRONG><A 
      href="https://www.linkedin.com/company/venco-electronica/"><FONT 
      color=#9a9a9a>linked-in</FONT></A> | <A 
      href="https://www.vencoel.com/politica-de-privacidad/?utm_source=codetwo&utm_medium=email&utm_campaign=privacidad&utm_term=venco&utm_content=enlace"><FONT 
      color=#9a9a9a>Pol&#xED;tica de 
privacidad</FONT></A></SPAN></FONT></TD></TR></TBODY></TABLE></P><br>
-----Mensaje original-----<br>
De: Aleksander Morgado <aleksandermj@chromium.org> <br>
Enviado el: viernes, 7 de julio de 2023 8:12<br>
Para: Borja Gabella <bgabella@vencoel.com><br>
CC: modemmanager-devel@lists.freedesktop.org; Iker Milikua Azpitarte <imilikua@vencoel.com><br>
Asunto: Re: mbim cli - Telit LN920A connection process take more than 5 minutes<br>
<br>
Hey Borja!<br>
<br>
><br>
><br>
> I am reaching out to discuss a critical situation we are facing with the LN920A module fw version M0L.010002 and  mbimcli tool.<br>
><br>
><br>
><br>
> We have encountered connectivity problems with Telit LN920A module when it is connected to a MNO in Japan. The connection process takes more than 5 minutes, which is significantly longer than expected.<br>
><br>
> Please find enclosed the logs of the tests performed by the customer in their device using mbimcli (Customer-Testmbimb1.22).<br>
><br>
> We have performed tests using a PPP connection in the device of the customer, and the results have shown that the registration process is fast and efficient. We have attached the PPP log files (PPP_logs) for your reference.<br>
><br>
><br>
><br>
> Additionally, we have conducted tests with Telit Evaluation Kit in <br>
> different location using mbimcli version 1.24, and the results have <br>
> been successful. The connection process proceeded smoothly without any <br>
> delays or issues. This further indicates that the problem may be <br>
> specific to the customer's network environment or configuration. <br>
> (Telit-Test-mbim1.24.24.log)<br>
><br>
><br>
><br>
> We appreciate your assistance in helping us identify the root cause of the prolonged connection time issue and finding a resolution. Please let us know if you require any further information or if there are any specific tests or diagnostics that you would like us to perform.<br>
><br>
><br>
<br>
<br>
Looks like the tool is configuring the PDP context #1 explicitly. This setting is taken as the initial EPS bearer settings the modem will use during registration (i.e. attach APN).<br>
<br>
0206 000247.019 P27912[Thread3G_0] - SendReceiveATCommand OK [AT+CGDCONT=1,"IP","mmtmobile.jp"] - [OK]<br>
0206 000247.019 P27912[Thread3G_0] - Thread3G: APN:[mmtmobile.jp] successfully configured!<br>
<br>
And then launching the connection attempt via mbimcli:<br>
<br>
0206 000333.774 P27912[Thread3G_0] - CIkusNetApp::ExecExternalProcess:<br>
Executing cdc_dev="/dev/$(ls $(realpath<br>
/sys/class/net/wwan1)/../../usbmisc/)"; mbimcli -d $cdc_dev --connect=apn='mmtmobile.jp',session-id=0,username='nipponsim@dhacorp',password='dhacorp',auth='CHAP'<br>
--no-close --no-open=4...<br>
error: operation failed: Failure<br>
<br>
The settings in the MBIM connection attempt differ from the ones in the attach settings. The APN is the same, but the MBIM attempt has user/pass, which were not configured via AT commands. Given that the settings mismatch, it is very likely that the MBIM connection attempt is launching a new PDP context activation, instead of reusing the one performed during the attach. If this takes a very long time to complete, it could also be because the modem supports only one single active PDN connection, so when you launch the new MBIM connection attempt with different settings, the modem may actually be unregistering from the network and trying to register again with the new settings (modems without the single PDN connection may not be affected by this flow).<br>
<br>
In order to solve this, you can try several things, the purpose of all of them is to ensure the attach and connect settings are equal.<br>
<br>
1) Not only configure the APN with +CGDCONT, but also the user/pass with AT#PDPAUTH=1,2,... This should make the settings match when the MBIM connection is launched.<br>
<br>
2) Use MBIM also to configure the lte attach settings, but I've just realized there is no mbimcli support for this yet, only to query (--ms-query-lte-attach-configuration). We would need to update mbimcli to support this. ModemManager does support setting the lte attach settings via MBIM.<br>
<br>
Trying to use AT for some things and MBIM for others, as in this case, could cause weird things as you're seeing :/<br>
<br>
--<br>
Aleksander<br>
</div></font>
</body>
</html>