reset_sync


Description:

[ Version ( since = "1.0" ) ]
public bool reset_sync (Cancellable? cancellable = null) throws Error

Synchronously clears non-persistent configuration and state, and returns the device to a newly-powered-on state.

The calling thread is blocked until a reply is received. See reset for the asynchronous version of this method.

Parameters:

this

A Modem.

cancellable

A Cancellable or null.

Returns:

true if the reset was successful, false if error is set.