from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SubnetCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("subnet", core, parent)
[docs]
def get_mask(self) -> bytes:
"""
``[SOURce<HW>]:BB:NR5G:HFB:ETHernet:IPADdress:SUBNet:MASK`` \n
Snippet: ``value: bytes = driver.source.bb.nr5G.hfb.ethernet.ipAddress.subnet.get_mask()`` \n
Defines the subnet mask of the baseband board that real-time feedback uses.
Prerequisites for this command \n
- Select Ethernet feedback mode (method ``RsSmw.source.bb.nr5G.hfb.mode()`` ) .
"""
response = self._core.io.query_bin_block('SOURce<HwInstance>:BB:NR5G:HFB:ETHernet:IPADdress:SUBNet:MASK?')
return response