<div dir="ltr"><div><div><div>Hi Bjorn,<br></div>Thanks a lot for your help,<br></div>Adding --no-close solved the issue.<br></div><div><div><br>Regards,<br>A Sharma<br><br><div class="gmail_extra"><br><div class="gmail_quote">On 16 March 2015 at 14:16, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Abhishek Sharma <<a href="mailto:asharma.es@gmail.com">asharma.es@gmail.com</a>> writes:<br>
<br>
> Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=internet --no-open=5 --no-close'...<br>
<br>
Note the "--no-open=x --no-close" in the mbim-network commands...<br>
<br>
> India-ERS asharma # mbimcli -d /dev/cdc-wdm0 --query-connection-state<br>
<br>
This will close the session after executing the command. MBIM CLOSE<br>
implies cleaning up all state and resetting the modem to its initial<br>
state after boot. I.e., this will tear down any active connection etc.<br>
<br>
Actually it will probably close the connection *before* executing the<br>
command as well, beause it sends and MBIM OPEN. Which implies MBIM<br>
CLOSE.<br>
<br>
You need to use the "--no-open" and "--no-close" switches if you want to<br>
send commands related to an ongoing session without deleting that<br>
session.<br>
<span class=""><font color="#888888"><br>
<br>
<br>
<br>
<br>
Bjørn<br>
</font></span></blockquote></div><br></div></div></div></div>