<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using Solidrun’s clearfog-base plarform with Sierra Wireless EM7430 LTE chipset. I’m running OpenWRT 18.06 with ModemManager feed from
<a href="https://gitlab.freedesktop.org/mobile-broadband/mobile-broadband-openwrt">
https://gitlab.freedesktop.org/mobile-broadband/mobile-broadband-openwrt</a> which pulls in libqmi as well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed that qmicli is slow compared to mmcli or even AT commands read from the modem. For example:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It takes around 160ms for qmicli to produce result (or exit?). I noticed this when I had 4-5 qmicli commands in one script and can observe noticeable slowness.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please advise what could be going wrong?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root@OpenWrt:/# time qmicli -d /dev/cdc-wdm0 -p --dms-uim-get-imsi<o:p></o:p></p>
<p class="MsoNormal">[/dev/cdc-wdm0] UIM IMSI retrieved:<o:p></o:p></p>
<p class="MsoNormal"> IMSI: '405861062273068'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">real 0m0.151s<o:p></o:p></p>
<p class="MsoNormal">user 0m0.016s<o:p></o:p></p>
<p class="MsoNormal">sys 0m0.000s<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root@OpenWrt:/# time mmcli -i 0<o:p></o:p></p>
<p class="MsoNormal"> ---------------------------<o:p></o:p></p>
<p class="MsoNormal"> General | dbus path: /org/freedesktop/ModemManager1/SIM/0<o:p></o:p></p>
<p class="MsoNormal"> ---------------------------<o:p></o:p></p>
<p class="MsoNormal"> Properties | imsi: 405861062273068<o:p></o:p></p>
<p class="MsoNormal"> | iccid: 89918610500008980672<o:p></o:p></p>
<p class="MsoNormal"> | operator id: 405861<o:p></o:p></p>
<p class="MsoNormal"> | operator name: Jio 4G<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">real 0m0.024s<o:p></o:p></p>
<p class="MsoNormal">user 0m0.020s<o:p></o:p></p>
<p class="MsoNormal">sys 0m0.000s<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root@OpenWrt:/# time chat -t 1 -V '' AT+CIMI OK\\r < "/dev/ttyUSB2" > "/dev/ttyUSB2"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">405861062273068<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OK<o:p></o:p></p>
<p class="MsoNormal">real 0m 0.08s<o:p></o:p></p>
<p class="MsoNormal">user 0m 0.00s<o:p></o:p></p>
<p class="MsoNormal">sys 0m 0.00s<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Amol<o:p></o:p></p>
</div>
<font color="#9a9a9a"><font style="FONT-SIZE: 8pt" face="Arial">
<hr style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information
or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return
email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any
action or lack of action taken in reliance on it).</font> </font>
</body>
</html>