Source code for RsCmwBluetoothSig.Implementations.RxQuality_.IqDrange_.LowEnergy

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class LowEnergy: """LowEnergy commands group definition. 24 total commands, 2 Sub-groups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("lowEnergy", core, parent) @property def le1M(self): """le1M commands group. 4 Sub-classes, 0 commands.""" if not hasattr(self, '_le1M'): from .LowEnergy_.Le1M import Le1M self._le1M = Le1M(self._core, self._base) return self._le1M @property def le2M(self): """le2M commands group. 4 Sub-classes, 0 commands.""" if not hasattr(self, '_le2M'): from .LowEnergy_.Le2M import Le2M self._le2M = Le2M(self._core, self._base) return self._le2M def clone(self) -> 'LowEnergy': """Clones the group by creating new object from it and its whole existing sub-groups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group""" new_group = LowEnergy(self._core, self._base.parent) self._base.synchronize_repcaps(new_group) return new_group