Creating multiple clients with one QMI dev

Aleksander Morgado aleksandermj at chromium.org
Tue Dec 6 14:18:48 UTC 2022


>
> Ok, thanks for the quick reply, but does it mean that I cannot use the same client for different calls?
> something like this for example?
>
> client_cb(...)
> {
> ....
> qmi_client_dms_swi_get_current_firmware(...
> qmi_client_dms_get_operating_mode(...
> ....
> }
> qmi_device_allocate_client(dev, QMI_SERVICE_DMS, ...., client_cb,..)
>
>

You can of course use the same client for different parallel
operations, there is no issue there. Requests/responses for a specific
client ID are matched properly in the QmiDevice.

-- 
Aleksander


More information about the libqmi-devel mailing list