<div dir="ltr">Hi,<br><br>We are seeing timeouts with different LIBQMI APIs on Sierra modems.<div>I have attached a sample test app and am waiting for your kind inputs.</div><div>I have been able to reproduce the issue very frequently with this test app run on Linux host with Sierra modem connected via RED mangOH board.</div><div><br>Regards,</div><div>Sai.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 14, 2023 at 3:18 PM Aleksander Morgado <<a href="mailto:aleksandermj@chromium.org">aleksandermj@chromium.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey,<br>
<br>
On Mon, Aug 14, 2023 at 3:05 PM Sai Chaitanya <<a href="mailto:msaichaitanya@gmail.com" target="_blank">msaichaitanya@gmail.com</a>> wrote:<br>
><br>
> Thank you for your response.<br>
> I have used four different clients DMS, WDS, NAS and UIM.<br>
> When I allocate clients, I notice that same client ID is allocated for WDS and NAS<br>
><br>
> DMS client allocated successfully with ID: 1<br>
> WDS client allocated successfully with ID: 3<br>
> NAS client allocated successfully with ID: 3<br>
> UIM client allocated successfully with ID: 2<br>
><br>
> I am not sure if this is an issue. It is hard to say, since it works fine most of the time, though the same ID is assigned to two different services.<br>
<br>
That is not a problem. The client id is unique per service.<br>
<br>
> But sometimes, the program either timesout or gets stuck for a long time in qmi-endpoint-qmux.c->input_ready_cb()->g_unix_input_stream_read()->g_poll(), as show by my gdb trace.<br>
><br>
> That is why I have shared a sample code, to understand if I am missing something fundamental regarding usage of the QMI APIs.<br>
<br>
Ah, just saw the test app you shared. Will try to look at it at some point.<br>
<br>
-- <br>
Aleksander<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"> </div>