Common.Factory

command message olympe.messages.common.Factory.Reset(_timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

common.Factory.Reset

This command will request a factory reset from the prodcut. The factory reset procedure implies an automatic reboot, which will be done immediately after receiving this command.

Parameters:

_timeoutint

command message timeout (defaults to 10)

_no_expectbool

if True, do not expect the usual command expectation (defaults to False)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

ANAFI:

with an up to date firmware

ANAFI Thermal:

with an up to date firmware

Result: The product will reboot, all settings will be reset to their default values. All data on the product will also be erased.