[ Version ( since = "1.0" ) ]
public bool disconnect_sync (string? bearer, Cancellable? cancellable = null) throws Error
Synchronously requests to disconnect the modem.
The calling thread is blocked until a reply is received. See disconnect for the asynchronous version of this method.
| this |
A ModemSimple. |
| bearer |
Path of the bearer to disconnect, or null to disconnect all connected bearers. |
| cancellable |
A Cancellable or null. |
|
true if the modem is successfully disconnected, false if throws is set. |