Source code for RsCmwLteSig.Implementations.Sense.UeCapability.Meas.IrnGaps.Ufdd

from typing import List

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ......Internal.Types import DataType
from ......Internal.ArgSingleList import ArgSingleList
from ......Internal.ArgSingle import ArgSingle
from ...... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class UfddCls: """Ufdd commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("ufdd", core, parent)
[docs] def get(self, index: enums.OperatingBandD = None) -> List[bool]: """SCPI: SENSe:LTE:SIGNaling<instance>:UECapability:MEAS:IRNGaps:UFDD \n Snippet: value: List[bool] = driver.sense.ueCapability.meas.irnGaps.ufdd.get(index = enums.OperatingBandD.OB1) \n Returns a list of values indicating the need for downlink measurement gaps when operating on a specific E-UTRA band and measuring on a specific UTRA FDD band. The full list contains 32 times 256 values. Each block of 32 values corresponds to the UTRA FDD bands. The 256 repetitions correspond to the E-UTRA bands: {measured band: 1, 2, ... , 32}used band: user-defined, {measured band: 1, 2, ..., 32}used band: 1, ..., {measured band: 1, 2, ..., 32}used band: 255 Via the optional parameter <Index>, you can alternatively query the list for a single UTRA FDD band: {used band: user-defined, 1, 2, ..., 255}measured band <Index> \n :param index: OB1 | OB2 | ... | OB32 Selects the measured UTRA FDD band, for which the list is returned. :return: value: OFF | ON Without Index: 32 x 256 = 8192 values With Index: 256 values""" param = ArgSingleList().compose_cmd_string(ArgSingle('index', index, DataType.Enum, enums.OperatingBandD, is_optional=True)) response = self._core.io.query_str(f'SENSe:LTE:SIGNaling<Instance>:UECapability:MEAS:IRNGaps:UFDD? {param}'.rstrip()) return Conversions.str_to_bool_list(response)