Multiple instances of libqmi
Aleksander Morgado
aleksander at aleksander.es
Tue Feb 27 09:35:48 UTC 2018
Hey,
>
>
>
> Wanted to know if it is possible to create multiple instances of libqmi, if multiple modems are used in a system - One instance for each modem.
>
>
>
> OR is it that one modem will be associated with one QmiDevice?
>
>
>
> Can someone kindly provide some inputs on this?
>
>
When you create a QmiDevice you need to provide the control port of
the device you want to talk to, e.g. /dev/cdc-wdm0. Each QMI modem
will expose one or more /dev/cdc-wdmX control ports, so you can talk
to multiple modems in parallel just by creating a QmiDevice associated
to each of the control ports in the system.
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list