Source code for RsCMX_Signaling.Implementations.Signaling.Ue.DcMode

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
from .... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class DcModeCls: """DcMode commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("dcMode", core, parent) # noinspection PyTypeChecker
[docs] def fetch(self) -> enums.DcMode: """SCPI: FETCh:SIGNaling:UE:DCMode \n Snippet: value: enums.DcMode = driver.signaling.ue.dcMode.fetch() \n Queries the dual connectivity mode. Checking this mode is especially useful when setting up NSA connections, to see whether the connection setup is complete (mode EN-DC reached, connected to LTE and NR) . \n :return: dc_mode: No help available""" response = self._core.io.query_str(f'FETCh:SIGNaling:UE:DCMode?') return Conversions.str_to_scalar_enum(response, enums.DcMode)