Issues with mbimcli

Bjørn Mork bjorn at mork.no
Mon Mar 16 01:46:28 PDT 2015


Abhishek Sharma <asharma.es at gmail.com> writes:

> Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=internet --no-open=5 --no-close'...

Note the "--no-open=x --no-close" in the mbim-network commands... 

> India-ERS asharma # mbimcli -d /dev/cdc-wdm0 --query-connection-state

This will close the session after executing the command.  MBIM CLOSE
implies cleaning up all state and resetting the modem to its initial
state after boot.  I.e., this will tear down any active connection etc.

Actually it will probably close the connection *before* executing the
command as well, beause it sends and MBIM OPEN.  Which implies MBIM
CLOSE.

You need to use the "--no-open" and "--no-close" switches if you want to
send commands related to an ongoing session without deleting that
session.





Bjørn


More information about the libmbim-devel mailing list