Security Edition feature

event message olympe.messages.security_edition.capabilities(supported_capabilities=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

security_edition.capabilities

Capabilities

Parameters:

supported_capabilitiesBitfieldOf(olympe.enums.security_edition.supported_capabilities, u16)

Supported capabilities.

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_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:

for firmware release versions 1.7.0

ANAFI Thermal:

for firmware release versions 1.7.0

Triggered: At connection only.

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

security_edition.deactivate_logs

Deactivate logs.

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:

for firmware release versions 1.7.0

ANAFI Thermal:

for firmware release versions 1.7.0

Result: Log storage is disabled: the drone won’t log anything. The log storage stay disabled for the session, and will be enabled again at the next restart. Event log_storage_state() is triggered.

Expectations: log_storage_state(_policy='wait')

event message olympe.messages.security_edition.log_storage_state(log_storage_state=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

security_edition.log_storage_state

Log storage state

Parameters:

log_storage_stateolympe.enums.security_edition.log_storage_state

Logs state.

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_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:

for firmware release versions 1.7.0

ANAFI Thermal:

for firmware release versions 1.7.0

Triggered: At connection; on changes.

enum olympe.enums.security_edition.list_flags

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages

First:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (0)

Last:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (1)

Empty:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (2)

Remove:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (3)

enum olympe.enums.security_edition.log_storage_state

Log storage state.

Enum aliases:

disabled:

Log storage is disabled (0)

enabled:

Log storage is enabled (1)

enum olympe.enums.security_edition.supported_capabilities

Supported capabilities

deactivate_logs:

Possibility to deactivate the logs (0)