Creating multiple clients with one QMI dev
aleksandermj at chromium.org
Tue Dec 6 13:13:38 UTC 2022
> Is it allowed to create one QMI device but have multiple clients?
> In other words, is this kinda code flow allowed with libqmi?
> qmi_device_allocate_client(dev, QMI_SERVICE_DMS, ....)
> qmi_device_allocate_client(dev, QMI_SERVICE_UIM, ....)
> qmi_device_allocate_client(dev, QMI_SERVICE_WDS, ....)
Of course it is yes, that is what ModemManager does really.
You can even have different clients for the same service (e.g. more
than one QmiClientWds) created from the same QmiDevice.
More information about the libqmi-devel