[ Version ( since = "1.0" ) ]
public Bearer connect_sync (SimpleConnectProperties properties, Cancellable? cancellable = null) throws Error
Synchronously requests to connect the modem using the given properties.
The calling thread is blocked until a reply is received. See connect for the asynchronous version of this method.
| this |
A ModemSimple. |
| properties |
A SimpleConnectProperties bundle. |
| cancellable |
A Cancellable or null. |
|
A Bearer, or false if throws is set. The returned value must be freed with unref . |