LIBQMI APIs Response "Transaction timed out"

Aleksander Morgado aleksandermj at chromium.org
Mon Aug 14 13:18:11 UTC 2023


Hey,

On Mon, Aug 14, 2023 at 3:05 PM Sai Chaitanya <msaichaitanya at gmail.com> wrote:
>
> Thank you for your response.
> I have used four different clients DMS, WDS, NAS and UIM.
> When I allocate clients, I notice that same client ID is allocated for WDS and NAS
>
> DMS client allocated successfully with ID: 1
> WDS client allocated successfully with ID: 3
> NAS client allocated successfully with ID: 3
> UIM client allocated successfully with ID: 2
>
> 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.

That is not a problem. The client id is unique per service.

> 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.
>
> That is why I have shared a sample code, to understand if I am missing something fundamental regarding usage of the QMI APIs.

Ah, just saw the test app you shared. Will try to look at it at some point.

-- 
Aleksander


More information about the libqmi-devel mailing list