qmicli command to kill a connection indiscriminately?

Bjørn Mork bjorn at mork.no
Tue Aug 23 19:56:03 UTC 2016


The ctl sync message should kill anything and everything. 


Bjørn

On August 23, 2016 9:42:24 PM CEST, Evade Flow <evadeflow at gmail.com> wrote:
>Is there a 'rude' `qmicli` command (or sequence of commands) I can use
>to
>just kill *any* existing connection, without needing to know the client
>ID
>and/or packet data handle? I'm writing a really quick-and-dirty
>modem-juggling script, and I'd rather avoid saving any state, if
>possible.
>
>In a perfect world, this would "just do it" and not give me an error:
>
>```
>$ qmicli -p -d /dev/cdc-wdm0 --wds-stop-network
>error: Missing argument for --wds-stop-network
>```
>
>I noticed `qmi-network` saves off a 'state file' containing the client
>ID
>and packet data handle, so perhaps this isn't possible. Just figured I
>should ask before going down the state-saving path...
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel



More information about the libqmi-devel mailing list