<div dir="ltr"><div>Hello,</div><div>I have some doubts after checking your response:</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>>> >> In our case we have switched the modem to mbim mode to be able to receive / be aware of sim removal notifications.<br>>>>> >><br>>>>><br>>>>> > Didn't we already add the SIM removal notifications in QMI modems?<br>>>>> > Have you tried with ModemManager git master recently?<br>>>>><br>>>><br>>>> Since which version are SIM removal notifications active for QMI modems ?  I am not sure if our system will support the latest MM release.<br>>>> Is it ModemManager 1.16.0 ? <a href="https://github.com/freedesktop/ModemManager/blob/master/NEWS#L111">https://github.com/freedesktop/ModemManager/blob/master/NEWS#L111</a><br>>>><br>>><br>>>You can try with 1.16.0 or 1.16.2, yes.<br></blockquote><div><br></div><div>As I am using Yocto and it seems it just supports MM until 1.12.12 I believe I will need to wait to use this functionality with QMI. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>><br>>>>><br>>>>> >> Are QMI WDS indications still received when modem is in MBIM mode?<br>>>>> >><br>>>>><br>>>>> > No, but you would get "Basic Connect" "Connect" "Notification"<br>>>>> > messages, or at least that's what should happen when network-initiated<br>>>>> > disconnections happen.<br>>>><br>>>><br>>>> I am not sure I understand this correctly, what is the notification received when modem gets disconnected ? Is it a "Disconnected" notification or just a transition from "Connected" to "Registered" ?<br>>>><br>>><br>>>If using the MBIM protocol, what you receive upon a network-initiated<br>>>disconnection would be a "Notification" of type "Connect" (that's just<br>>>the message name) in the "Basic Connect" service specifying that the<br>>>"activation state" field is "deactivated"<br>>><br>>>See <a href="https://www.freedesktop.org/software/libmbim/libmbim-glib/latest/libmbim-glib-Basic-Connect.html#mbim-message-connect-notification-parse">https://www.freedesktop.org/software/libmbim/libmbim-glib/latest/libmbim-glib-Basic-Connect.html#mbim-message-connect-notification-parse</a><br></blockquote><div><br></div><div>My modem (EM7455) is using MBIM protocol but I am controlling it with Modem Manager, not with mbim-glib.<br></div><div>Question here: Does this imply that I need to use mbim-glib to be aware of these notifications ? Is it not possible to be aware of this notifications via ModemManager High-level API ? </div><div><a href="https://www.freedesktop.org/software/ModemManager/doc/latest/libmm-glib/">https://www.freedesktop.org/software/ModemManager/doc/latest/libmm-glib/</a></div><div>   </div></div>Thank you. <br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Best regards,</div><div>Alejandro Vega</div></div></div></div>